public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Bruce Dubbs <bruce.dubbs@gmail.com>
To: util-linux@vger.kernel.org
Subject: umount -r
Date: Thu, 09 May 2013 23:05:58 -0500	[thread overview]
Message-ID: <518C7226.7020407@gmail.com> (raw)

We have as a part of our shutdown scripts:

umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc

What we expect is that the rootfs (/) will fail, but be remounted read 
only.  This doesn't seem to be happening because we get messages about 
recovery needed during the next boot.

We can work around it by adding

mount -n -o remount,ro /

I have a report that umount works as expected in version 2.21.2, but not 
in 2.22.2 or later.  I this a misunderstanding about umount or a bug?

   -- Bruce Dubbs
      linuxfromscratch

             reply	other threads:[~2013-05-10  4:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10  4:05 Bruce Dubbs [this message]
2013-05-13 12:41 ` umount -r Karel Zak

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=518C7226.7020407@gmail.com \
    --to=bruce.dubbs@gmail.com \
    --cc=util-linux@vger.kernel.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