[HAL] Mount options for removable devices

I need my USB drives automounted with noatime mount options. Following the guidelines at http://wiki.archlinux.org/index.php/HAL, I created a file /usr/share/hal/fdi/policy/10osvendor/10-custom-mount-options.fdi with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="block.is_volume" bool="true">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
</match>
<match key="@block.storage_device:storage.removable" bool="true">
<merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
</match>
</match>
</device>
</deviceinfo>
And then restarted HAL. Even tried reboot. But my drives still won't mount with noatime. Any help is much appreciated?

[:bump:]

Similar Messages

  • Mount options for ZFS filesystem on Solaris 10

    Do you know some recomendation
    about mount options for SAP on Oracle
    with data on ZFS filesystem?
    Also recomended block size required.
    We assume that file system with datafiles has 8kb block size
    and offline redologs has default (128kB).
    But what about ONLINE REDOLOGS?
    Best regards
    Andy

    SUN Czech installed new production HW for one Czech customer with ZFS filesystem on data-, redo- and archivelog files.
    Now we have performance problem and currently there is no SAP recomendation
    for ZFS file system.
    The HW which are by benchmark about tvice power has worst responses than
    old hardware.
    a) There is bug in Solaris 10 - ZFS buffers once allocated are not released
        (generally we do not want to use buffering due to prevence of double
         buffering)
    b) ZFS buffers takes about 20GB (32GB total) of memory on DB server
    and we are not able to define huge shared pool and db cache. (it may be possible
    to set special parameter in /etc/system to reduce maximum size of ZFS buffers to e.g. 4GB )
    c) We are looking for proven mount option for ZFS to enable asynchronious/concurent io for database filesystems
    d) There is no proven clear answer for support of ZFS/SOLARIS/Oracle/SAP.
    SAP says It is Oracle problem, Oracle does not certify filesystems from Jan2007
    any more and says ask your OS provider and SUN looks happy, but performance
    goes down and it is not so funny for system with 1TG DB with over 30GB grow
    per month.
    Andy

  • How to change hal mount options

    Sorry if discussed before, i couldn't find this information.
    How do I change the default options of hal for mounting external devices? Particularly, I want it to mount every single pendrive with codepage=850.
    Thanks in advance.

    For the most part you don't need to mess with udev. Udev is for the device nodes themselves, whereas hal is for mounting them (among other things).
    Hal can be configured by adding files to /etc/hal/. It's very nasty, though - they're in XML.
    The documentation:
    http://people.freedesktop.org/~david/ha … -spec.html
    Default configuration files:
    /usr/share/hal/fdi/
    Don't edit them, make files in /etc/hal instead.
    My config:
    cat /etc/hal/fdi/policy/user.fdi
    <?xml version="1.0" encoding="UTF-8"?>
    <deviceinfo version="0.2">
      <device>
              <merge key="storage.policy.default.mount_root" type="string">/mnt</merge>
      </device>
      <device>
        <match key="storage.drive_type" string="cdrom">
                <match key="info.udi" string="/org/freedesktop/Hal/devices/storage_model__NEC_DV_5700A">
                  <merge key="volume.policy.desired_mount_point" type="string">cd</merge>
                </match>
          </match>
      </device>
    </deviceinfo>

  • Udev: add mountpoints for removable devices

    Yet another solution to the removable devices problem.
    After a minor system overhaul I finally decided to get rid of a bunch of static mountpoints I had in /mnt. I checked Arch wiki, and what I saw there, well, raised some questions. I mean, it's udev, it's not supposed to be pretty, but pmount with a fixed user, as a recommended solution? Ugh.
    So I came up with a perl script that modifies /etc/fstab dynamically and creates mountpoints under /mnt, but doesn't actually mount anything. This way user mounts do not require any specific handling, and overall it looks nice and simple.
    To my slight surprise I couldn't find any good scripts that would do this even outside of the wiki (which is strange, btw, because the solution is obvious), so I decided to put it here. Maybe I'm not the only one who thinks auto-mounting is never a good thing.
    https://raw.github.com/nkf/udevh/master/udevh-sd | https://raw.github.com/nkf/udevh/master/README
    Comments, suggestions etc. are welcome.
    Please check the source and udev rules before doing anything, it's fstab after all.

    tomk wrote:As long as you're happy.....
    Well, yeah. I'm not a big fan of the current udev implementation, but this time it all worked very well.
    As for the man page, well, it's not really set in stone. Ok, I admit I didn't read it, in Arch at least, but anyway, there must be reasons to call it static. mount is a simple tool, it's clear how it works, that's the only file it reads, and I see no intrinsic features in mount that would require fstab to be static. I'd say it's more of an self-imposed challenge to treat it as static, and not a necessity. At least for current implementation of mount, and current format of fstab, with "user", "users" etc.
    Also, the kludgy automount suggestions on the udev page - pmount with fixed user ZOMG - are deprecated now in favour of udisks-based setups.
    Maybe it should be removed then, or at least clearly labeled as deprecated?
    Because when you read the page, it comes as a suggested solution. And udisks, well, I skipped that section at all, partly because it was above "Auto mounting USB devices", and party because it talks about KDE, Gnome and automounting.
    Oh, and btw: I've just noticed that the fixed user in that example is "tomk" ;-)
    falconindy wrote:I think you're in the minority of folks who think dynamically modifying a system config file as crucial as /etc/fstab is a good thing.
    Somewhat off-topic, but /etc/fstab is one of the least critical files in the system, and one of the easiest to fix.
    I didn't check with the current version, but if I'd was unable to boot without fstab, I'd call it a bug in initscripts.
    .:B:. wrote:There's nothing more easy than udisks - and there are plenty of frontends to it, like udiskie. (...) Reinventing the wheel is not always necessary.
    Well, I'm reading about udisks now, and the problem is, when I want a wheel, I want a wheel, not a Segway.
    I like my system to be simple (arch way and all), while this thing wants d-bus, polkit, some frontends and org.freedesktop.stuff.die.must.java style configuration variables just to be able to type "mount /mnt/sda1". Easy, maybe, for a given values of "easy"; simple, anything but.

  • Oracle VM Server 2.2.1 - Extra mount options for /OVS

    Hi,
    we would like to know how to add extra mount options (rw,hard,intr,tcp,rsize=32768,wsize=32768,timeo=600) to /OVS in Oracle VM 2.2.1.
    In version 2.1.5 and lower it was possible by adding those options together with the UUID in /etc/ovs/repositories.options
    How to manage mount options in Oracle VM 2.2.1? I've tried the same and no success.
    Best regards and thanks in advance,
    Marc Caubet

    Marc Caubet wrote:
    Since we have seen some I/O problems which causes high CPU Wait for some VM (those which contain postgres databases with high I/O activity) we finally decided to apply those NFS options to see if it solves the problem. If it doesn't work we will analize which options can improve the performance.Marc, why not just use the OVS' NFS mount for the system/root partition and mount an NFS volume from within the guest itself? That way, you can set all the parameters you need. Also, the netfront drivers (I'm told) are slightly more efficient that the blockfront drivers, so you could even see a performance improvement.

  • What to do if i only want to temperarily access my bookmarks on a pc in a cyber cafe? Is ther an option for removal of device to delete the pc? Or can I login and get my bookmarks retained and I logout and mozilla revert? Plz help.

    I love mozilla..

    Hi meltingheart,
    I would take a look at http://portableapps.com/ if I were you. I think it will be exactly what you are looking for. It allows you to run a version of Firefox (and other awesome programs) that are all contained on a small usb thumb thumb drive. That way you have access to all of your firefox bookmarks and tools everywhere you go. As soon as you unplug the drive, you take all your user data with you so it doesn't leave any of your private info on the computer.
    I have a little USB drive attached to my keychain that I use for just these purposes. It's pretty awesome!

  • Network manager no option for bluetooth devices

    I am using network manager version 0.8.1-1
    as stated in the wiki http://wiki.archlinux.org/index.php/Blu … GPRS_Howto
    "Right click on nm-applet and choose "Edit Connections", choose Mobile Broadband tab, click "add" it will pop you up to choose a Mobile Broadband Connection, there you can see your bluetooth device. "
    I followed this and I couldnt see any bluetooth device option in the pop up
    In my previous version It was showing

    Hello,
    I'm having the same Problem with missing bluetooth modem/device when trying to add a new "Mobile Broadband" connection in NM.
    Installed versions are
    bluez 4.84-1
    blueman 1.21-6
    networkmanager 0.8.3-0.20101130
    modemmanager 0.4-1
    Im using Kernel 2.6.36-ARCH with KDE on my Lenovo Thinkpad X201. Mobile phone is Nokia E52 with installed Internetprofile.
    Is somebody still on it?
    Has someone an explaination/solution?
    Best Wishes
    P.S. with gnome-bluetooth doesn't work as well. It even does not serve any other services than OBEX for my Phone.
    Edit: In fact gnome-bluetooth is the solution:
    1) Do not use blueman-applet. Use bluetooth-applet instead (package gnome-bluetooth)
    2) Re-pair Phone, enter PIN
    3) Last step of the pairing wizard offers a checkbox to 'use this phone as modem'.
    4) After enabling that checkbox another wizard appears to set up your mobile-internet-provider or connection details.
    5) Finally the phone is listed in tray-menu of networkmanager. One click on it establishes the connection. (Disconnect works the same way)
    Sadly I can't rename the connection in the tray-menu of networkmanager. This connection is not listed under "Mobile Broadband", only in tray-menu.
    Last edited by pforcht (2011-01-09 02:02:38)

  • How to disable remote wipe option for mobile devices

    Hi,
    I have integrated environment of SCCM 2012 R2 and Windows Intune. I am managing Windows phone, Android and IOS devices through this setup. I was trying find an option to disable remote wipe option in the SCCM Console. Only selective wipe should be available.
    Can you please help me on how to configure this setting.
    Regards
    Leela

    I got the below response from the micososft intune team.
    "Issue Definition: Cx would like remote wipe disabled
    in the Admin console.
    Scope Agreement: Disable remote wipe feature from account.
    You will not be able to block this feature using Microsoft Intune.  System
    Center Configuration Manager might be able to control this feature.  You
    might consider opening a case with their team.
    The other thing to consider, is to limit the amount of Admin users you have.
    Anyone that is given Admin rights in Microsoft Intune will have the ability to
    use the wipe feature.  "
    I have raised a ticket with SCCM 2012 team, awaiting their response.
    Regards
    Leela

  • Mounting options for iMac G5

    I need to attach an iMac G5 to mounting arm. The rep that sales the mounts said that his will attach to standard flat screen interface called VESA. The VESA interface is either 75mm or 100mm. Anyone tried to attach an iMac G5 to one of these?
    Thanks

    Thanks.
    In another thread I found that the Apple Store sells a mounting bracket that replaces the stand. This bracket has VESA compliant holes at 100mm.
    'http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore?productLearnMore=M9 755G/A'

  • USB mount options in kde

    Is it possible to use custom mount options for removable (usb) drives in kde4?
    I'm mostly interested in -o flush option. So the actual write on the disk ocurs when copying, but not when I unmout the device.
    P.S. editing fstab is not a solution! May be there is a way to amoid hal and automount using udev?

    http://wiki.archlinux.org/index.php/Ude … SB_devices

  • BTRFS : Subvolumes, mount options

    Hello,
    I took a look at btrfs, read the wiki, some guides and I have a few questions :
    1) In every guide I read, even on the official wiki, the root and home subvolumes are created separately. I don't understand why since the two are "linked" it would make more sense to create the home subvolume inside the root subvolume. From what I understand it wouldn't make the snapshots harder because the subvolume children are ignored when snapshotting. Moreover since subvolume children are automatically mounted we can mount the all system in one command only, so only one line in fstab to mount everything. So why not create the subvolumes directly in the root subvolume ? The only drawback I can see is that you can't set different mounting options for the children.
    2) Same goes for autodefrag option, wherever I read about btrfs and SSDs the autodefrag option is always there. I understand defragmentation for a spinning device but fail to see the usefulness on SSDs. Moreover defragmentation is really bad for SSDs as it shortens their lifespan. So the way I see it defragmentation and autodefrag only has drawbacks for SSDs. What am I missing ?
    3) For the same SSD lifespan concerns I plan to not use inode_cache and space_cache by using the nospace_cache option. So my options would be :
    rw,noatime,compress=lzo,ssd,discard,nospace_cache
    Does that seem optimal ?
    Thanks in advance,
    Nolhian
    Last edited by Nolhian (2014-04-29 16:36:37)

    If /home is nested it may lead to confusion if you later want to mount home-snapshot-1 to /home. Keeping things separate, while not required, is still a good idea.
    My mount options for my ssd-based root subvolume are: "defaults,noatime,discard,ssd,subvolid=0". I don't know where you've seen autodefrag as a standard ssd option, like you say, it doesn't make much sense for ssds.
    Can't comment on the caches.  There's a few threads on the mailing list that may be of interest to you though (not read them myself).
    http://www.mail-archive.com/linux-btrfs … 24827.html
    http://www.mail-archive.com/linux-btrfs … 30739.html
    http://www.mail-archive.com/linux-btrfs … 07498.html
    There's a lot more.

  • Mount options

    We have a filesystem mounted via NFS on 2 systems, both are automounted. When we run a bdf command de filesystem doesn’t appear, but if we try to access to the filesystem we can. We would like to know if there’s any recommendation about the mount options for filesystems.

    The directory is mounted by autmount when you access that directory.
    This is exact automount functionaility.
    This is why you cannot see in the output of "df" command when you are not using.
    The recommended NFS mount option could be ...
    if you use NetApp filer as NFS server,
    this techinical white paper could be helpful.
    http://www.netapp.com/us/library/technical-reports/tr_3442.html
    -<snip>-
    Correct NFS mount options are important to provide optimal performance and system stability.
    Linux®: rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,suid,timeo=600
    Solaris™: rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,vers=3,suid,[forcdirectio or llock]
    AIX, HP/UX rw,bg,hard,nointr,rsize=32768,wsize=32768,proto=tcp,vers=3,suid

  • I saw contact and notes bluetooth sync options for my MacBook in Settings!

    I went under the advanced options for my MacBook, which was paired to the iPhone, in order to 'forget' the device so as to reinitiate a pairing as i had freshly installed Snow Leopard. This time I saw some extra options for the device. One of them was Contacts sync. There was some 'advanced' options too but I decided to explore them after repairing the device so i selected 'forget this device'. After repairing they never reappeared!
    PS: my iphone 3g is running iOS4.1 and is not jail broken.
    Neerav

    WiFi or Bluetooth syncing is not supported by the iPhone, so it doesn't really matter if these options appear or not as you wouldn't be able to do so anyway.

  • Linux RHEL 6 Oracle 11.2.0.3 RAC NFS Mount Options

    Hi
    Does anyone have any details as to what the mount options should be for the following please.
    Oracle RAC 11.2.0.3
    RHEL 6.3
    NFS being used
    I need to determine the mount options for both BINARIES and DATABASE FILES (temp, control, data, redo)
    I know there must be a document out there that does not involve making the process as complicated as possible
    Thanks FORUM

    Hi,
    Please check Oracle Support note 359515.1 for detail.
    Cheers,
    SAM L.

  • HAL mounts USB flash devices without support for non-latin characters

    Hey folks!
    How can I make HAL mount USB flash devices with support for German characters such as ä, ö, ü, ß, etc? At the moment there's only a silly question mark instead: http://www12.file-upload.net/20.08.08/3cpcpx.png .
    Can anyone help me?
    Thanks.
    Henrik

    I think it's a bug in KDE4, because no other window manager or desktop environment has such problems. I had it as well, when I used KDE4.0.* for testing and seems like this remained. Do you have a completely german KDE4? Check the system settings!
    A thing comes to my mind, did you check it with konqueror? I guess this bug appears in dolphin, richtig? I schätz mal schon Try it with konqueror, if it doesn't appear there, it's a dolphin thing

Maybe you are looking for

  • Cannot Start Application on EBS 12.2.4

    Hello, I've a stuck when i want to starting EBS application. database, listener already up and finally i want to start EBS with this command: NB : I remark error statement with RED text. .end std out. .end err out. Executing service control script: /

  • I replaced an old Itouch with a new one, and now Itunes will not recognize the new one.

    I recently replaced my old I Touch with a new one.  Now I cannot get Itunes to recognize it in my library. 

  • How to configure ESOA Scenario is PI 7.1

    Hi All, I am new to PI 7.1 and working on the ESOA concept in PI 7.1, I am not sure to post this question in this blog or not, please help me on this urgent issue. I have developed a service interface in ESR, created a proxy in ECC 6.0, make it as a

  • How to clear iphone that belonged to someone else

    I was wondering if anyone can advise me on something please. My brother has given my Mother his old iphone 3gs, do anyone know if I can restore this to factory settings for her to clear all his items and if I can set up a new account in her name on A

  • Is it safe to update to the newest firmw

    Ok, so my Zen MicroPhoto got broken beyond recovery (the famous "Hardware Problem"-problem) and Creative Belgium is going to send me a new one/fix my old one.... When I receive my repaired/replaced mp3 player, is it safe for me to apply the latest fi