Tagged Questions
2
votes
3answers
76 views
Under Linux, how do I copy files from one filesystem to the other (both gpfs) and preserve hard links?
I have a directory with huge files and a number of directories, that have hardlinks on these huge files. How do I copy files from one filesystem to the other and preserve hard links?
1
vote
1answer
50 views
Speeding up directory creation / file linking
I'm using rsnapshot for backups. Currently that means every time an update runs (even without any data difference) I get a copy of ~100M of only the directory structure + inode list. The files are ...
2
votes
4answers
301 views
Does number of hardlinks to a directory correspond to the number of subdirectories in it?
When displaying directories using ls -l, their number of links (the second field in the output) is at least two: one for the dir name and one for .
$ mkdir foo
$ ls -l
total 2
drwxr-xr-x 2 user ...
2
votes
2answers
474 views
Is there a way to create a copy-on-write copy of a directory?
I'm thinking of a situation where I would have something that creates a copy of a directory, tweaks a few files, and then does some processing on the result. This wold be done fairly often, maybe a ...
1
vote
2answers
179 views
Selective syncronisation of two directories in UNIX (Solaris)
I'm wondering if anyone knows of a nice way to partially duplicate (hard link) files between two directory structures?
My current fall back is a script invoked by cron.
As background:
I ask since I ...
0
votes
3answers
319 views
Remote Link on OSX
I have two machines on the same LAN, I usually ssh from one to the other and I was wondering if I could create a symbolic or hard link from a box that points to the other one.
I'm using OSX on both ...
43
votes
3answers
3k views
What is the difference between a soft (symbolic) link and a hard link?
I hear that you can now create soft links in Vista too. So, what is the difference between a soft (symbolic) link and a hard link on UNIX/Linux/Vista?
Are there advantages of using one over the ...