Re: cp'ing passive translators
Moritz Schulte <moritz@duesseldorf.ccc.de> writes:
> If i would like to clone a GNU system via archiving the filesystem
> tree and extracting it later somewhere else, I would expect to also
> have /home archived although it's a different partition than the root
> filesystem, it's a passive translator sitting on /home. But I would
> also expect that /dev/zero would be simply a passive translated file
> on the destination system.
At least, for these examples, there is a simple difference: If you
stat the two nodes, /home is a directory (S_ISDIR), while /dev/zero
isn't. So simply recursing into all directories, and copying
translator-settings for non-directories, would do what you want.
/Niels
Reply to: