lkml.org 
[lkml]   [2005]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectunmounting a filesystem mounted by /init (initramfs)
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-29 00:52    [W:0.035 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site