file system mount

Karel Zak kzak at redhat.com
Tue Nov 6 10:33:53 UTC 2007


On Fri, Nov 02, 2007 at 03:18:56PM -0400, David Zeuthen wrote:
> 
> 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..

 Don't use device names at all. I think better for LABEL= is an unique
 system ID + path.  Something like LABEL="FooSys:/boot".

> 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.

 I think Anaconda could prompt the user for an unique ID rather than
 use the same prefix (F8, F9, ...) for all installations on the Earth.
 Don't forget that you can move HDD between more systems.

    Karel

-- 
 Karel Zak  <kzak at redhat.com>




More information about the fedora-devel-list mailing list