gnome-mount does not pick up options from HAL

Bug #319061 reported by Noel J. Bergman
2
Affects Status Importance Assigned to Milestone
gnome-mount (Ubuntu)
Invalid
Low
Unassigned

Bug Description

When I insert, for a specific example, an SDHC card into my built-in reader, it is not being mounted with noatime, despite the presence of a HAL policy setting it.

I am attaching the HAL policy and the output from hal-device showing that the value is, in fact, present. However, as you can see from mount:

  /dev/mmcblk0p1 on /media/TOPRAM32 type ext2 (rw,nosuid,nodev,uhelper=hal)

the attribute is not automatically set.

This has also been reported on the forum by someone else: http://ubuntuforums.org/showthread.php?p=6248931

Revision history for this message
Noel J. Bergman (noeljb) wrote :
Revision history for this message
Noel J. Bergman (noeljb) wrote :
Revision history for this message
Noel J. Bergman (noeljb) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug seems to be an upstream one and should be sent to bugzilla.gnome.org by somebody having the issue

Changed in gnome-mount:
importance: Undecided → Low
Revision history for this message
Noel J. Bergman (noeljb) wrote :

Since HAL is going away, attached is a udev rule that illustrates a technique to do this with udev.

There are other published udev rules for mounting (e.g., http://wiki.archlinux.org/index.php/Udev#Auto_mounting_USB_devices), but they all suffer from doing too much -- they take over the mounting process. This rule focuses on doing just one thing: re-mounting with the options I want, in this case noatime.

In order to do this, I found that there is a race condition, so there is a rule that first gives the system time to mount the device, after which we remount with the additional option.

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in gnome-mount (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.