Problem with automount ntfs partition
mbr
yourpadre at gmail.com
Fri Sep 29 13:23:03 PDT 2006
I wish what partitions ntfs automount with permision read-only jot all users
i have slackware 10.2 + Gnome 2.14 (gsb.sf.net)
i have /etc/hal/fdi/policy/30-user.fdi but not work.
<deviceinfo version="0.2">
<device>
<match key="block.is_volume" bool="true">
<match key="volume.is_mounted" bool="false">
<match key="volume.fstype" string="ntfs">
<merge key="volume.policy.mount_option.users"
type="bool">true</merge> <merge
ker="volume.policy.mount_option.ro" type="bool">true</merge>
<merge key="volume.policy.mount_option.mask=666"
type="bool">true</merge>
</match>
</match>
</match>
</device>
</deviceinfo>
the exit lshal:
bash-3.00$ lshal --show
'/org/freedesktop/Hal/devices/volume_uuid_DE744D92744D6E79' -l
udi = '/org/freedesktop/Hal/devices/volume_uuid_DE744D92744D6E79'
volume.unmount.valid_options = {'lazy'} (string list)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths =
{'hal-system-storage-mount', 'hal-system-storage-unmount',
'hal-system-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as',
'as'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount',
'Unmount', 'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
volume.ignore = false (bool)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_DE744D92744D6E79'
(string)
volume.partition.msdos_part_table_type = 7 (0x7) (int)
info.product = 'Win2003' (string)
volume.size = 42952379904 (0xa00294e00) (uint64)
volume.num_blocks = 83891367 (0x50014a7) (int)
volume.block_size = 512 (0x200) (int)
volume.partition.number = 1 (0x1) (int)
info.capabilities = {'volume', 'block'} (string list)
info.category = 'volume' (string)
volume.is_partition = true (bool)
volume.is_disc = false (bool)
volume.is_mounted = true (bool)
volume.mount_point = '/mnt/Win2003' (string)
volume.label = 'Win2003' (string)
volume.uuid = 'DE744D92744D6E79' (string)
volume.fsversion = '3.1' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'ntfs' (string)
storage.model = '' (string)
block.storage_device =
'/org/freedesktop/Hal/devices/storage_model_IC35L120AVV207_0'
(string)
block.is_volume = true (bool)
block.minor = 65 (0x41) (int)
block.major = 3 (0x3) (int)
block.device = '/dev/ide/host0/bus0/target1/lun0/part1' (string)
linux.hotplug_type = 3 (0x3) (int)
info.parent =
'/org/freedesktop/Hal/devices/storage_model_IC35L120AVV207_0'
(string)
linux.sysfs_path_device = '/sys/block/hdb/hdb1' (string)
linux.sysfs_path = '/sys/block/hdb/hdb1' (string)
after see "volume.mount.valid_options = {'ro', 'sync', 'dirsync',
'noatime', 'nodiratime', 'noexec', 'quiet'} ", why this not work my
options?
--
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
More information about the hal
mailing list