From: Alexey Sidorov <alex@reutman.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] HAL KDE и ( авто ) монтирование дискет
Date: Thu, 22 Mar 2007 13:01:07 +0300
Message-ID: <460253E3.7090201@reutman.ru> (raw)
In-Reply-To: <200703221244.52153.shrek@rescom.ru>
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
естественно никто не знает, что вообще с эти делать и как монтировать.
если я конечно правильно понимаю
просто для флэшек/сидюков hal отдаёт не только storage но ещё и volume:
udi = '/org/freedesktop/Hal/devices/pci_10b9_5229_ide_0_1'
ide.channel = 1 (0x1) (int)
ide.host = 0 (0x0) (int)
info.bus = 'ide' (string)
info.linux.driver = 'ide-cdrom' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_10b9_5229' (string)
info.product = 'IDE device (slave)' (string)
info.subsystem = 'ide' (string)
info.udi = '/org/freedesktop/Hal/devices/pci_10b9_5229_ide_0_1' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'ide' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.0/ide0/0.1' (string)
udi = '/org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3540A'
access_control.file = '/dev/hdb' (string)
access_control.grant_local_session = true (bool)
block.device = '/dev/hdb' (string)
block.is_volume = false (bool)
block.major = 3 (0x3) (int)
block.minor = 64 (0x40) (int)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3540A' (string)
info.addons = {'hald-addon-storage'} (string list)
info.callouts.add = {'hal-acl-tool --add-device'} (string list)
info.callouts.remove = {'hal-acl-tool --remove-device'} (string list)
info.capabilities = {'storage', 'block', 'storage.cdrom', 'access_control'} (string list)
info.category = 'storage' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Storage', 'org.freedesktop.Hal.Device.Storage'}
(string list)
info.parent = '/org/freedesktop/Hal/devices/pci_10b9_5229_ide_0_1' (string)
info.product = '_NEC DVD_RW ND-3540A' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3540A' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/hdb' (string)
org.freedesktop.Hal.Device.Storage.method_argnames = {'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Storage.method_execpaths = {'hal-storage-eject',
'hal-storage-closetray'} (string list)
org.freedesktop.Hal.Device.Storage.method_names = {'Eject', 'CloseTray'} (string list)
org.freedesktop.Hal.Device.Storage.method_signatures = {'as', 'as'} (string list)
storage.automount_enabled_hint = true (bool)
storage.bus = 'ide' (string)
storage.cdrom.bd = false (bool)
storage.cdrom.bdr = false (bool)
storage.cdrom.bdre = false (bool)
storage.cdrom.cdr = true (bool)
storage.cdrom.cdrw = true (bool)
storage.cdrom.dvd = true (bool)
storage.cdrom.dvdplusr = true (bool)
storage.cdrom.dvdplusrdl = true (bool)
storage.cdrom.dvdplusrw = true (bool)
storage.cdrom.dvdplusrwdl = false (bool)
storage.cdrom.dvdr = true (bool)
storage.cdrom.dvdram = false (bool)
storage.cdrom.dvdrw = true (bool)
storage.cdrom.hddvd = false (bool)
storage.cdrom.hddvdr = false (bool)
storage.cdrom.hddvdrw = false (bool)
storage.cdrom.read_speed = 8467 (0x2113) (int)
storage.cdrom.support_media_changed = true (bool)
storage.cdrom.write_speed = 8467 (0x2113) (int)
storage.cdrom.write_speeds = {'8467', '7056', '5645', '4234', '2822', '1411'} (string list)
storage.drive_type = 'cdrom' (string)
storage.firmware_version = '1.01' (string)
storage.hotpluggable = false (bool)
storage.media_check_enabled = true (bool)
storage.model = '_NEC DVD_RW ND-3540A' (string)
storage.no_partitions_hint = true (bool)
storage.originating_device = '/org/freedesktop/Hal/devices/pci_10b9_5229_ide_0_1' (string)
storage.physical_device = '/org/freedesktop/Hal/devices/pci_10b9_5229_ide_0_1' (string)
storage.removable = true (bool)
storage.removable.media_available = true (bool)
storage.removable.media_size = 4259348480 (0xfde08000) (uint64)
storage.requires_eject = true (bool)
storage.size = 0 (0x0) (uint64)
storage.vendor = '' (string)
udi = '/org/freedesktop/Hal/devices/volume_label_____________'
block.device = '/dev/hdb' (string)
block.is_volume = true (bool)
block.major = 3 (0x3) (int)
block.minor = 64 (0x40) (int)
block.storage_device = '/org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3540A' (string)
info.capabilities = {'volume.disc', 'volume', 'block'} (string list)
info.category = 'volume' (string)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
info.parent = '/org/freedesktop/Hal/devices/storage_model__NEC_DVD_RW_ND_3540A' (string)
info.product = 'Фильмы' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_label_____________' (string)
linux.hotplug_type = 3 (0x3) (int)
linux.sysfs_path = '/sys/block/hdb/fakevolume' (string)
org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype extra_options',
'extra_options', 'extra_options'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-storage-unmount',
'hal-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
storage.model = '' (string)
volume.block_size = 2048 (0x800) (int)
volume.disc.capacity = 4259348480 (0xfde08000) (uint64)
volume.disc.has_audio = false (bool)
volume.disc.has_data = true (bool)
volume.disc.is_appendable = false (bool)
volume.disc.is_blank = false (bool)
volume.disc.is_rewritable = false (bool)
volume.disc.is_svcd = false (bool)
volume.disc.is_vcd = false (bool)
volume.disc.is_videodvd = false (bool)
volume.disc.type = 'dvd_plus_r' (string)
volume.fstype = 'iso9660' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = 'Joliet Extension' (string)
volume.ignore = false (bool)
volume.is_disc = true (bool)
volume.is_mounted = true (bool)
volume.is_mounted_read_only = true (bool)
volume.is_partition = false (bool)
volume.label = 'Фильмы' (string)
volume.linux.is_device_mapper = false (bool)
volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet',
'remount', 'exec', 'utf8', 'uid=', 'mode=', 'iocharset='} (string list)
volume.mount_point = '/media/cdrom' (string)
volume.num_blocks = 8319040 (0x7ef040) (int)
volume.policy.desired_mount_point = 'cdrom' (string)
volume.policy.mount_option.iocharset = 'cp-1251' (string)
volume.policy.mount_option.utf8 = false (bool)
volume.size = 4259348480 (0xfde08000) (uint64)
volume.unmount.valid_options = {'lazy'} (string list)
volume.uuid = '' (string)
--
Alexey Sidorov
mailto:alex@reutman.ru
JID: alex@reutman.ru
ICQ: 5052225
next prev parent reply other threads:[~2007-03-22 10:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 7:17 [sisyphus] HAL KDE и (авто)монтирование дискет Alexey Sidorov
2007-03-22 8:58 ` [sisyphus] HAL KDE и ( авто ) монтирование дискет Valery V. Inozemtsev
2007-03-22 9:17 ` Alexey Sidorov
2007-03-22 9:22 ` Valery V. Inozemtsev
2007-03-22 9:36 ` Alexey Sidorov
2007-03-22 9:44 ` Valery V. Inozemtsev
2007-03-22 10:01 ` Alexey Sidorov [this message]
2007-03-22 10:59 ` Valery V. Inozemtsev
2007-03-22 11:27 ` Alexey Sidorov
2007-03-22 11:38 ` Valery V. Inozemtsev
2007-03-22 17:06 ` Valery V. Inozemtsev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=460253E3.7090201@reutman.ru \
--to=alex@reutman.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git