[sisyphus] HAL KDE и ( авто ) монтирование дискет

Valery V. Inozemtsev =?iso-8859-1?q?shrek_=CE=C1_rescom=2Eru?=
Чт Мар 22 13:59:24 MSK 2007


В сообщении от 22 марта 2007 Alexey Sidorov написал(a):
> Valery V. Inozemtsev пишет:
> > В сообщении от 22 марта 2007 Alexey Sidorov написал(a):
> >> Valery V. Inozemtsev пишет:
> >>>>> а если сказать
> >>>>> # dbus-send --system --print-reply --dest=org.freedesktop.Hal
> >>>>> /org/freedesktop/Hal/devices/platform_floppy_0_storage
> >>>>> org.freedesktop.Hal.Device.Volume.Mount string:floppy string:
> >>>>> array:string:
> >>>>
> >>>> alex:alexlin ~$ dbus-send --system --print-reply
> >>>> --dest=org.freedesktop.Hal
> >>>> /org/freedesktop/Hal/devices/platform_floppy_0_storage
> >>>> org.freedesktop.Hal.Device.Volume.Mount string:floppy string:
> >>>> array:string: Error org.freedesktop.Hal.Device.Volume.UnknownFailure:
> >>>> mount: you must specify the filesystem type
> >>>
> >>> а руками она вообще монтируется?
> >>
> >> Всмысле mount -tvfat /dev/fd0 /mnt/floppy ?
> >> конечно.
> >
> > и так со всеми дискетами?
>
> да не в дискетах дело. а в том, что hal не провайдит volume.fstype, как
> впрочем и сам volume естественно никто не знает, что вообще с эти делать и
> как монтировать. если я конечно правильно понимаю

udi = '/org/freedesktop/Hal/devices/storage_serial_Y_E_DATA_FlashBuster_U'
  block.minor = 0  (0x0)  (int)
  storage.requires_eject = false  (bool)
  info.capabilities = { 'storage', 'block' } (string list)
  storage.bus = 'usb'  (string)
  storage.removable.media_available = true  (bool)
  info.category = 'storage'  (string)
  info.product = 'USB-FDU'  (string)
  storage.drive_type = 'floppy'  (string)
  storage.hotpluggable = true  (bool)
  storage.partitioning_scheme = 'none'  (string)
  storage.physical_device = '/org/freedesktop/Hal/devices/usb_device_57b_0_noserial_if0'  (string)
  storage.vendor = 'Y-E DATA'  (string)
  storage.media_check_enabled = true  (bool)
  storage.removable.media_size = 1474560  (0x168000)  (uint64)
  block.is_volume = false  (bool)
  storage.firmware_version = '0304'  (string)
  info.addons = { 'hald-addon-storage' } (string list)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Y_E_DATA_FlashBuster_U'  (string)
  storage.serial = 'Y-E_DATA_FlashBuster-U'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_57b_0_noserial_if0_scsi_host_scsi_device_lun0'  (string)
  storage.size = 0  (0x0)  (uint64)
  block.device = '/dev/sda'  (string)
  storage.no_partitions_hint = true  (bool)
  storage.removable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  info.vendor = 'Y-E DATA'  (string)
  storage.originating_device = '/org/freedesktop/Hal/devices/usb_device_57b_0_noserial_if0'  (string)
  storage.model = 'USB-FDU'  (string)
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_Y_E_DATA_FlashBuster_U'  (string)
  block.major = 8  (0x8)  (int)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sda'  (string)
  storage.automount_enabled_hint = true  (bool)

udi = '/org/freedesktop/Hal/devices/volume_uuid_2812_7834'
  block.minor = 0  (0x0)  (int)
  org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list)
  volume.ignore = false  (bool)
  volume.label = ''  (string)
  info.capabilities = { 'volume', 'block' } (string list)
  volume.is_partition = false  (bool)
  volume.mount_point = ''  (string)
  info.category = 'volume'  (string)
  info.product = 'Volume (vfat)'  (string)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  block.is_volume = true  (bool)
  volume.linux.is_device_mapper = false  (bool)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Y_E_DATA_FlashBuster_U'  (string)
  info.parent = '/org/freedesktop/Hal/devices/storage_serial_Y_E_DATA_FlashBuster_U'  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.num_blocks = 2880  (0xb40)  (int)
  volume.fsversion = 'FAT12'  (string)
  block.device = '/dev/sda'  (string)
  volume.uuid = '2812-7834'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.is_mounted_read_only = false  (bool)
  org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list)
  info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
  storage.model = ''  (string)
  volume.size = 1474560  (0x168000)  (uint64)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_2812_7834'  (string)
  volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=' } (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list)
  block.major = 8  (0x8)  (int)
  volume.fstype = 'vfat'  (string)
  org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list)
  volume.unmount.valid_options = { 'lazy' } (string list)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sda/fakevolume'  (string)

-- 
Valery V. Inozemtsev
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20070322/107d477c/attachment-0003.bin>


Подробная информация о списке рассылки Sisyphus