ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Sidorov <alex@reutman.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] HAL KDE и (авто)монтирование дискет
Date: Thu, 22 Mar 2007 10:17:00 +0300
Message-ID: <46022D6C.10503@reutman.ru> (raw)

Здравствуйте.
Вобщем озадачился проблемой - KDE не хочет монтировать дискеты через hal
Впрочем и hal как-то неполно ведёт себя:
udi = '/org/freedesktop/Hal/devices/platform_floppy_0'
  info.bus = 'platform'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Platform Device (floppy.0)'  (string)
  info.subsystem = 'platform'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'platform'  (string)
  linux.sysfs_path = '/sys/devices/platform/floppy.0'  (string)
  platform.id = 'floppy.0'  (string)

udi = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'
  block.device = '/dev/fd0'  (string)
  block.is_volume = false  (bool)
  block.major = 2  (0x2)  (int)
  block.minor = 0  (0x0)  (int)
  block.storage_device = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'  (string)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  info.product = 'PC Floppy Drive'  (string)
  info.udi = '/org/freedesktop/Hal/devices/platform_floppy_0_storage'  (string)
  info.vendor = ''  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/fd0'  (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.automount_enabled_hint = true  (bool)
  storage.bus = 'platform'  (string)
  storage.drive_type = 'floppy'  (string)
  storage.hotpluggable = false  (bool)
  storage.media_check_enabled = false  (bool)
  storage.model = ''  (string)
  storage.no_partitions_hint = true  (bool)
  storage.originating_device = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  storage.physical_device = '/org/freedesktop/Hal/devices/platform_floppy_0'  (string)
  storage.removable = true  (bool)
  storage.removable.media_available = false  (bool)
  storage.requires_eject = false  (bool)
  storage.size = 0  (0x0)  (uint64)
  storage.vendor = 'PC Floppy Drive'  (string)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet',
'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'uid='} (string list)

и всё.
вопрос: почему hal не определяет автоматом fs как делает это для CD/DVD/flash и т.п.?

при попытке правой кнопкой мыши на значке дискеты на рабочем столе кде выбрать "монтировать" кде
скрипит дискетой, а потом выдаёт "Ошибка - kio_media_mounthelper: mount: you must specify the
filesystem type"

как лечить?
я так понимаю виноват hal, который не прописывает соответствующий udi для volume?

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225


             reply	other threads:[~2007-03-22  7:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22  7:17 Alexey Sidorov [this message]
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
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=46022D6C.10503@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