Ignoring fixed partitions which are not mounted in /media

David Zeuthen david at fubar.dk
Wed Apr 18 15:24:29 PDT 2007


On Wed, 2007-04-18 at 09:23 +0200, Martin Pitt wrote:
> This problem does not seem to be special to Ubuntu to me. How do other
> distros solve this, perhaps more elegantly? If this is a common need,
> can we find a common solution which can be integrated upstream?

I think so, yeah. So basically what I want for 0.5.10 is to 

 - deprecate the volume.ignore property; or at least not set
   it by default for anything; it's basically too abstract to
   be useful right now.

 - replace volume.ignore with something more useful; e.g.

    volume.is_firmware_partition
    (I had a few other examples in mind but I can't remember
     them right now. Ideas?)

   probably still keep support for volume.ignore around in
   Mount() to e.g. bail out on any attempt if volume.ignore
   is set.

 - with PolicyKit, gnome-mount can now do stuff like this
   http://people.freedesktop.org/~david/polkit-take-3.png ; or
   http://people.freedesktop.org/~david/polkit-auth-other-programs.png
   (this is sorta/kind work in progress)

 - gnome-vfs already should be hiding anything mounted at a
   FHS location (e.g. /usr, /var etc.). Also teach gnome-vfs
   about paying attention to volume.is_firmware_partition

I plan to release 0.5.10 along with some useful PolicyKit release in no
more than 2-3 months. Would something like this work for everyone?

     David




More information about the hal mailing list