An interesting quirk

Billy Crook billycrook at gmail.com
Sat Jul 21 20:58:27 CDT 2007


I read the man pace ahead of time, and noticed that little quirk.  i guess i
understand why it might copy each link to the inode as a seperate file.  It
makes me wonder though if there's not a better tool for the job of
replicating a filesystem to another disk aside from dd'ing the whole thing.

On 7/21/07, Charles Steinkuehler <charles at steinkuehler.net> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Billy Crook wrote:
> > That must be exactly it.  I remember when I formatted crypt, I did
> specifiy
> > options.  Whereas when I formatted crypt2, I did not.  Can't check to
> make
> > sure though.  crypt2 will be in a bank vault for 6 months. Crypt3 is in
> the
> > works though.  Should be ready to play with by next Friday.  Im just
> glad it
> > wasn't a filesystem error.
>
> The other thing that can cause this are hard links, which are *NOT*
> copied by default when using the -a switch to rsync.  You have to
> specify --hard-links or you wind up with N actual copies of any
> hardlinked files, instead of one file and N inodes.
>
> - --
> Charles Steinkuehler
> charles at steinkuehler.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGomiNLywbqEHdNFwRAmibAKDS5RixuHos1h0on7fxQRQZTQTPnwCggAv5
> aeotZsbZrSWZOCo5jcXZHFk=
> =kYE+
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kclug.org/pipermail/kclug/attachments/20070721/a43117bd/attachment.htm 


More information about the Kclug mailing list