Re: A FC6 suggestion.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux