bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parted pre8 Apple_Void oddness


From: Ethan Benson
Subject: parted pre8 Apple_Void oddness
Date: Sat, 4 Nov 2000 01:06:53 -0900
User-agent: Mutt/1.0.1i

Hi,

testing parted 1.4 pre8 seems pretty good so far. couple things:

it no longer detects HFS filesystems.  

i somehow ended up with a zero length Apple_Void partition, yuk!

address@hidden /root]# mac-fdisk -l /dev/sda
/dev/sda
        #                    type name                length   base    ( size ) 
 system
/dev/sda1     Apple_partition_map Apple                   63 @ 1       ( 31.5k) 
 Partition map
/dev/sda2         Apple_Bootstrap bootstrap             1600 @ 64      (800.0k) 
 Unknown
/dev/sda3         Apple_UNIX_SVR2 root                 80257 @ 1664    ( 39.2M) 
 Linux native
/dev/sda4              Apple_Void                          0 @ 0       (  0.0k) 
 Unknown
/dev/sda5         Apple_UNIX_SVR2 swap                 40960 @ 81921   ( 20.0M) 
 Linux swap
/dev/sda6         Apple_UNIX_SVR2 /tmp                 20480 @ 122881  ( 10.0M) 
 Linux native
/dev/sda7         Apple_UNIX_SVR2 /usr                 40960 @ 143361  ( 20.0M) 
 Linux native
/dev/sda8         Apple_UNIX_SVR2 /usr/local           40960 @ 184321  ( 20.0M) 
 Linux native
/dev/sda9         Apple_UNIX_SVR2 /var                 20480 @ 225281  ( 10.0M) 
 Linux native
/dev/sda10        Apple_UNIX_SVR2 /var/tmp             20480 @ 245761  ( 10.0M) 
 Linux native
/dev/sda11        Apple_UNIX_SVR2 /opt                 20480 @ 266241  ( 10.0M) 
 Linux native
/dev/sda12        Apple_UNIX_SVR2 /home               122880 @ 286721  ( 60.0M) 
 Linux native
/dev/sda13              Apple_HFS crashos             119207 @ 409601  ( 58.2M) 
 HFS

Block size=512, Number of Blocks=528808
DeviceType=0x0, DeviceId=0x0

ok here is what i did:

make the above partition table pretty much as is, except the bootstrap
partition was ending at 1MB.  i deleted it in parted and recreated it
ending at 0.813, (which make it 1601 blocks bah) so i deleted and
recreated it in mac-fdisk as the perfect 800K it is there. (im picky
ok? ;-)) then i go back to parted, delete the 3rd partition (root) and
recreate it to fill that space, ie 0.812 -> 40.000.  it filled all the
space just fine but parted created that bogus Apple_Void partition in
there. 

here is parted's output, note all partitions have filesystems on them,
2 and 12 are HFS.  (hformated) note parted does not detect the
filesystem on those.  

address@hidden /root]# parted /dev/sda print
Disk geometry for /dev/sda: 0.000-258.207 megabytes
Disk label type: mac
Minor    Start       End     Filesystem  Name                  Flags
1          0.000      0.031              Apple
2          0.031      0.812              bootstrap             boot
3          0.812     40.000  ext2        root                  root
5         40.000     60.000  linux-swap  swap                  swap
6         60.000     70.000  ext2        /tmp
7         70.000     90.000  ext2        /usr
8         90.000    110.000  ext2        /usr/local
9        110.000    120.000  ext2        /var
10       120.000    130.000  ext2        /var/tmp
11       130.000    140.000  ext2        /opt
12       140.000    200.000  ext2        /home
13       200.000    258.207              crashos

also one other thing, if you try and run mkfs with a filesystem type
parted does not support, such as hfs or reiserfs, it says no
implementation but it trashes the partition's existing filesystem
anyway.  i suppose this is not that big a deal since it would be
trashed anyway if it was supported, but it seems odd... 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgp4Avc2ZmAnV.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]