You are not logged in.

#1 2008-06-17 13:41:33

trotos
Member
Registered: 2008-05-29
Posts: 28

[Solved] [YAKA] Yet Another KDE 3.5.9+hal+ntfs-3g Automount Prob

Ok so the basics

KDE 3.5.9 from kdemod (not the full version): from desktop go to control center -> Desktop -> Behavior -> Device Symbols (3rd Tab) and make sure the box is checked (Checked) --> I got the corresponding Icons On Desktop

CD-ROM/DVD-ROM automounting and autounmounting works like charm, with the icon showing up, and eject command unmount and removes the icon.

extx partitions work great as with reiserf

As root everything works, with ntfs, both on Konqueror and from CLI

But as user I Got the hideous:

TODO: have to rethink extra options

I have installed latest hal, ntfs-3g, dbus

NEXT the files:

/sda3/etc/fstab (dbus removed from demons as instructed from the wiki)

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


#/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
#/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/sda1 swap swap defaults 0 0
/dev/sda3 / ext3 defaults 0 1
/dev/sda5 /home ext3 defaults 0 1
/dev/sda7 /mnt/repos reiserfs defaults 0 1

/etc/rc.conf

LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Athens"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
MODULES=(powernow-k8 fuse forcedeth slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore ac battery button fan thermal loop)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
DAEMONS=(syslog-ng network portmap acpid netfs @crond sensors hal nfslock @nfsd @samba cpufreq @cups @alsa @smartd @openntpd @sshd @kdm)

from /sda3/etc/hal/fdi/policy

  <?xml version="1.0" encoding="UTF-8"?> 
 <deviceinfo version="0.2">
#################Automount NTFS filesystems with write support (ntfs-3g)######################3
<device>
     <match key="volume.fstype" string="ntfs">
       <match key="@block.storage_device:storage.hotpluggable" bool="true">
         <merge key="volume.fstype" type="string">ntfs-3g</merge>
         <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
         <append key="volume.mount.valid_options" type="strlist">locale=</append>
       </match>
     </match>
   </device>
#####################Auto-mount only removable media###################[b]I think it works OK[/b]
<device>
   <match key="storage.hotpluggable" bool="false">
     <match key="storage.removable" bool="false">
       <merge key="storage.automount_enabled_hint" type="bool">false</merge>
     </match>
   </match>
 </device>
########Put sync and noatime on for devices smaller than 8GB and off for devices larger than that###########[b]I do not know if this [/b]works
 <device> 
   <match key="block.is_volume" bool="true">
     <match key="volume.size" compare_lt="8000000000">
       <match key="@block.storage_device:storage.hotpluggable" bool="true">
         <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
         <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.sync" type="bool">true</merge>
         <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
       </match>
     </match>
     <match key="volume.size" compare_ge="8000000000">
       <match key="@block.storage_device:storage.hotpluggable" bool="true">
         <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
         <merge key="volume.policy.mount_option.noatime" type="bool">false</merge>
       </match>
       <match key="@block.storage_device:storage.removable" bool="true">
         <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
         <merge key="volume.policy.mount_option.noatime" type="bool">false</merge>
       </match>
     </match>
   </match>
 </device>
###############USB sticks and drives do not automount correctly################[b][b]WORKS FINE[/b][/b]
<merge key="volume.ignore" type="bool">false</merge>

from:/sda3/usr/share/hal/fdi/policy/10osvendor/20-ntfs-config-write-policy.fdi

 
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!--
    Montaggio unità esterne NTFS in lettura/scrittura con ntfs-3g.
    /usr/share/hal/fdi/policy/10osvendor/
-->
<deviceinfo version="0.2">
  <device>
    <match key="volume.fstype" string="ntfs">
      <match key="@block.storage_device:storage.hotpluggable" bool="true">
          <merge key="volume.fstype" type="string">ntfs-3g</merge>
          <merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
          <append key="volume.mount.valid_options" type="strlist">locale=</append>
      </match>
    </match>
  </device>
</deviceinfo>

and usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="info.udi" string="/org/freedesktop/Hal/devices/computer">
      <append key="info.callouts.add" type="strlist">hal-storage-cleanup-all-mountpoints</append>
    </match>

    <!-- poll drives with removable media -->
    <match key="storage.removable" bool="true">
      <append key="info.addons" type="strlist">hald-addon-storage</append>
    </match>

    <match key="volume.is_disc" bool="true">
      <match key="volume.disc.has_audio" bool="true">
        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>
      </match>
      <match key="volume.disc.is_blank" bool="true">
        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>
      </match>
    </match>

    <!-- this is to be able to mount media in drives we cannot poll, e.g. IDE Zip Drives and PC style floppy drives -->
    <match key="storage.media_check_enabled" bool="false">
      <match key="storage.no_partitions_hint" bool="true">

        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>

        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Mount</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">ssas</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">mount_point fstype extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-mount</append>

        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Unmount</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-unmount</append>

        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>

        <!-- allow these mount options for all file systems -->
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
          <append key="volume.mount.valid_options" type="strlist">ro</append>
          <append key="volume.mount.valid_options" type="strlist">sync</append>
          <append key="volume.mount.valid_options" type="strlist">dirsync</append>
          <append key="volume.mount.valid_options" type="strlist">noatime</append>
          <append key="volume.mount.valid_options" type="strlist">nodiratime</append>
          <append key="volume.mount.valid_options" type="strlist">noexec</append>
          <append key="volume.mount.valid_options" type="strlist">quiet</append>
          <append key="volume.mount.valid_options" type="strlist">remount</append>
      <append key="volume.mount.valid_options" type="strlist">exec</append>
          <!-- As this is removable media give some leeway -->
      <append key="volume.mount.valid_options" type="strlist">utf8</append>
      <append key="volume.mount.valid_options" type="strlist">shortname=</append>
      <append key="volume.mount.valid_options" type="strlist">codepage=</append>
      <append key="volume.mount.valid_options" type="strlist">iocharset=</append>
      <append key="volume.mount.valid_options" type="strlist">umask=</append>
      <append key="volume.mount.valid_options" type="strlist">uid=</append>
    </match>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
      <append key="volume.mount.valid_options" type="strlist">ro</append>
      <append key="volume.mount.valid_options" type="strlist">noexec</append>
      <append key="volume.mount.valid_options" type="strlist">noatime</append>
    </match>
      </match>
    </match>


    <match key="volume.fsusage" string="filesystem">

      <!-- Here follow volumes we specifically want to ignore - it is the -->
      <!-- responsibility of software higher in the stack (e.g. gnome-vfs) -->
      <!-- amd mount programs (e.g. Mount() on HAL) to respect volume.ignore -->
      <merge key="volume.ignore" type="bool">false</merge>

      <!-- Should always ignore Apple Bootstrap partitions (it would be -->
      <!-- a security hole to mount it) - TODO: should use the bootable -->
      <!-- flag from the Mac partition table instead -->
      <match key="volume.fstype" string="hfs">
    <match key="volume.label" string="bootstrap">
          <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- Lenovo and IBM ship with a various recovery partitions -->
      <match key="volume.fstype" string="vfat">
    <match key="volume.label" string="SERVICEV001">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
    <match key="volume.label" string="IBM_SERVICE">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>
      <match key="volume.fstype" string="ntfs">
    <match key="volume.label" string="SERVICEV002">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- HP ships desktops with a recovery partition -->
      <match key="volume.fstype" string="vfat">
    <match key="volume.label" string="HP_RECOVERY">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- Sony ships laptops with a recovery partition -->
      <match key="volume.fstype" string="ntfs">
    <match key="volume.label" string="Recovery Partition">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- DELL ships some laptops with a visible recovery partition -->
      <match key="volume.fstype" string="vfat">
    <match key="volume.label" string="DellUtility">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
    <match key="volume.label" string="DellRestore">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- ASUS ships some desktop with a recovery partition -->
      <match key="volume.fstype" string="vfat">
    <match key="volume.label" string="RECOVERY">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
    <match key="volume.label" string="PQSERVICE">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>
      <match key="volume.fstype" string="ntfs">
    <match key="volume.label" string="PQSERVICE">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <!-- Hide partitions marked as Compaq Diagnostics -->
      <match key="volume.partition.type" string="0x12">
        <merge key="volume.ignore" type="bool">true</merge>
      </match>

      <!-- EFI firmware partitions -->
      <match key="volume.fstype" string="vfat">
    <match key="volume.label" string="EFI">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
      </match>

      <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>

      <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Mount</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">ssas</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">mount_point fstype extra_options</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-mount</append>

      <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Unmount</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
      <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-unmount</append>

      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
        <match key="volume.linux.is_device_mapper" bool="false">
          <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
          <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
          <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
          <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>
        </match>
      </match>

      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>
      </match>

      <!-- allow these mount options for all file systems -->
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
        <append key="volume.mount.valid_options" type="strlist">ro</append>
        <append key="volume.mount.valid_options" type="strlist">sync</append>
        <append key="volume.mount.valid_options" type="strlist">dirsync</append>
        <append key="volume.mount.valid_options" type="strlist">noatime</append>
        <append key="volume.mount.valid_options" type="strlist">nodiratime</append>
        <append key="volume.mount.valid_options" type="strlist">noexec</append>
        <append key="volume.mount.valid_options" type="strlist">quiet</append>
        <append key="volume.mount.valid_options" type="strlist">remount</append>
        <append key="volume.mount.valid_options" type="strlist">exec</append>
      </match>
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
        <append key="volume.mount.valid_options" type="strlist">ro</append>
    <append key="volume.mount.valid_options" type="strlist">noexec</append>
    <append key="volume.mount.valid_options" type="strlist">noatime</append>
      </match>

      <!-- allow these mount options for vfat -->
      <match key="volume.fstype" string="vfat">
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
      <append key="volume.mount.valid_options" type="strlist">utf8</append>
      <append key="volume.mount.valid_options" type="strlist">shortname=</append>
      <append key="volume.mount.valid_options" type="strlist">codepage=</append>
      <append key="volume.mount.valid_options" type="strlist">iocharset=</append>
      <append key="volume.mount.valid_options" type="strlist">umask=</append>
      <append key="volume.mount.valid_options" type="strlist">dmask=</append>
      <append key="volume.mount.valid_options" type="strlist">fmask=</append>
      <append key="volume.mount.valid_options" type="strlist">uid=</append>
      <append key="volume.mount.valid_options" type="strlist">flush</append>
    </match>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
      <append key="volume.mount.valid_options" type="strlist">longnames</append>
      <append key="volume.mount.valid_options" type="strlist">shortnames</append>
      <append key="volume.mount.valid_options" type="strlist">nowin95</append>
      <append key="volume.mount.valid_options" type="strlist">-u=</append>
      <append key="volume.mount.valid_options" type="strlist">-g=</append>
      <append key="volume.mount.valid_options" type="strlist">-m=</append>
      <append key="volume.mount.valid_options" type="strlist">-M=</append>
      <append key="volume.mount.valid_options" type="strlist">-L=</append>
      <append key="volume.mount.valid_options" type="strlist">-D=</append>
      <append key="volume.mount.valid_options" type="strlist">large</append>
    </match>
      </match>


      <!-- allow these mount options for hfs -->
      <match key="volume.fstype" string="hfs">
    <append key="volume.mount.valid_options" type="strlist">gid=</append>
    <append key="volume.mount.valid_options" type="strlist">uid=</append>
    <append key="volume.mount.valid_options" type="strlist">force</append>
      </match>

      <!-- allow these mount options for hfsplus -->
      <match key="volume.fstype" string="hfsplus">
    <append key="volume.mount.valid_options" type="strlist">force</append>
      </match>

      <!-- 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">dmask=</append>
      <append key="volume.mount.valid_options" type="strlist">fmask=</append>
      <append key="volume.mount.valid_options" type="strlist">locale=</append>
      <append key="volume.mount.valid_options" type="strlist">utf8</append>
    </match>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
      <append key="volume.mount.valid_options" type="strlist">-u=</append>
      <append key="volume.mount.valid_options" type="strlist">-g=</append>
      <append key="volume.mount.valid_options" type="strlist">-m=</append>
      <append key="volume.mount.valid_options" type="strlist">-a</append>
      <append key="volume.mount.valid_options" type="strlist">-i</append>
      <append key="volume.mount.valid_options" type="strlist">-C=</append>
      <append key="volume.mount.valid_options" type="strlist">-W=</append>
    </match>
      </match>

      <!-- allow these mount options for ext3 -->
      <match key="volume.fstype" string="ext3">
    <append key="volume.mount.valid_options" type="strlist">acl</append>
    <append key="volume.mount.valid_options" type="strlist">user_xattr</append>
    <append key="volume.mount.valid_options" type="strlist">data=</append>
      </match>

      <!-- allow these mount options for ext2 -->
      <match key="volume.fstype" string="ext2">
    <append key="volume.mount.valid_options" type="strlist">acl</append>
    <append key="volume.mount.valid_options" type="strlist">user_xattr</append>
      </match>

      <!-- allow these mount options for ufs -->
      <match key="volume.fstype" string="ufs">
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
      <append key="volume.mount.valid_options" type="strlist">ufstype=</append>
    </match>
      </match>

      <!-- udf -->
      <match key="volume.fstype" string="udf">
    <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">umask=</append>
    </match>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
      <append key="volume.mount.valid_options" type="strlist">-C=</append>
      <append key="volume.mount.valid_options" type="strlist">-v</append>
    </match>
      </match>

      <!-- iso9660 -->
      <match key="volume.fstype" string="iso9660">
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
      <append key="volume.mount.valid_options" type="strlist">utf8</append>
      <append key="volume.mount.valid_options" type="strlist">uid=</append>
      <append key="volume.mount.valid_options" type="strlist">mode=</append>
      <append key="volume.mount.valid_options" type="strlist">iocharset=</append>
    </match>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="FreeBSD">
      <append key="volume.mount.valid_options" type="strlist">extatt</append>
      <append key="volume.mount.valid_options" type="strlist">gens</append>
      <append key="volume.mount.valid_options" type="strlist">nojoliet</append>
      <append key="volume.mount.valid_options" type="strlist">norrip</append>
      <append key="volume.mount.valid_options" type="strlist">nostrictjoliet</append>
      <append key="volume.mount.valid_options" type="strlist">-s=</append>
      <append key="volume.mount.valid_options" type="strlist">-C=</append>
      <append key="volume.mount.valid_options" type="strlist">-v</append>
    </match>
      </match>

      <!-- allow these unmount options -->
      <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux">
        <append key="volume.unmount.valid_options" type="strlist">lazy</append>
      </match>

    </match>

    <!-- make sure we export Eject on discs where we don't recognize the file system -->
    <match key="volume.is_disc" bool="true">
      <match key="volume.fsusage" string="">
        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Volume</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_names" type="strlist">Eject</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Volume.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Volume.method_execpaths" type="strlist">hal-storage-eject</append>
      </match>
    </match>

    <match key="storage.requires_eject" bool="true">
        <!-- storage Eject causes eject on each volume on this storage -->
        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Storage</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_names" type="strlist">Eject</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Storage.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_execpaths" type="strlist">hal-storage-eject</append>

        <append key="info.interfaces" type="strlist">org.freedesktop.Hal.Device.Storage</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_names" type="strlist">CloseTray</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_signatures" type="strlist">as</append>
    <append key="org.freedesktop.Hal.Device.Storage.method_argnames" type="strlist">extra_options</append>
        <append key="org.freedesktop.Hal.Device.Storage.method_execpaths" type="strlist">hal-storage-closetray</append>
    </match>
  </device>
</deviceinfo>

Finaly:
# groups trotos
disk wheel video audio optical floppy storage users dbus hal trotos

AnyIdeas Why Still As User I Get The TODO S#@$t???

Thank You

I'm such a noob

KDE have this option when you right-click on a HDD from properties at the mount section at the end:
mount by user
UNCHECK ΤΗΑΤ ΟΝΕ and done

Last edited by trotos (2008-06-17 13:53:41)

Offline

#2 2008-06-18 16:33:15

cyt
Member
From: Taipei, Taiwan
Registered: 2006-03-22
Posts: 18

Re: [Solved] [YAKA] Yet Another KDE 3.5.9+hal+ntfs-3g Automount Prob

Did you ever encounter these error messages:

[cyt@arch ~]$ dmesg | tail
NTFS driver 2.1.29 [Flags: R/W MODULE].
NTFS-fs error (device sdb5): parse_options(): Unrecognized mount option locale.
NTFS-fs warning (device sdb5): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel.

I do not add those hal related policy files, and just uncheck the "mount by user" option.

Offline

#3 2008-06-22 12:11:31

trotos
Member
Registered: 2008-05-29
Posts: 28

Re: [Solved] [YAKA] Yet Another KDE 3.5.9+hal+ntfs-3g Automount Prob

sorry for not responding earlier.

I truly do not recall an error as those.
Maybe this one has to do with foreing disk labels, one that is mentioned in the wiki about ntfs-3g/hal, check it, it gives a solution to that.

I had another problem of foldres/files in ntfs partitions not showing up when are named with Greek characters. I haven't yet apply the solution, don't have time right now to test things!!!

Offline

#4 2008-06-22 12:19:05

XAD
Member
From: Roskilde, Denmark
Registered: 2008-06-16
Posts: 23

Re: [Solved] [YAKA] Yet Another KDE 3.5.9+hal+ntfs-3g Automount Prob

Hi,

You don't have a drive with ntfs-3g in your fstab. Í got the same msg, in the end I looked up ntfs (and subsequently fstab) in the wiki. the "defaults" has all sorts of options

Although I ditched the locale part of it, that may be the answer to your orher problem.

Offline

#5 2008-07-09 14:53:26

trotos
Member
Registered: 2008-05-29
Posts: 28

Re: [Solved] [YAKA] Yet Another KDE 3.5.9+hal+ntfs-3g Automount Prob

OK
sorry for the delay,

for the ntfs-3g, HAL to work in KDE, you have after the modification in the policies, to right click on the drive, then on the last tub to uncheck the user something option, cannot remember right now what was that option, but had to do with the mounting of the specific drive by the user and not nly b the root, HAS TO BE UNCHECKED,
the lasat of the four choices if I remember correctly.

Offline

Board footer

Powered by FluxBB