How can I "shadow" the filesystem on Linux?
Posted
by
happy_emi
on Server Fault
See other posts from Server Fault
or by happy_emi
Published on 2011-01-13T10:25:43Z
Indexed on
2011/01/13
10:55 UTC
Read the original article
Hit count: 188
linux
|filesystem
On a Linux environment sometimes I need to run a script as root which will add/modify serveral files on my fs.
Basically I'd like to know exactly which files are modified and how WITHOUT opening the script and trying to guess the code.
I was thinking about using something like unionfs: the main fs would be accessible in readonly mode and all changes are written on a file used as a partition and "mounted" in write mode.
Are there other ways to achieve the same goal (i.e. other than unionfs)?
© Server Fault or respective owner