ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] hal-mount-subfs, где рулить параметрами монтирования?
Date: Sat, 11 Apr 2009 15:21:30 +0400
Message-ID: <200904111521.30438.serpiph@nikiet.ru> (raw)
In-Reply-To: <49E0AF48.4060002@rambler.ru>

On Saturday 11 April 2009 18:55:04 Yury Aliaev wrote:
> Я, наконец, разобрался с проблемой. Оказалось, что виноват не
> 50-cd-drive-instead-disk.fdi, а 90-submount-fs-options-koi8-r.fdi. Там
> есть строчка:
>
> <merge key="storage.policy.mount_options"
> type="string">nodev,nosuid,noexec,noatime</merge>
>
> которая перебивает все предыдущие параметры монтирования. В неё как раз
> и надо дописать ",mode=0444". НО!!! При этом subfs монтируется с
> параметром mode=0444, а udf, как известно, не поддкерживает параметр
> "mode". Поэтому монтирование дисков с udf отваливается. НО!!!!! не всё
> так плохо, я нашёл патч для ядра (добавляет mode и по желанию dmode для
> каталогов) и исправил его для работы с 2.6.28 (надеюсь, что сегодня
> выложу в рассылках devel-kernel и Kernels Кости Лепихова. На себе
> проверил -- всё работает :)
>

Есть файл /usr/share/hal/fdi/policy/20thirdparty/49-submount-fs-options.fdi, 
в котором есть образцы, как для конкретной системы перебить эти самые 
параметры. На их основе сделать свой .fdi и положить в /etc/hal/fdi/policy.

После этого и udf будет нормально работать.

-- 
С уважением, Епифанов Сергей


  reply	other threads:[~2009-04-11 11:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 14:27 Yury Aliaev
2009-03-27 20:10 ` Igor Vlasenko
2009-03-28 11:52 ` Michael A. Kangin
2009-03-29 22:54   ` Yury Aliaev
2009-03-30 17:09     ` Michael A. Kangin
2009-04-01 15:10       ` Yury Aliaev
2009-04-03  8:40         ` Michael A. Kangin
2009-04-05 23:36           ` Yury Aliaev
2009-04-11 14:55             ` Yury Aliaev
2009-04-11 11:21               ` Epiphanov Sergei [this message]
2009-04-11 17:02                 ` Yury Aliaev
2009-04-13  7:28                   ` Epiphanov Sergei

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=200904111521.30438.serpiph@nikiet.ru \
    --to=serpiph@nikiet.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