Package: pmount
Version: 0.7.2-0ubuntu1
Severity: normal

*** Please type your report below this line ***

Looking for a way to mount a CF card automatically at startup (I'm 
considering an init script), I tried:

  pmount-hal  /org/freedesktop/Hal/devices/block_266E-1415

I got: Error: invalid file system name 'msdos'
It worked after I typed:

  hal-set-property --udi /org/freedesktop/Hal/devices/block_266E-1415 
--key volume.fstype --string vfat

Shouldn't pmount use the following setting:

  volume.policy.mount_filesystem = 'vfat'


Here is the full lshal output for the card and the card reader:

udi = '/org/freedesktop/Hal/devices/block_266E-1415'
  volume.mount_point = ''  (string)
  volume.policy.mount_option.iocharset=utf8 = true  (bool)
  volume.policy.mount_option.noatime = true  (bool)
  volume.policy.mount_option.sync = true  (bool)
  volume.policy.desired_mount_point = 'usbdisk'  (string)
  volume.policy.mount_filesystem = 'vfat'  (string)
  volume.policy.should_mount = true  (bool)
  info.udi = '/org/freedesktop/Hal/devices/block_266E-1415'  (string)
  volume.partition.msdos_part_table_type = 6  (0x6)  (int)
  volume.size = 515063296  (0x1eb33e00)  (uint64)
  volume.block_size = 512  (0x200)  (int)
  volume.num_blocks = 1005983  (0xf599f)  (int)
  volume.partition.number = 1  (0x1)  (int)
  volume.is_partition = true  (bool)
  volume.is_mounted = false  (bool)
  volume.is_disc = false  (bool)
  volume.uuid = '266E-1415'  (string)
  volume.label = ''  (string)
  volume.fsversion = 'FAT16'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'msdos'  (string)
  info.product = 'Volume (vfat)'  (string)
  block.storage_device = '/org/freedesktop/Hal/devices/block_8_0'  
(string)
  block.minor = 1  (0x1)  (int)
  block.major = 8  (0x8)  (int)
  info.capabilities = 'block volume'  (string)
  info.category = 'volume'  (string)
  info.parent = '/org/freedesktop/Hal/devices/block_8_0'  (string)
  block.device = '/dev/sda1'  (string)
  block.is_volume = true  (bool)
  block.have_scanned = false  (bool)
  block.no_partitions = false  (bool)
  linux.sysfs_path_device = '/sys/block/sda/sda1'  (string)
  linux.sysfs_path = '/sys/block/sda/sda1'  (string)
  info.bus = 'block'  (string)


udi = '/org/freedesktop/Hal/devices/block_8_0'
  storage.policy.should_mount = true  (bool)
  info.udi = '/org/freedesktop/Hal/devices/block_8_0'  (string)
  storage.requires_eject = false  (bool)
  storage.hotpluggable = true  (bool)
  storage.removable = true  (bool)
  info.product = 'USB 2 HS-CF'  (string)
  info.vendor = 'SMSC'  (string)
  storage.drive_type = 'compact_flash'  (string)
  block.storage_device = '/org/freedesktop/Hal/devices/block_8_0'  
(string)
  storage.physical_device = 
'/org/freedesktop/Hal/devices/usb_usb_device_424_20fc_125_-1_03061270015D_0'  
(string)
  storage.vendor = 'SMSC'  (string)
  storage.model = 'USB 2 HS-CF'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.no_partitions_hint = false  (bool)
  storage.media_check_enabled = true  (bool)
  storage.bus = 'usb'  (string)
  block.minor = 0  (0x0)  (int)
  block.major = 8  (0x8)  (int)
  info.capabilities = 'block storage'  (string)
  info.category = 'storage'  (string)
  info.parent = '/org/freedesktop/Hal/devices/scsi_1_0_0_0'  (string)
  block.device = '/dev/sda'  (string)
  block.is_volume = false  (bool)
  block.have_scanned = false  (bool)
  block.no_partitions = false  (bool)
  linux.sysfs_path_device = '/sys/block/sda'  (string)
  linux.sysfs_path = '/sys/block/sda'  (string)



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-5-686
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)

Versions of packages pmount depends on:
ii  dbus-1              0.23.4-0ubuntu3      simple interprocess
messaging syst
ii  libc6               2.3.2.ds1-20ubuntu13 GNU C Library: Shared
libraries an
ii  libhal0             0.4.7-1ubuntu15      Hardware Abstraction Layer
- share
ii  libsysfs1           1.1.0-1              Interface library to sysfs

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to