On Thu, Jun 15, 2000 at 01:29:59AM +0100, Niall O Broin wrote:
> On Wed, Jun 14, 2000 at 11:57:41PM +0100, Fergal Daly wrote:
>> > That won't work when you change the ID on a device (or toggle master/slave
> > for IDE). What I'm talking about would allow you to plug the disk into a
> > different SCSI card and still have the OS go "oh yeah, that's the disk
> > we're calling /dev/twiggy in fstab". A serial no. or just a label somewhere
> > in the partition table would allow that. Do disks have serial no.s, kinda
> > like ethernet cards have unique hardware addresses?
>> I don't know that disks do, but an ext2fs filesystem has a unique number
> (Filesystem UUID from dumpe2fs) which could be used to do what you want. You
> could have a mounting program which examined every partition on every disk
> it could find for a known partition type, and then found a UUID where
> available, and mounted accordingly. This doesn't sound pretty.
It's not pretty, but it's great when it works. The Amiga had the concept
of volume labels. This was pretty important when you didn't have a hard
disk. The OS would prompt you to "Insert volume <whatever> in any drive".
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!