ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] mount -oquiet
Date: Fri, 15 Dec 2006 21:39:19 +0300
Message-ID: <20061215183919.GB7880@procyon.home> (raw)
In-Reply-To: <200612151216.55207.altlinux-sisyphus@yandex.ru>

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

On Fri, Dec 15, 2006 at 12:16:53PM +0300, ABATAPA wrote:
> # mount 
> ...
>  /dev/sdb1 on /media/usbdisk type vfat 
> (rw,noexec,nosuid,nodev,quiet,noatime,uid=500,shortname=mixed)

Эта информация берётся из /etc/mtab, куда её пишет сам же mount.

> Но вот в `cat /proc/mounts` опции quiet нет:
> # grep sdb1 /proc/mounts
> /dev/sdb1 /media/usbdisk vfat 
> rw,nosuid,nodev,noexec,noatime,fmask=0077,dmask=0077,codepage=cp866,iocharset=koi8-r,shortname=mixed 
> 0 0

А это информация, которая реально используется ядром.

> Она вообще там показывается?

Вообще опции монтирования в /proc/mounts могут быть и не видны (это
зависит от того, реализует ли конкретная файловая система функцию для
вывода использующихся опций в текстовом виде).  В случае vfat опции в
/proc/mounts показываются правильно.

> Что изменилось? Ядро-то то же самое, оно при `apt-get dist-upgrade` не должно 
> меняться, и не менялось...

Сломан mount-2.12r-alt3:
https://bugzilla.altlinux.org/show_bug.cgi?id=10434

Опция quiet просто не передаётся в ядро.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-12-15 18:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 18:30 ABATAPA
2006-12-14 20:23 ` Sergey Vlasov
2006-12-15  9:16   ` ABATAPA
2006-12-15 18:39     ` Sergey Vlasov [this message]
2006-12-16 14:45       ` ABATAPA

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=20061215183919.GB7880@procyon.home \
    --to=vsu@altlinux.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