public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Denis Vlasenko <vda@ilport.com.ua>
To: "Rafael Espíndola" <rafael.espindola@gmail.com>,
	gentoo-dev@gentoo.org, gentoo-catalyst@gentoo.org,
	linux-kernel@vger.kernel.org
Subject: Re: unmounting a filesystem mounted by /init (initramfs)
Date: Fri, 29 Jul 2005 08:34:35 +0300	[thread overview]
Message-ID: <200507290834.35504.vda@ilport.com.ua> (raw)
In-Reply-To: <564d96fb050728154923ba8663@mail.gmail.com>

On Friday 29 July 2005 01:49, you wrote:
> I am trying to build a system that uses a unionfs as root. The init
> script is based on the one used by gentoo and uses initramfs. The
> problem is how to remount the unionfs constituents read only during
> halt.
> 
> cat /proc/mounts displays /dev/hda1 (ext2) mounted rw in /memory. The
> problem is that /memory is no longer visible after the init script did
> a chroot and a

"A chroot"? Better provide exact sequence of mounts, chroots which you
execute. Otherwise people need to guess.
 
> mount -o remount,ro /dev/hda1
> 
> says that /dev/hda1 is not mounted!
> 
> does any anyone has an idea?

Use lazy umount (umount -l) while fs is still visible
--
vda


  reply	other threads:[~2005-07-29  5:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 22:49 unmounting a filesystem mounted by /init (initramfs) Rafael Espíndola
2005-07-29  5:34 ` Denis Vlasenko [this message]
2005-07-29 13:37   ` Rafael Ávila de Espíndola
2005-07-29 20:24   ` Rafael Ávila de Espíndola

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=200507290834.35504.vda@ilport.com.ua \
    --to=vda@ilport.com.ua \
    --cc=gentoo-catalyst@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael.espindola@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox