Ignoring fixed partitions which are not mounted in /media

Danny Kukawka danny.kukawka at web.de
Wed Apr 18 01:52:50 PDT 2007


On Mittwoch, 18. April 2007, Martin Pitt wrote:
> Hi all,
> 
> in Ubuntu we want to ignore volumes which come from non-removable
> devices and are mounted to a place different than /media, since they
> (1) only appear as clutter to users (such as /boot, /home, or /usr)
> and (2) it's usually a bad idea to unmount them with gnome-mount.
> 
> For this we apply a rule to 20-storage-methods.fdi (in the
> volume.fsusage == "filesystem" block where the other special cases
> like Apple Bootstrap are handled):
[..]
> 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?

On SUSE we use the attached patch since ages.

Danny



-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-storage-policy-fixed-drives.diff
Type: text/x-diff
Size: 978 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070418/6c3d3d77/hal-fix-storage-policy-fixed-drives.bin


More information about the hal mailing list