Hi,

While playing with the new betas containing unionfs, I ran across a  
useful tidbit.

Even though we are used to having the astlinux filesystem "ro", with  
the cleaver unionfs you can actually 'remove' "ro" files!

For example, (again, this is only with the asterisk-beta branch)

# rm /etc/init.d/asterisk

works, what it does is add a file ".wh.asterisk" in the /oldroot/mnt/ 
asturw/etc/init.d/ directory.

So, you can "undelete" the removed file with

# rm /oldroot/mnt/asturw/etc/init.d/.wh.asterisk

Since these files are hidden with "ls" by default, they are easily  
missed.

Pretty cool, and powerful... use with care.

Lonnie


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to