Cloning a running Linux OS

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Wed Sep 10 17:14:06 UTC 2008


On Wed, Sep 10, 2008 at 11:14:57AM -0400, Tyler Aviss wrote:
> Just as a side-question - I generally don't use extended ACL's on my
> machines so I can't test it - if you boot from a bootdisk and copy/zip
> a filesystem with extended permissions/ACLs/attributes, what happens
> to them if the liveCD kernel doesn't have support for them.
> 
> Are they copied and ignored, or are they not copied at all as the host
> FS doesn't know how to deal with them?

You have to mount the filesystem with acl support to use them.  The
tools need to support them to use them.

One method I have used for backups, is to backup the data and backup the
ACL info (using getfacl -R to dump the data to a file in a format that
can later be restored using setfacl).

star supposedly supports ACLs, but I don't feel like dealing with that
interface (it's a lot like cdrecord for obvious reasons).

rsync supports ACL in version 3.x (2.x needed a patch and is not
compatible with the 3.x method of doing ACL).

If your tools don't support ACL or you don't mount with support for
them, then they are simply ignored.  Well if mounted with ACL support
the OS will enforce the ACLs, but tools may not copy them if you copy
files around.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list