On Sat, 2006-05-06 at 15:38 -0500, Les Mikesell wrote: > On Sat, 2006-05-06 at 13:56, Michael A. Peters wrote: > > On Sat, 2006-05-06 at 11:45 -0500, Les Mikesell wrote: > > > > > > > > Unfortunately no one seems to be interested in that kind > > > of cooperation. > > > > how about LABEL=/-`date +%s` > > > > Ugly as hell - but the user doesn't have to see that unless they look at > > the label. > > It still doesn't work when you clone the whole disk with dd > and then try to reboot with the disk still in place - or back > again for some other reason. What it needs is a hint about > the partition name that it will use/prefer if it finds the > label in the original place even if other matching labels are > found elsewhere. Sounds like what you need is a tool that will change the label to host specific labels. IE a shell script that will append -`hostname` to the existing disk labels, and update /etc/fstab and /boot/grub/grub.conf accordingly. Then you can run that shell script after setting the hostname, and forever after that - the disk labels will be unique. In fact - that would be useful since HAL mounts USB disks showing the label on the desktop. IE if your hostname is enterprise : /-enterprise /boot-enterprise /home-enterprise /usr/local-enterprise would be easily human recognizable - and hell, would be swell mount points in /media for recovery. cp -ar /media/home-enterprise/foo /home/ is a lot easier than trying to figure out if it is /media/disk1 /media/disk2 etc. I might start doing that manually - set up volume groups to have the hostname in the Volume Group - IE VolGrpEnterprise00 VolGrpEnterprise01 etc. and appended to the label for non LVM - IE /boot-enterprise (/boot and swap are the only non LVM volumes I currently create) -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list