ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hal как он есть сейчас
@ 2006-04-27  9:12 Andrei Bulava
  2006-04-27  9:43 ` Alexey I. Froloff
  2006-04-27  9:55 ` Anton Farygin
  0 siblings, 2 replies; 8+ messages in thread
From: Andrei Bulava @ 2006-04-27  9:12 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Hi!

Я экспериментирую с "голым" pmount в отсутствие ivman. Надо признать,
что занятие это немного хардкорное, хотя и увлекательное :-)

Итак, мои экзерсисы:

$ hal-find-by-capability --capability storage
/org/freedesktop/Hal/devices/storage_serial_00000000000000000001
/org/freedesktop/Hal/devices/storage_serial_01000000000000000001
/org/freedesktop/Hal/devices/storage_serial_11000000000000000001
/org/freedesktop/Hal/devices/platform_floppy_0_storage
/org/freedesktop/Hal/devices/storage_serial_10000000000000000001

По результатам анализа `hal-device
/org/freedesktop/Hal/devices/storage_serial_10000000000000000001` я
узнал, что нужный мне cdrom можно было найти и проще:

$ hal-find-by-property --verbose --key block.device --string /dev/hdc
Found 1 device objects with string property block.device = '/dev/hdc'
/org/freedesktop/Hal/devices/storage_serial_10000000000000000001

Вот только результат

$ pmount-hal
/org/freedesktop/Hal/devices/storage_serial_10000000000000000001

сразил меня раз и наповал:

$ mount|grep hdc
/dev/hdc on /media/usbdisk type iso9660
(ro,noexec,nosuid,nodev,uid=500,gid=500)

С чего бы это вдруг? Почему не /media/cdrom?

P.S. А вообще, конечно, перспектива не такая уж мрачная: работать в
консоли в отсутствие неестественного интеллекта (любого рода:
fstab-sync, subfs, supermount, ivman) всё-таки можно. Ещё бы консольную
программку-надстройку над hal и pmount-hal для ручного
монтирования-размонтирования - и тему removable storage в GNU/Linux
можно было б считать раскрытой (X-aware GUI сами о своих пользователях
позаботятся ;-)

-- 
// AB1002-UANIC



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-27 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27  9:12 [sisyphus] hal как он есть сейчас Andrei Bulava
2006-04-27  9:43 ` Alexey I. Froloff
2006-04-27 10:16   ` Andrei Bulava
2006-04-27 10:28     ` Alexey I. Froloff
2006-04-27 10:33       ` Andrei Bulava
2006-04-27 11:19         ` Anton Farygin
2006-04-27 12:11       ` Sergey V Turchin
2006-04-27  9:55 ` Anton Farygin

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