unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: 宋文武 <iyzsong@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 19491@debbugs.gnu.org
Subject: bug#19491: /etc/mtab give wrong entries for early-mounted items.
Date: Sun, 04 Jan 2015 20:50:07 +0800	[thread overview]
Message-ID: <87k312oglc.fsf@gmail.com> (raw)
In-Reply-To: <87egrbbskb.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> 宋文武 <iyzsong@gmail.com> skribis:
>
>> Notably, I have:
>>   /dev/sda1 /root ext4 rw,relatime,data=ordered 0 0
>>   none /root//dev devtmpfs rw 0 0
>>
>> Which should be:
>>   /dev/sda1 / ...
>>   none /dev ...
>>
>> Why not make /etc/mtab a symlink to /proc/self/mounts?
>
> This sounds appealing, but it seems that libmount in util-linux will
> insist to update /etc/mtab.
>
> Do you have evidence that it could cope with it?
Not sure, but I think libmount should just work fine.

util-linux support this since 2.19:
  https://www.kernel.org/pub/linux/utils/util-linux/v2.19/v2.19-ReleaseNotes

Debian make this default at 2011:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494001
>
> Thanks,
> Ludo’.

  reply	other threads:[~2015-01-04 12:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02 12:13 bug#19491: /etc/mtab give wrong entries for early-mounted items 宋文武
2015-01-03 18:57 ` Ludovic Courtès
2015-01-04 12:50   ` 宋文武 [this message]
2015-01-04 16:04     ` Ludovic Courtès
2015-01-08 13:11 ` bug#19491: Fixed 宋文武

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k312oglc.fsf@gmail.com \
    --to=iyzsong@gmail.com \
    --cc=19491@debbugs.gnu.org \
    --cc=ludo@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).