I suppose we'd be talking about a proprietory partitioning scheme - or
finding somewhere else on the disk to store the names. The kernel finds the
names at boot time during the partition probe and presents them in /dev.
> Er, hold on. I think I see more what you're trying to do. You want to
> move /etc/fstab elsewhere, essentially. So each FS/partition will
> record where it should be mounted?
A partition should have a NAME associated with it that is stored either at
the start of the partition or in or related to the partition table. Those
names present themselves (through devfs) in /dev and fstab tells it where
to mount. One person might call the partitions 'root' and 'usr'. On my home
system I might call them 'scsiroot', 'scsismall', 'scsibig', 'idebig',
'ideswap'. But I owuld mount them on /root, /tmp, /u/stuff, /u/work and
swap.
BUT I could pull the disk out, bring it over to your place, plug it in and
know what names the partitions would have.
All you need is a clash solution. You could use date last mounted or other
heuristics and call them root~1 and root~2 (just to piss off the Win95
haters amongst us :-)
-- [======================================================================] [ Kevin Lentin Email: K.Lentin@cs.monash.edu.au ] [ finger kevinl@fangorn.cs.monash.edu.au for PGP public key block. ] [ KeyId: 06808EED FingerPrint: 6024308DE1F84314 811B511DBA6FD596 ] [======================================================================]