| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

unionfs

This version was saved 16 years ago View current version     Page history
Saved by PBworks
on April 17, 2008 at 12:16:21 pm
 

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

 



 

Description

Official page

 

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

 

To add files in /usr/bin to /bin, extending the number of available commands, you could use:

 

mount -t unionfs none -o dirs=/usr/bin=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.
  • Confirmed working on stock 1.5.1 kernel.

Comments (0)

You don't have permission to comment on this page.