| UUID Hi - It's been interesting reading all the replies ... Here is my take so far -
1. This should have absolutely nothing to do with distros. When the topic is in man pages for both Knoppix and Red Hat 9.0 - I don't think it's distro related.
2. I don't believe there are any "Deep Dark Secrets" in Linux - That is why i like it so much - learn fundamental stuff once - use it everywhere.
3. I am not interested in mounting a single device - I can easily set fstab to mount a USB pendrive or USB external drive - Dos partition or whatever.
The problem arises when i have several devices that i mount in no particular order. The obvious solution would seem to be to use the UUID=XXXXX option of the fstab entry: Code: Instead of giving the device explicitly, one may indicate the (ext2 or
xfs) filesystem that is to be mounted by its UUID or volume label (cf.
e2label(8) or xfs_admin(8)), writing LABEL=<label> or UUID=<uuid>,
e.g., ‘LABEL=Boot’ or ‘UUID=3e6be9de-8139-11d1-9106-a43f08d823a6’.
This will make the system more robust: adding or removing a SCSI disk
changes the disk device name but not the filesystem volume label.
, but how to get the UUID of the various devices is my problem.
__________________
- Clouds don't crash - Bertrand Meyer
registered Linux user 393557
finally - hw to brag about - but next year it will look pitifully quaint:
Athlon64 X2 3800 - 1G PC3200 - 250G SATA - ati radeon x300
circa 2006
|