restored a backup and can't su to root now

Arnie Stender astender at aagstender.org
Sun Feb 4 11:56:28 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arden wrote:

> What is this -a option? My man cp doesn't show any -a option. I had  
> the same trouble with cp so I have done this; cd to the partition you  
> want to move and
> tar cvpf - .|(cd /mnt/hda6; tar xvpf - .)
> 
> Seems to work better.
> Arden
> 

Hi Arden,
	Check out the 'man cp' under GNU options. When I need to copy a lot of
data I usually use tar | tar method. I usually am doing that with data
though not system bin directories.


GNU OPTIONS
       -a, --archive
              Preserve  as much as possible of the structure and
attributes of
              the original files in the copy (but do  not  preserve
directory
              structure).  Equivalent to -dpPR.

Arnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFxjpsI9lqJPlLBqQRApR5AJ9r2JX7/JdNobvew0944eDR4W2tbQCfRakL
fmF2fTSxITzqbotZXaxQTF0=
=GJQb
-----END PGP SIGNATURE-----



More information about the blfs-support mailing list