On Mon, Aug 22, 2005 at 11:54:54PM -0300, Javier Kohen wrote:
> Hi,
>
> El lun, 22-08-2005 a las 19:44 +0200, Sjoerd Simons escribió:
>
> > > $ ls -l /dev/sda*
> > > brw-r----- 1 root hal 8, 0 2005-08-22 14:05 /dev/sda
> > > brw-r----- 1 root hal 8, 1 2005-08-22 14:05 /dev/sda1
> > > brw-r----- 1 root hal 8, 2 2005-08-22 14:05 /dev/sda2
> >
> > Can you run
> > hald --daemon=no --verbose=yes --drop-privileges as root after stopping
> > hal
> > (/etc/dbus-1/event.d/20hal stop).
> >
> > Please mail the output hal gives when you plug in your usb disk. And also
> > please mail the lshal output.
>
> Both files attached. Note that the disk was plugged at 23:51:08.113.
> udi =
> '/org/freedesktop/Hal/devices/block_df3c7c58-063f-45e1-abdf-6c5364ec16c2'
> volume.mount_point = '/media/usbdisk' (string)
> volume.policy.mount_option.noatime = false (bool)
> volume.policy.mount_option.sync = false (bool)
> volume.policy.desired_mount_point = 'usbdisk' (string)
> volume.policy.mount_filesystem = 'ext3' (string)
> volume.policy.should_mount = true (bool)
> info.udi =
> '/org/freedesktop/Hal/devices/block_df3c7c58-063f-45e1-abdf-6c5364ec16c2'
> (string)
> volume.partition.msdos_part_table_type = 131 (0x83) (int)
> volume.size = 200005876224 (0x2e91477a00) (uint64)
> volume.block_size = 512 (0x200) (int)
> volume.num_blocks = 390636477 (0x1748a3bd) (int)
> volume.partition.number = 1 (0x1) (int)
> volume.is_partition = true (bool)
> volume.is_mounted = true (bool)
> volume.is_disc = false (bool)
> volume.uuid = 'df3c7c58-063f-45e1-abdf-6c5364ec16c2' (string)
> volume.label = '' (string)
> volume.fsversion = '' (string)
> volume.fsusage = 'filesystem' (string)
> volume.fstype = 'ext3' (string)
> info.product = 'Volume (ext3)' (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)
> block.device = '/dev/sda1' (string)
> info.parent = '/org/freedesktop/Hal/devices/block_8_0' (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)
That entry looks fine, with the udi you wanted.. Or am i missing something ?
Sjoerd
PS: Please keep the bug in the CC
--
How often I found where I should be going only by setting out for somewhere
else.
-- R. Buckminster Fuller