Bug 104081 - fdisk does not detect MAC-filesystem
Summary: fdisk does not detect MAC-filesystem
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: PowerPC All
: P5 - None : Normal
Target Milestone: ---
Assignee: Mads Martin Joergensen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 11:29 UTC by Patrick Kirsch
Modified: 2005-09-05 12:20 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
fdisk filesystem mac (7.03 KB, text/x-diff)
2005-08-11 11:31 UTC, Patrick Kirsch
Details
util-linux-2.11q-fs_mac.diff (7.03 KB, text/x-patch)
2005-09-05 11:14 UTC, Patrick Kirsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Kirsch 2005-08-11 11:29:03 UTC
fdisk on mac prints: 
 
apple:~/tmp/fdisk # LANG= fdisk -l 
 
Disk /dev/sda: 9139 MB, 9139200000 bytes 
64 heads, 32 sectors/track, 8715 cylinders 
Units = cylinders of 2048 * 512 = 1048576 bytes 
 
Disk /dev/sda doesn't contain a valid partition table 
 
although there is 
 
->patch available
Comment 1 Patrick Kirsch 2005-08-11 11:31:02 UTC
Created attachment 45711 [details]
fdisk filesystem mac 

changes output with mac-fs to:

apple:~/tmp/fdisk # ./fdisk -l

	There is a valid MAC label on this disk.
	Unfortunately Linux cannot handle these
	disks at the moment.  Nevertheless some
	advice:
	1. fdisk will destroy its contents on write.
	2. Be sure that this disk is NOT a still vital
	   part of a volume group. (Otherwise you may
	   erase the other disks as well, if unmirrored.)
Comment 2 Mads Martin Joergensen 2005-08-11 12:02:59 UTC
Andreas, ok for 10.0?

Patrick, you've sent this to Adrian Bunk <bunk@stusta.de>?
Comment 3 Andreas Jaeger 2005-08-11 12:37:13 UTC
Ok for 10.0.
Comment 4 Mads Martin Joergensen 2005-08-11 12:51:30 UTC
SUbmitted for STABLE.
Comment 5 Patrick Kirsch 2005-08-11 13:02:00 UTC
yes i have sent it to  bunk@stusta.de  . 
Comment 6 Olaf Hering 2005-08-17 11:11:59 UTC
MAC is the link layer address for ethernet.
While Mac is the shortcut for Macintosh.
Comment 7 Hendrik Vogelsang 2005-08-22 10:36:07 UTC
its in beta2. pkirsch can you verify that it works?
Comment 8 Patrick Kirsch 2005-08-22 11:24:46 UTC
tested with beta2, Yes, It works.
Comment 9 Hendrik Vogelsang 2005-08-22 12:26:06 UTC
ok fixed
Comment 10 Olaf Hering 2005-09-02 13:29:43 UTC
I still see 'MAC' in the patch.
Comment 11 Patrick Kirsch 2005-09-05 09:34:11 UTC
sorry, my fault, now it should be correct
Comment 12 Mads Martin Joergensen 2005-09-05 09:51:38 UTC
I don't see a new util-linux package, is there a patch that needs correction or
such?
Comment 13 Patrick Kirsch 2005-09-05 10:03:06 UTC
corrected patch: util-linux-2.11q-fs_mac.diff
changed 'MAC' to 'Mac'.
Comment 14 Mads Martin Joergensen 2005-09-05 10:11:00 UTC
And where is that corrected patch?
Comment 15 Patrick Kirsch 2005-09-05 11:13:09 UTC
I did not create a new one. Please see util-linux-2.11q-fs_mac.diff.
I did a submitpac.
Alternativly i add the corrected util-linux-2.11q-fs_mac.diff patch.
Comment 16 Patrick Kirsch 2005-09-05 11:14:59 UTC
Created attachment 48778 [details]
util-linux-2.11q-fs_mac.diff
Comment 17 Mads Martin Joergensen 2005-09-05 11:18:47 UTC
I just want to make sure it's in, because there's no update in
/work/src/done/STABLE. When did you submitpac this?
Comment 18 Mads Martin Joergensen 2005-09-05 12:05:46 UTC
Submitted for STABLE by me.
Comment 19 Patrick Kirsch 2005-09-05 12:20:49 UTC
hups, i used 'submitpac' with '-r ppc' and not stable. 
i did submitpac at 11.15 (nbg time).
Now it seems all right.