The hardlink tag has no wiki summary.
0
votes
1answer
57 views
directory of hardlinks on NTFS appears to be consuming more space than it should
Windows 2008 R2 and Windows 7 Ultimate both exhibit this behaviour...
So I have directory structure like... YEAR\MONTH\file_x.ext, where YEAR goes back to 2007 and each MONTH directory contains ...
2
votes
3answers
133 views
How do I view a file's hard links in Windows?
I've found a description of hard links and junctions in Windows, however I'd like to know ,from the Windows UI or command prompt, how I can view the hard links of a particular file or folder?
1
vote
2answers
89 views
how to create symbolic link (ln) between two partitions
I have two partitions on my Ubuntu 10.04.3 server.
partition 1: /mnt/storage/
partition 2: /var/www/myweb/
now when i run the following command
$ ln /mnt/storage/sourcefile.txt ...
5
votes
4answers
219 views
How to mirror filesystems with millions of hardlinks?
We have one big problem at the moment: We need to mirror a filesystem for one of our customers. Thats usual not really a problem, but here it is:
On this filesystem there is one folder with millions ...
6
votes
1answer
69 views
Linux hardlink confusion
I am confused with Linux hard link,
I created a hardlink with this command on my Ubuntu box,
ln f1 f2
So f2 should be a hardlink of f1, but why I changed f2 with emacs and saved f2, f1 didn't ...
0
votes
1answer
161 views
How do i hardlink /run to /var/run on debian? (And should i be doing it?)
I'm trying to copy the root file system of a Debian unstable system. I get the following warnings when i do this:
gw:/# cp -xar / /mnt/1.tmp/
cp: will not create hard link `/mnt/1.tmp/var/run' to ...
2
votes
2answers
199 views
Samba breaking hard links - desired behaviour?
I'm using Samba 2:3.5.4 in Ubuntu 10.10 Server, and an EXT4 filesystem.
I have setup a folder "dev" locally on my pc, and using "cp -alf" hard
linked that folder, to folder "test". So upon looking in ...
1
vote
2answers
94 views
Hardlink files not the same
I created a hardlink of a file as follows:
ln /path/to/source/file1 /path/to/target/file2
Using md5sum, the two files are identical. After a while, the source file has been modified by another ...
5
votes
7answers
787 views
How can I use rsync to duplicate a directory tree, creating hardlinks to files?
From time to time, I have to perform several large migration changes on data files on my server, and I'm looking for a good way to do this. I was thinking about using rsync to duplicate my directory ...
2
votes
2answers
335 views
rsync with --hard-links freezes
I have a large directory called servers, which contains many hard-links made by rsnapshot. That means that the structure is more or less like:
./servers
./servers/daily.0
./servers/daily.0/file1
...
2
votes
4answers
170 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 ...
1
vote
2answers
215 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 ...
2
votes
1answer
285 views
How to tell Mercurial to never create hard links
I am planning to use Mercurial in the near future on some projects. These projects will normally reside in a directory on my Windows machine, but I will be sharing these directories using VirtualBox ...
2
votes
5answers
392 views
Linux: Best-practices for Hard Linking?
I've used hard links in the past, but they seem to make a bit of a mess of things...
When is the proper time to use Hard links? What are the best practices for when and where to use hard linking?
...
2
votes
1answer
575 views
Rsnapshot to multiple destinations (or maintain hard links structure)
I'm doing a backup of multiple external servers on a local machine using rsnapshot and it's working beautifully. Now, I'd like to clone the destination snapshots on an external disk that will be ...
1
vote
3answers
162 views
Using hardlinks over network drives
I know that you can fsutil hardlink on local drives, however I'd like to be able to hardlink on a network drive over to a different network drive. Is this possible?
I presume not as the two drives ...
0
votes
2answers
205 views
Hard Link for Directories in linux
Hai,
How can i create hard link for my directories ?
When i use to make link from /var to /home it shows error on "Invalid cross-device link", How can i over come it ?
1
vote
2answers
113 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
268 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 ...
0
votes
1answer
117 views
How to get the total amount of hard links in a Linux folder structure?
I am currently having a bit trouble with calculating backup sizes with Jungledisk due to the fact that each hard links seems to be counted as a seperate file. I want to be able to retrieve a list of ...
3
votes
4answers
138 views
0
votes
4answers
507 views
Skipping hardlinks when using TSM Backup
We need to backup a filesystem with lots of hardlinks. Since there are
several hardlinks for each "true" file, we would like to skip all the
hardlinks when backing up the filesystem to avoid n exact ...
34
votes
6answers
2k 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 ...
5
votes
5answers
2k views