[Top][All Lists]

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

Re: partition store

From: Roland McGrath
Subject: Re: partition store
Date: Sat, 25 Aug 2001 20:24:04 -0400 (EDT)

I've checked in hurd changes, mostly written by Neal Walfield, to add a new
store type called `part' that uses the GNU Parted libraries to interpret
disk partitions.  

The hurd's configure now checks if the Parted development stuff is
installed and will build the new type if so.  You'll need to get Parted and
compile it yourself, perhaps with some patches Neal has posted (check the
parted project's mail archives on gnu.org).  It also needs libuuid to be
installed, which I think comes from e2fsprogs (so you should already have
it you have a native hurd system).  Please let me know if you have any
problems compiling the hurd against the libparted libraries, or if the
configure script doesn't work right.

If you have trouble building Parted itself, don't ask me about it.
Report your problems to bug-parted@gnu.org instead.

The way you'll use this is by using a whole-disk device and additional
storeio translators using the `part' type.  That is, use /dev/hd0 or
whatnot to see the whole disk.  Run Parted on it, whatever.
Then try to access individual partitions via the `part' type.

storeinfo -tnbBsl -Tpart 2:/dev/hd0 
storeread -Tpart 2:/dev/hd0 ...
settrans -ca /dev/test-hd0s2 /hurd/storeio -Tpart 2:/dev/hd0

I can't help you much with this code (aside from the build issues).
All the hairy bits are in libparted and I know nothing about it.

reply via email to

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