ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Pavel Usischev <usischev@gmail.com>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: [sisyphus] hal mount point names
Date: Wed, 17 Aug 2005 01:12:08 +0400
Message-ID: <430256A8.7070103@gmail.com> (raw)

Здравствуйте.

Обнаружил, что hal хочет некорректно монтировать мой usb флэшдрайв. Там 
два lun-a, один изображает дискетку, другой обычный. При вставлении обе 
части монтировались в /media/usbdisk, причём последней (и видимой) была 
полуторамегабайтная "дискетка". Я использую ivman+pmount, но думаю, 
эффект будет тот же и без них.

У себя я это решил добавлением в 
/etc/hal/fdi/policy/85-mount-options.fdi строчки (с соответствующей 
обвязкой), подсмотренной в hal specification:

<merge key="volume.policy.desired_mount_point" 
type="copy_property">volume.label</merge>

Хочется знать, почему так не сделано "из коробки" и есть ли какие-либо 
противопоказания. Раньше (версию не помню) вроде бы точки монтирования 
для этой же флэшки создавались usbdisk и usbdisk1. Если по меткам 
называть нехорошо, то может быть такую нумерацию, если это возможно, 
включать "из коробки"? Пригодилось бы наверное не только для двойных 
флэшек, но и на случай, если два устройства usb storage втыкают одно за 
другим.

hal-0.5.3-alt7

-- 
С уважением,
Павел Усищев


                 reply	other threads:[~2005-08-16 21:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=430256A8.7070103@gmail.com \
    --to=usischev@gmail.com \
    --cc=sisyphus@altlinux.ru \
    /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