Nailing Down a /dev point 2006-01-15 - By Tim Edwards
Back Elam Daly wrote:
> > >regardless as to whether it is detected as sda, sdb, sdc, or > > whatever. > > > > I'm a little confused by this. So if I set my label for /dev/sda1 > > then are you saying that the label will apply to /dev/sdb1, /dev/sdd1 > > etc *or* that I have to set the previous label to all of my sd* /dev > > points ie: > > eh not quite.. > > you label the *filesystem* as being, say, named "BACKUPDEVICE". > > Once you have done that, you no longer need to know a device name AT > ALL, but all you do is tell mount to mount the device which has label > "BACKUPDEVICE". mount will then go look for it, finds whatever device > name it has today, and use that.
For example, in /etc/fstab: LABEL=BACKUPDEVICE /mnt/backups ext3 defaults 1 2
-- Tim Edwards
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|