Gentoo Archives: gentoo-catalyst

From: "Rafael Espíndola" <rafael.espindola@×××××.com>
To: gentoo-dev@l.g.o, gentoo-catalyst@l.g.o, linux-kernel@×××××××××××.org
Subject: [gentoo-catalyst] unmounting a filesystem mounted by /init (initramfs)
Date: Thu, 28 Jul 2005 22:49:29
Message-Id: 564d96fb050728154923ba8663@mail.gmail.com
1 I am trying to build a system that uses a unionfs as root. The init
2 script is based on the one used by gentoo and uses initramfs. The
3 problem is how to remount the unionfs constituents read only during
4 halt.
5
6 cat /proc/mounts displays /dev/hda1 (ext2) mounted rw in /memory. The
7 problem is that /memory is no longer visible after the init script did
8 a chroot and a
9
10 mount -o remount,ro /dev/hda1
11
12 says that /dev/hda1 is not mounted!
13
14 does any anyone has an idea?
15
16 Thanks,
17 Rafael
18
19 --
20 gentoo-catalyst@g.o mailing list

Replies