unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@gmail.com>
Cc: 19491@debbugs.gnu.org
Subject: bug#19491: /etc/mtab give wrong entries for early-mounted items.
Date: Sat, 03 Jan 2015 19:57:40 +0100	[thread overview]
Message-ID: <87egrbbskb.fsf@gnu.org> (raw)
In-Reply-To: <877fx5crcz.fsf@gmail.com> ("宋文武"'s message of "Fri, 02 Jan 2015 20:13:48 +0800")

宋文武 <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?

Thanks,
Ludo’.

  reply	other threads:[~2015-01-03 18:58 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 [this message]
2015-01-04 12:50   ` 宋文武
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=87egrbbskb.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=19491@debbugs.gnu.org \
    --cc=iyzsong@gmail.com \
    /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).