Bug#604192: os-prober: Won't detect MacOS 9

2010-11-22 Thread Mathias Wittau
I am not a developer myselve, but discussed the following issue with a 
developer who asked me to at least inform you about my thought.


If I understood the patch, which is presented here, correctly, you 
search with the following lines:


-if [ -e $dir/System Folder/System ]; then
+if [ -e $mpoint/System Folder/System ]; then

about a file called System inside the directory System Folder

Well that will maybe only partially solve the problem, as this System 
Folder is called in every language differently.


In german language it is called Systemordner and I expect it in every 
language to be differently. To understand that correctly, MacOS 9 has no 
possibility to easyly swith the OS languge. UTF was not implemented at 
OS-level. Every MacOS was delivered only (!) in one language. So you 
will not detect a System Folder at any german, french, spanish, 
japanese etc. system, ... Even the OS does not work if the System 
Folder is not present in the locale language. I sometimes had this 
problem when using english software which expects an english System 
Folder.
I checked at my Debian installation right now, the System Folder is 
indeed called Systemordner in german language - even from within Debian.



So maybe this patch only solves the os-prober questions for english 
language?


Here is a list of every language of the different MacOS 9.2.2s
http://docs.info.apple.com/article.html?artnum=75186

If I am right, and if noone has a better idea - what I do not expect ;) 
- I can offer to try to find the right names of the System Folders in 
every of the existing 16 languages, to simply reply that code above?










--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ceb1176.4050...@lnxnt.org



Processed: Bug#604192: os-prober: Won't detect MacOS 9

2010-11-20 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 604192 patch
Bug #604192 [os-prober] os-prober: Won't detect MacOS 9
Added tag(s) patch.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
604192: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604192
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.129031959514129.transcr...@bugs.debian.org



Bug#604192: os-prober: Won't detect MacOS 9

2010-11-20 Thread Milan Kupcevic
tags 604192 patch
thanks

os-prober wouldn't detect installed MacOS because it missed actual mount
point of the tested partition. Variable '$dir' was always empty.

diff -Nru ./os-probes/mounted/m68k/10macos6-9 ../os-prober-1.40/os-probes/mounted/m68k/10macos6-9
--- ./os-probes/mounted/m68k/10macos6-9	2010-02-10 18:06:57.0 -0500
+++ ../os-prober-1.40/os-probes/mounted/m68k/10macos6-9	2010-11-20 22:39:12.0 -0500
@@ -13,7 +13,7 @@
   hfsplus) debug Partition is HFS+ (Mac OS 9 only, we hope) ;;
 esac
 
-if [ -e $dir/System Folder/System ]; then
+if [ -e $mpoint/System Folder/System ]; then
   label=$(count_next_label MacOS)
   result ${partition}:Macintosh System 6/7, OS 8/9:${label}:chain
   exit 0
diff -Nru ./os-probes/mounted/powerpc/10macos6-9 ../os-prober-1.40/os-probes/mounted/powerpc/10macos6-9
--- ./os-probes/mounted/powerpc/10macos6-9	2010-02-10 18:06:57.0 -0500
+++ ../os-prober-1.40/os-probes/mounted/powerpc/10macos6-9	2010-11-20 22:39:58.0 -0500
@@ -13,7 +13,7 @@
   hfsplus) debug Partition is HFS+ (Mac OS 9 only, we hope) ;;
 esac
 
-if [ -e $dir/System Folder/System ]; then
+if [ -e $mpoint/System Folder/System ]; then
   label=$(count_next_label MacOS)
   result ${partition}:Macintosh System 6/7, OS 8/9:${label}:macos
   exit 0


signature.asc
Description: OpenPGP digital signature