Askar Safin
2014-Dec-27 01:32 UTC
Re[2]: --link-dest --inplace updates files without unlinking. What to do?
No. Now there is no --inplace. So, rsync will never write new file directly into old one (without unlinking). If there already is old file and it needs updating, then rsync will write into something like .file-He4gw, and then it will rename this file to its right name. This new file will not have any hardlinks to old files =Askar Safin http://vk.com/safinaskar Kazan, Russia
Kevin Korb
2014-Dec-27 01:36 UTC
--link-dest --inplace updates files without unlinking. What to do?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am talking about metadata. Permissions, ownerships, etc. If a link exists in the target and needs a metadata change then rsync will do a chmod, chown, whatever which updates all the instances of the file. If there hadn't already been a link there rsync would have written out an entire new file to have the new metadata. On 12/26/2014 08:32 PM, Askar Safin wrote:> No. Now there is no --inplace. So, rsync will never write new file > directly into old one (without unlinking). If there already is old > file and it needs updating, then rsync will write into something > like .file-He4gw, and then it will rename this file to its right > name. This new file will not have any hardlinks to old files == > Askar Safin http://vk.com/safinaskar Kazan, Russia >- -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. Kevin at FutureQuest.net (work) Orlando, Florida kmk at sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSeDRIACgkQVKC1jlbQAQd+OACeNjVdB84yd/Dq2GwkYqeyZTHx jLMAn3KkEjFm9ibQJxv+T2F7Fytjn6Ez =BMkY -----END PGP SIGNATURE-----
Maybe Matching Threads
- Re[2]: --link-dest --inplace updates files without unlinking. What to do?
- Re[2]: --link-dest --inplace updates files without unlinking. What to do?
- --link-dest --inplace updates files without unlinking. What to do?
- --link-dest --inplace updates files without unlinking. What to do?
- Re[2]: --link-dest --inplace updates files without unlinking. What to do?