Union-FS
Union-FS (unionctl, unionfs.o) is a linux kernel module "which can appear to merge the contents of several directories (branches), while keeping their physical content separate".
Version: 1.0.14
Status: Done
Usage
The unionfs driver must be loaded before attempting to create any union mounts. To load the driver, execute the following command:
/sbin/insmod /usr/lib/modules/2.4.17-uc0/unionfs.o
using /usr/lib/modules/2.4.17-uc0/unionfs.o
After successfully loading the module, you can remount directories in stacks. To make your /etc writable with a ram overlay, try:
mkdir -p /mnt/etc
mount -t ramfs none /mnt/etc
mount -t unionfs none -o dirs=/mnt/etc=rw,/etc=ro /etc
To add or change files in /bin, you could use:
mkdir -p /usr/rootbin
cp /usr/mytest/dvdplayer.bin /usr/rootbin
mount -t unionfs none -o dirs=/usr/rootbin=rw,/bin=ro /bin
For skinning, you could use an HDD mount to mount over /img:
mount -t unionfs none -o dirs=/usr/img=rw,/bin=ro /img
History
Version 1.0.14 - [John, 2008-04]
- Ported unionfs to the new kernel.
Comments (0)
You don't have permission to comment on this page.