Re: LVM
On 9/5/07, Roland M. Kruggel <rk.liste@bbf7.de> wrote:
> Am Dienstag, 4. September 2007 21:55 schrieb Mike Bird:
> > On Tuesday 04 September 2007 10:44, Roland M. Kruggel wrote:
> > > Am Dienstag, 4. September 2007 17:10 schrieb Yuriy Padlyak:
> > > > ok, but I don't know how to move ext3 file system or it's
> > > > content without loosing any file attributes, etc either :)
> > >
> > > cp -a /src/* /dest
> >
> > That misses dot files in the source. Use rsync instead, perhaps
> > with -H and/or -S flags (see man).
>
> Oh schitt. Sorry.
> Thats a big mistake. I have alway copy with cp -a. I never do it.
> Many Thnx
>
> > rsync -a -H -S /src/ /dest/
>
> ok. Thats realy better.
Would you not also need to set "umask 0000" to preserve existing file
permissions?
Adrian
--
24x7x365 != 24x7x52 Stupid or bad maths?
Reply to:
- Follow-Ups:
- Re: LVM
- From: Mike Bird <mgb-debian@yosemite.net>
- References:
- LVM
- From: "Yuriy Padlyak" <yura@cvt.com.ua>
- Re: LVM
- From: "Roland M. Kruggel" <rk.liste@bbf7.de>
- Re: LVM
- From: Mike Bird <mgb-debian@yosemite.net>
- Re: LVM
- From: "Roland M. Kruggel" <rk.liste@bbf7.de>