0
votes
2answers
44 views

How is it that symbolic links can be used across different filesystems, and hard links cannot?

How is it that symbolic links can be used to link across different filesystems? And why is that hard links cannot be used across different filesystems?
0
votes
0answers
46 views

Backup a linux partition without imaging

Typically to backup my Windows partitions (note: pre-Vista/2008 Windows, no symlinks), I usaully tar caf /backup/<name><date>.tar.xz /mnt/<fs>. Currently, I use dd | xz to backup ...
1
vote
1answer
76 views

Why the link between .. and the parent dir is hardlink?

I just noticed that the link between .. and the parent dir is hardlink, they have the same inode number: starpinker@host /home/starpinker/unix $ ls -ail 8200794 drwxrwxr-x 2 starpinker starpinker ...
0
votes
0answers
45 views

“Deduplicating” with hard links and keeping different mtimes for each link?

I'm writing a backup script for a MySQL database. The script uses mysqldump and runs often. I strip out the "-- Dump completed on" row, and use gzip -n, which leads to identical dump files if the ...
0
votes
1answer
263 views

Why don't hard link destinations on Windows Server 2003 immediately show the proper file size and last modified time?

I wanted to create hardlinks to files on Windows Server 2003 and I stumbled upon the superuser question hardlinks on ntfs with windows. I tried mklink as one of the answers suggested and found that ...
1
vote
0answers
150 views

Which filesystems support hard links (rsync) to backup a Mac?

I want to make a rsync-style hard-link backup from Mac on an external hard drive, but I cannot decide for a file system. It should be (preferably natively) readable from other operating systems. ...
4
votes
2answers
467 views

What are the pitfalls of hardlinked files on my desktop PC?

All the identical-content files on my PC are now hardlinked. (My data is completely de-duplicated. It is a consequence of the way I copied my data from my old computer.) What pitfalls do I need to ...
4
votes
2answers
230 views

Hard/SymLinks and Alternate Data Streams

An interesting thought just occurred to me while thinking about NTFS. NTFS supports hard links, symbolic links, and Alternate Data Streams. Is it possible for an ADS to be a link to another file? ...
33
votes
3answers
4k views

What are the various link types in Windows? How do I create them?

Is it possible to link two files or folders without having a different extension under Windows? I'm looking for functionality equivalent to the soft and hard links in Unix.
5
votes
1answer
3k views

How to create a directory hard link in Windows?

I was trying to create a directory hard link (not a symbolic one). I've tried this: mklink /d /h newfolder currentfolder but it's telling me Access is denied. I don't understand how is access denied ...
3
votes
2answers
1k views

What's the difference between a Windows hard link and a Linux hard link?

The open source package BackupPC does not run on Windows due to its lack of support for hard links. I did a search and came across this document referring to hard links in Windows. Are these somehow ...
4
votes
1answer
320 views

Unix: softlinks, hardlinks

I am somewhat confused what the differences between a softlink, and a hardlink are (on unix). It seems like a softlink is the same as a shortcut in windows or an alias on Mac OS X. (Can someone ...
22
votes
8answers
25k views

How can you see the actual hard link by ls?

I run ln /a/A /b/B I would like to see at the folder a where the file A points to by ls.