Subject: Re: wedges and what does that mean?
To: Pavel Cahyna <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 09/05/2006 10:31:08
Content-Type: text/plain; charset=us-ascii
On Mon, Sep 04, 2006 at 10:50:22PM +0200, Pavel Cahyna wrote:
> On Mon, Sep 04, 2006 at 10:06:51PM +0200, Martin Husemann wrote:
> > On Mon, Sep 04, 2006 at 08:49:13PM +0100, David Laight wrote:
> > > There is nothing (to my knowledge) to ensure that the 'wedge numbers'
> > > stay anything like consistent across reboots.
> > > So add a 'partition' to an MBR disk, and when you reboot all the numb=
> > > will change.
> > Then don't boot from MBR disks ;-)
> > We need to be able to mount-by-guid (if using GPT), or some equivalent
> > for other on-disk partitioning schemes that store identifiers.
> How will it fix filehandles, permissions for nodes in /dev and anything
> else that uses device numbers?
Well, with file handles you always have had the problem that the fsid may=
change between boots. Now that file handles are opaque, things are a bit=20
harder, but something can still be done about it.
As for the other questions, please see the threads in tech-kern over the=20
past few years.
The up-shot is that we need a way to rename and re-minor-number devices.=20
Combine that with a daemon that keeps state in userland, and we force=20
wedges to come back with the same minor # as before.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
-----END PGP SIGNATURE-----