soft link vs. direct efficiency

Mikkel L. Ellertson mellertson at gmail.com
Tue Apr 3 17:34:12 UTC 2012


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

On 04/03/2012 11:19 AM, Steven Stern wrote:
> I've added a second disk to my system (/dev/sdb1) and moved a directory
> from my home folder there. I then created a soft link to the new
directory:
>
> ln -s /mnt/sdb1/mystuff/folderA folderA
>
> When I'm copying files to it, is there any loss of efficiency (in a
> measurable sense) between
>
> rsync /path/to/folderB ~/folderA and
> rsync /path/to/folderB /mnt/sdb1/mystuff/folderA
>
>
Not enough to make any difference. The directories would be buffered
in either case, so the only delay would be in resolving the symlink
on the first read.

Mikkel
- -- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk97NIsACgkQqbQrVW3JyMTJfACfYZY0InyJhuYBnx2YKuwse0OV
hBYAnRD8WK6GIY7wiofm8jpda2hRbDu+
=+E3H
-----END PGP SIGNATURE-----



More information about the users mailing list