file system mount

David Zeuthen david at fubar.dk
Fri Nov 2 19:18:56 UTC 2007


On Fri, 2007-11-02 at 14:16 -0500, Les Mikesell wrote:
> David Zeuthen wrote:
> > 
> > [1] : We could be more creative and try to guess what the file system is
> > used for; e.g. look for /etc/fedora-release, /etc/debian_release and so
> > forth (including trying to guess if it's Windows XP, Mac OS X or
> > whatever). So instead of showing "/" we could show "Fedora Core 7
> > (Moonshine)". That approach has it's ups and downs (guess is dangerous)
> > thus why it's not implemented at this point.
> 
> How about giving a hint as to which _physical_ disk it is?  Imagine you 
> had a couple of scsi controllers each with a bunch of disks, plus some 
> sata and USB volumes and you add one (which might currently have labels 
> that match other drives) and want to format it.  Which one is it?  Or a 
> drive in the system fails and isn't detected.  How do you find which one
> it was?

You mean like showing "/ (/dev/sdb1)" instead of "/"? It's doable..
Might make sense in some cases. FWIW, I'm (or alexl) is going to revisit
most of this before F9 as part of the gio/gvfs hacking. Stay tuned!

> > [2] : This is a rant to the Anaconda team. It is beyond me why you guys
> > decided to use LABEL= when UUID= is available for ext2/ext3 like since
> > forever. Another complaint is the name chosen for the file systems;
> > instead of e.g. "/" maybe you could use "F8-/", "F8-/var/www" etc. I
> > know this screws people on updates but at least these people could
> > rename the labels (e.g. from "F8-/" to "F9-/") when they upgrade. Or
> > Anaconda could prompt the user. Thanks for looking into this.
> 
> How do you change the UUID's on md arrays?  I often clone machines by 
> separating RAID1 drives and letting them sync to new partners.  If those 
> separated drives ever find themselves back in the same machine, I 
> wouldn't want them to rebuild automatically.

I'm failing to see why this question relevant to this discussion? 

I'm simply just asking the Anaconda to a) use UUID instead of LABEL (if
applicable; e.g. some FS's don't have UUID); and b) use some sane labels
by default. The user is still free to edit /etc/fstab to use LABEL=
instead of UUID= and/or relabel his drives or do whatever he wants.

      David





More information about the fedora-devel-list mailing list