diff options
Diffstat (limited to 'Hurd/LiveCD.mdwn')
-rw-r--r-- | Hurd/LiveCD.mdwn | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Hurd/LiveCD.mdwn b/Hurd/LiveCD.mdwn index 105ae60f..0d33a653 100644 --- a/Hurd/LiveCD.mdwn +++ b/Hurd/LiveCD.mdwn @@ -21,17 +21,15 @@ Here's an outline of the things that need to be done. > touch ./ramdisk > touch ./tmpfs > settrans -a ./ramdisk /hurd/storeio -Tcopy zero:50M -> /sbin/mke2fs -o hurd -b 4096 ./ramdisk +> /sbin/mke2fs -o hurd -b 4096 -F ./ramdisk > settrans -a tmpfs /hurd/ext2fs.static ./ramdisk -> fsysopts --writable ./ramdisk +> fsysopts --writable ./tmpfs > cd tmpfs > touch somenewfile > -> > > Here we use two files ramdisk, and tmpfs that are already created on a readonly file system. For illustration purposes, they are touched beforehand. We run an active storeio translator on the ramdisk file to give us 50MB of RAM to work with, and then we make an ext2 filesystem on it. A boot CD would presumably have a ready-made image to copy into the ramdisk, so we wouldn't really need to run mke2fs. After making sure the file system is writable, we mount the image with an ext2fs translator onto tmpfs. And now we're writing files on a writable file system that originated on a readonly filesystem. This idea was first posted in a +> > > Here we use two files ramdisk, and tmpfs that are already created on a readonly file system. For illustration purposes, they are touched beforehand. We run an active storeio translator on the ramdisk file to give us 50MB of RAM to work with, and then we make an ext2 filesystem on it. At this point we'd could copy the contents of the /var directory into the tmpfs, and then symlink /var to /tmpfs/var. The same goes for all other mutable dirs. > > > -> > > [mail](http://lists.gnu.org/archive/html/bug-hurd/2000-12/msg00073.html) -> > > -> > > on bug-hurd, and it has some drawbacks. +> > > This approach of putting an entire ext2 filesystem in a copy zero'd store has some drawbacks listed [here](http://lists.gnu.org/archive/html/bug-hurd/2000-12/msg00073.html). Those are the essentials. Here is a list of the things which would be nice to have for a Live-CD. |