public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael Espíndola" <rafael.espindola@gmail.com>
To: gentoo-dev@gentoo.org, gentoo-catalyst@gentoo.org,
	linux-kernel@vger.kernel.org
Subject: unmounting a filesystem mounted by /init (initramfs)
Date: Thu, 28 Jul 2005 22:49:07 +0000	[thread overview]
Message-ID: <564d96fb050728154923ba8663@mail.gmail.com> (raw)

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

mount -o remount,ro /dev/hda1

says that /dev/hda1 is not mounted!

does any anyone has an idea?

Thanks,
Rafael

             reply	other threads:[~2005-07-28 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 22:49 Rafael Espíndola [this message]
2005-07-29  5:34 ` unmounting a filesystem mounted by /init (initramfs) Denis Vlasenko
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=564d96fb050728154923ba8663@mail.gmail.com \
    --to=rafael.espindola@gmail.com \
    --cc=gentoo-catalyst@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=linux-kernel@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