For AUFS2:
http://aufs.sourceforge.net/
For AUFS1:
http://aufs.sourceforge.net/README.aufs1
Download aufs, configure and compile it. Then install the module.
Usage example:
$ mkdir /tmp/rw /tmp/aufs
$ mount -t aufs -o dirs=/tmp/rw:${HOME}=ro none /tmp/aufs
Or
$ mount -t aufs -o br:/tmp/rw:${HOME}=ro none /tmp/aufs
/tmp/aufs = $HOME + /tmp/rw
if you touch a file in /tmp/aufs, this file will be show up in /tmp/rw, not in $HOME, because $HOME is read only
No comments:
Post a Comment