Re: [PATCH] computer:/// should display all drives, not only user-visible ones



On Wed, 2006-06-07 at 14:51 +0200, Xavier Claessens wrote:
> > I don't really follow your reasoning fully. I agree that users want to
> > see their OSX and/or windows mounts from linux, but I think you
> > over-empasize the "single user, dual boot, home desktop" usecase. In the
> > case of more traditional sysadmined unix setups (at universities and
> > whatnot) you'll have a bunch of bizzare mountpoints (nfs mounts, autofs
> > mounts, tmpfs, /usr, /home, extra drives/partitions, etc). 
> > 
> > If we were to show all these, then I think things would look pretty
> > confusing. I really think we need to hide a bunch of mountpoints. Some
> > mountpoints can probably be hardcoded
> > (like /proc, /tmp/, /home, /opt/*, /usr, and /boot), but we can never
> > think of all possibilities, so we should probably have a way to mark
> > them.

Yea, of course we should hide such bizarre mount points. My point was
merely we ought to show drives/mounts even if the user is not privileged
to mount them.

> > 
> 
> We should only display "/media/*" and "/mnt/*"

Yup, that's one option, maybe just resort to showing entries from /media
then alexl's /mnt/hdb1 drive won't be shown (and if alexl wants it to be
shown he can move the mount point to /media). Personally I think we
should just hide all the directories and subdirs as defined by FHS2.3.
We do that here

http://cvs.gnome.org/viewcvs/gnome-vfs/libgnomevfs/gnome-vfs-hal-mounts.c?view=markup

in function _hal_volume_policy_check() though I'm unsure whether this
code is used at the moment (will look into that).

    David





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