ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@rsmu.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Параметры автомонтирования vfat
Date: Sun, 17 Jun 2007 12:57:39 +0400
Message-ID: <200706171257.39081.mak@rsmu.ru> (raw)

Добрый день.

Имеем внешний USB-диск, на одном из разделов - vfat. Имеем hal-0.5.9-alt11, 
hal-fstab-sync-0.0.1-alt2.2.1, hal-mount-subfs-0.0.1-alt1.

При подключении диска в fstab'е для него прописываются опции монтиирования 
user,noexec,nodev,noauto,nosuid,comment=managed, соответственно, рядовой юзер 
ничего на этот раздел записать не может. 

Вопрос: куда засунуть для vfat опции монтирования umask=0111,dmask=0000?

Я попробовал в файл /etc/hal/fdi/policy/91-mount-subfs.fdi добавить строки 

$ diff 91-mount-subfs.fdi.orig 91-mount-subfs.fdi
20a21,24
>         <match key="volume.fstype" string="vfat">
>               <merge key="volume.policy.mount_option.umask" 
type="string">0111</merge>
>               <merge key="volume.policy.mount_option.dmask" 
type="string">0000</merge>
>       </match>

перестартовал haldaemon, но это не помогло.

-- 
wbr, Michael A. Kangin

             reply	other threads:[~2007-06-17  8:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-17  8:57 Michael A. Kangin [this message]
2007-06-17 14:03 ` Valery V. Inozemtsev
2007-06-17 14:22   ` Michael A. Kangin
2007-06-19 14:20 ` Michael A. Kangin

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=200706171257.39081.mak@rsmu.ru \
    --to=mak@rsmu.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