[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: A fuse based initfs
- From: "Nathaniel McCallum" <npmccallum gmail com>
- To: jon nettleton gmail com, fedora-devel-list redhat com
- Cc:
- Subject: Re: A fuse based initfs
- Date: Fri, 24 Aug 2007 16:41:07 -0400
Sorry for the new email, I just joined the mailing list.
Jon, can you define exactly what your requirements are? So far I have
seen the need to start applications which use sockets and logging and
than transfer those sockets/logs into the new root for use after pivot
root. What is stoping you from doing something like this?:
mount -t tmpfs none /var/run/dbus/
mount -t tmpfs none /var/log
start dbus
start syslog
... do stuff ...
mount new root
mount --move /var/run/dbus /path/to/new/root/var/run/dbus
stop syslog
cat /var/log/messages >> /path/to/new/root/var/log/messages
ln -s /path/to/new/root/var/log/messages /var/log/messages
start syslog
pivot root
(Though of course this breaks syslog in more ways than one. ;))
Nathaniel
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]