Is there a way to set all media to -noatime?
I have used fstab to do this for / and ~ and would like to do the same for file systems automagically mounted to /media. Is this something I could set at the /media level that would propagate down to the mounted devices, for example?
When you plug in a USB device and mount it, have a look at the hidden files in the /media directory where the new mount point will be located.
In there is a file called .hal-mtab and in that file you will see a line representing the mounting of each removable device. For instance this is the line that appears in that file when I mount a DVD media .....
/dev/sr0 500 0 udf nosuid,nodev,uhelper=hal,uid=500 /media/P9194SE_1
As you can see the mount parameters are preset for the media.
This one is the line representing the mounting of a named partition on a USB flash drive (called PCLOS)
/dev/sdh2 500 0 ext3 nosuid,nodev,uhelper=hal /media/PCLOS
So at least we know what mount parameters are being used.
Presumably those presets are editable ....... if one knew where they were located.
I have not looked to try to find them, so if anyone knows please post.
Changing this noatime parameter in KDE3 was a doddle ...... they were available for editing in the right click menu of the Properties of the Desktop icon.
I have not found a similar simple means of doing the same thing in KDE4.
I too would like to find an easy method of determinimg if some of those partitions are to be mounted with or without noatime invoked.
In my case I would want it to be for individual partitions as with KDE3 and not by changing the preset for all such partitions.