From: Andrew Clausen <hidden> Date: 2000-07-04 21:44:19
Hi all,
I've started hacking on linuxppc (on Macs) support for GNU Parted, a
partition program. It's like fdisk (or pdisk), but it can also
create, copy and resize file systems that it has special support for.
More info at:
www.gnu.org/software/parted
I'm trying to support the Mac partition map, but I'll need some help,
since I don't have a PowerPC :-(
Could someone send me their partition map? You can get this with:
# dd if=/dev/hda bs=512 count=MAP-SIZE | gzip | map.gz
If you don't know how big your partition map (+1 for driver block) is,
then 64 should do (?). (What's a reasonable size for a partition
map?)
Note: I'm not adding HFS support at this stage - it's a LOT of work.
So you'll be able to resize ext2 partitions in the near future, but
not HFS partitions :-/ Unless there are some volunteers...
Of course, I'd also be happy very if someone could help with the code,
or just testing :-)
Thanks!
Andrew Clausen
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Andrew Clausen <hidden> Date: 2000-07-04 23:06:33
Michel Dänzer wrote:
Does parted support Amiga partition maps?
No. Not yet ;-)
If not, I'm sure APUS users will gladly send you their partition
maps...
I'm not ready for that yet :-/ Are there any good docs around?
Thanks!
Andrew clausen
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
At least, I know that myself and a few other people have been able to
code based off of that.
Yep.
quoted
Could someone send me their partition map? You can get this with:
# dd if=/dev/hda bs=512 count=MAP-SIZE | gzip | map.gz
If you don't know how big your partition map (+1 for driver block) is,
then 64 should do (?). (What's a reasonable size for a partition
map?)
I forget, but I don't think *anyone* has more than 20 (on most Macs, the
first 7 contain drivers etc), so 20 x sizeof(partition) (see above URL).
Each partition gets one block (yes?). So thats 20 * 512?
(From comments in various programs, most disks have 512 byte blocks...)
quoted
Note: I'm not adding HFS support at this stage - it's a LOT of work.
So you'll be able to resize ext2 partitions in the near future, but
not HFS partitions :-/ Unless there are some volunteers...
There seems to be a shortage of HFS folks these days. :) But ext2
resizing sounds very cool.
Excuse my ignorance... what FS's do people usually use with MacOS?
HFS/HFS+?
(Is the point "no-one uses MacOS", or "no-one's hacking on HFS
in Linux"?)
P.S. Can't get you a real map right now, but email me later if you want
it.
That would be useful, thanks :-)
Andrew Clausen
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Could someone send me their partition map? You can get this with:
# dd if=/dev/hda bs=512 count=MAP-SIZE | gzip | map.gz
If you don't know how big your partition map (+1 for driver block) is,
then 64 should do (?). (What's a reasonable size for a partition
map?)
I forget, but I don't think *anyone* has more than 20 (on most Macs, the
first 7 contain drivers etc), so 20 x sizeof(partition) (see above URL).
Note: I'm not adding HFS support at this stage - it's a LOT of work.
So you'll be able to resize ext2 partitions in the near future, but
not HFS partitions :-/ Unless there are some volunteers...
There seems to be a shortage of HFS folks these days. :) But ext2
resizing sounds very cool.
-Hollis
P.S. Can't get you a real map right now, but email me later if you want
it.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Michel D�nzer <hidden> Date: 2000-07-05 12:26:45
Andrew Clausen wrote:
I'm trying to support the Mac partition map, but I'll need some help,
since I don't have a PowerPC :-(
Could someone send me their partition map? You can get this with:
# dd if=/dev/hda bs=512 count=MAP-SIZE | gzip | map.gz
If you don't know how big your partition map (+1 for driver block) is,
then 64 should do (?). (What's a reasonable size for a partition
map?)
Does parted support Amiga partition maps? If not, I'm sure APUS users will
gladly send you their partition maps...
Michel
--
UNIX is like Sex:
If you don't know it, you don't miss it. But if you know it, you'll need it.
______________________________________________________________________________
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86, Team *AMIGA*, AUGS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/