Results 1 to 5 of 5

Thread: HAL mount options

  1. #1
    Join Date
    Jan 2008
    Beans
    58

    HAL mount options

    I want to add utf8 option for NTFS in HAL config files. Where do I look for the files?

    Thanks,
    Alex

  2. #2
    Join Date
    Jun 2007
    Location
    UK
    Beans
    1,386
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HAL mount options

    There is a configuration file called /etc/hal/fdi/policy/preferences.fdi
    There are also some fdi files under the directory /usr/share/hal/fdi

    You may also want to read the HAL Specification.

  3. #3
    Join Date
    May 2006
    Location
    Southern California
    Beans
    867
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HAL mount options

    Great link nick_h. I've been struggling with hot swapping external SATA disks. From the looks of this, simply restarting the HAL daemon might solve it!
    (Master be/fe) ASUS P5KPL IPC, E5400, KVR800D2N6K2/2G, 8500GT, (2)PVR-150, A180, ATSC-115, U10.04, MythTV 0.23-fixes.

  4. #4
    Join Date
    Jan 2008
    Beans
    58

    Re: HAL mount options

    Quote Originally Posted by nick_h View Post
    There is a configuration file called /etc/hal/fdi/policy/preferences.fdi
    There are also some fdi files under the directory /usr/share/hal/fdi

    You may also want to read the HAL Specification.
    thanks

  5. #5
    Join Date
    Jan 2008
    Beans
    58

    Re: HAL mount options

    Quote Originally Posted by nick_h View Post
    There is a configuration file called /etc/hal/fdi/policy/preferences.fdi
    There are also some fdi files under the directory /usr/share/hal/fdi

    You may also want to read the HAL Specification.
    in /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi:

    Code:
          <!-- allow these mount options for ntfs -->
          <match key="volume.fstype" string="ntfs">
    	<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
    	  <append key="volume.mount.valid_options" type="strlist">uid=</append>
    	  <append key="volume.mount.valid_options" type="strlist">gid=</append>
    	  <append key="volume.mount.valid_options" type="strlist">umask=</append>
    	  <append key="volume.mount.valid_options" type="strlist">locale=</append>
    	  <append key="volume.mount.valid_options" type="strlist">utf8</append>
    	</match>
    Which looks like it should be UTF8 already. Still, if I let HAL mount an NTFS disk, no UTF8 support. If I mount manually with utf8 option from fstab - everything's fine. WHy??

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •