public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jorge Martínez López" <jorgeml@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM, /usr and really really bad thoughts.
Date: Mon, 12 Mar 2012 19:13:06 +0100	[thread overview]
Message-ID: <CAMgZwF2Np96y2F3xOuZVJRKvAg8Humu6dm=4nu-=urGKMFz1tQ@mail.gmail.com> (raw)
In-Reply-To: <CADPrc806wfqCY5a41i5mKPLAjFVs+yLLRFRGz3skMGQxNZq0Ag@mail.gmail.com>

Hello!

2012/3/11 Canek Peláez Valdés <caneko@gmail.com>:

>> The next step was to remove /usr from /etc/fstab to prevent /usr from
>> being mounted twice (the boot process does not like it).
>
> Mmmh. Could you try to use LABEL= in /etc/fstab (not /etc/fstab), and
> see if that way it gets mounted, and only once? The udev developers
> recommend using either UUID or LABEL; and LABEL it's easier (and
> prettier) to set.

I actually did not remove it:
/dev/mapper/vg-usr		/usr		ext4		noauto,noatime	1 2

I am afraid of what would happen if I remove noauto. As far as I
recall the boot procedure aborted.

>
>> The last obstacle is /etc/mtab. By the time /usr is mounted I believe
>> / is mounted as read only, so mount cannot update /etc/mtab. The
>> trivial solutions is to delete /etc/mtab and make it a symlink to
>> /proc/mounts . In that case it is always up to date.
>
> I think the link is to /proc/self/mounts; /proc/mounts it's a link to
> it, actually.

You are right.

Cheers,
-- 
Jorge Martínez López <jorgeml@gmail.com> http://www.jorgeml.net
      Google Talk / XMPP: jorgeml@gmail.com



  reply	other threads:[~2012-03-12 18:15 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-10  2:48 [gentoo-user] LVM, /usr and really really bad thoughts Dale
2012-03-10  3:44 ` Canek Peláez Valdés
2012-03-10  4:16   ` Dale
2012-03-10  5:41     ` Canek Peláez Valdés
2012-03-10  6:03       ` Dale
2012-03-10  8:45         ` Neil Bothwick
2012-03-10  9:45           ` Dale
2012-03-10  9:52             ` Neil Bothwick
2012-03-10  9:53             ` Neil Bothwick
2012-03-10 10:30               ` Dale
2012-03-10 10:49                 ` Neil Bothwick
2012-03-10 11:28                   ` Dale
2012-03-10 11:12             ` William Kenworthy
2012-03-10 10:58 ` pk
2012-03-10 15:35   ` Neil Bothwick
2012-03-10 20:50     ` pk
2012-03-10 21:01       ` Canek Peláez Valdés
2012-03-10 22:12       ` Neil Bothwick
2012-03-11  2:36       ` Canek Peláez Valdés
2012-03-11  9:37         ` pk
2012-03-11 12:16           ` Jorge Martínez López
2012-03-11 18:26             ` Canek Peláez Valdés
2012-03-12 18:13               ` Jorge Martínez López [this message]
2012-03-11 20:59             ` [gentoo-user] " walt
2012-03-12 18:23               ` Jorge Martínez López
2012-03-12 18:30                 ` Michael Mol
2012-03-12 18:39                   ` Bruce Hill, Jr.
2012-03-12 20:25                     ` Mick
2012-03-12 20:39                     ` Michael Mol
2012-03-12 20:40                     ` Alan McKinnon
2012-03-12 23:22                     ` Dale
2012-03-12 23:53                       ` Canek Peláez Valdés
2012-03-13 15:35                         ` Alan McKinnon
2012-03-13 15:50                           ` Pandu Poluan
2012-03-13  1:58                       ` Mike Edenfield
2012-03-13  4:54                         ` Pandu Poluan
2012-03-13  7:13                           ` Alan McKinnon
2012-03-13  7:31                             ` Pandu Poluan
2012-03-13  7:38                               ` Canek Peláez Valdés
2012-03-13  8:03                                 ` Pandu Poluan
2012-03-13 11:07                                 ` Neil Bothwick
2012-03-13 18:34                             ` pk
2012-03-14 16:17                             ` Mike Edenfield
2012-03-14 16:28                               ` Pandu Poluan
2012-03-14 22:15                                 ` Mike Edenfield
2012-03-15  1:03                                   ` Walter Dnes
2012-03-15  2:47                                     ` Dale
2012-03-15  9:13                                       ` Neil Bothwick
2012-03-15 10:10                                         ` Dale
2012-03-15 10:18                                           ` Neil Bothwick
2012-03-15 12:41                                         ` Tanstaafl
2012-03-15 13:05                                           ` Neil Bothwick
2012-03-15 13:56                                             ` Tanstaafl
2012-03-15 14:13                                               ` Neil Bothwick
2012-03-15 14:13                                               ` Mark Knecht
2012-03-16  5:39                                             ` Joost Roeleveld
2012-03-16  8:47                                               ` Neil Bothwick
2012-03-15 14:09                                       ` Mike Edenfield
2012-03-15 14:47                                         ` Michael Mol
2012-03-15 16:37                                           ` Pandu Poluan
2012-03-16 18:14                                         ` Dale
2012-03-15 12:38                                     ` Tanstaafl
2012-03-13  8:09                       ` Walter Dnes
2012-03-13  8:20                         ` Canek Peláez Valdés
2012-03-14 14:21                         ` Dale
2012-03-14 14:41                         ` Alan Mackenzie
2012-03-14 14:55                           ` Pandu Poluan
2012-03-13  8:15       ` [gentoo-user] " Walter Dnes
2012-03-11  3:25     ` John Blinka
2012-03-10 17:13 ` Todd Goodman
2012-03-10 21:07   ` Dale

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='CAMgZwF2Np96y2F3xOuZVJRKvAg8Humu6dm=4nu-=urGKMFz1tQ@mail.gmail.com' \
    --to=jorgeml@gmail.com \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox