Forcing mount point for a volume
Igor Pruchanskiy
subscribed at linuxinside.com
Wed Sep 15 17:14:11 PDT 2004
Is there any way to force a mount point for a specific volume ?
I am trying to get my iPod to be mounted to /mnt/ipod instead of
/media/usbdisk
This is my ipod.fdi file
-- snip --
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="volume.uuid" string="0ADF-5860">
<merge key="volume.mount_point" type="string">/mnt/ipod</merge>
</match>
</device>
</deviceinfo>
-- snip --
Am i doing something wrong here ?
Also after a recent update h-d-m can not read my Volume ID anymore. All
i see is "????????[]?[]".
I assume this is something UTF-8 related ?
Here is `lshal` output
udi = '/org/freedesktop/Hal/devices/block_0ADF-5860'
volume.mount_point = '/media/usbdisk' (string)
info.udi = '/org/freedesktop/Hal/devices/block_0ADF-5860' (string)
volume.block_size = 512 (0x200) (int)
volume.num_blocks = 38973690 (0x252b0fa) (int)
volume.is_mounted = true (bool)
volume.is_disc = false (bool)
volume.uuid = '0ADF-5860' (string)
volume.label = '?????????' (string)
volume.fsversion = 'FAT32' (string)
volume.fsusage = 'filesystem' (string)
volume.fstype = 'vfat' (string)
info.product = '?????????' (string)
block.storage_device = '/org/freedesktop/Hal/devices/block_8_0' (string)
block.minor = 2 (0x2) (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/scsi/host6/bus0/target0/lun0/part2' (string)
block.is_volume = true (bool)
block.have_scanned = false (bool)
block.no_partitions = false (bool)
linux.sysfs_path_device = '/sys/block/sda/sda2' (string)
linux.sysfs_path = '/sys/block/sda/sda2' (string)
info.bus = 'block' (string)
Thanks in advance.
i
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list