Skip to main content

All Questions

Tagged with
1 vote
1 answer
241 views

Are /var/mail/root and /var/spool/mail/root hardlinks for the same inode?

Just found out this: # diff /var/mail/root /var/spool/mail/root # (nothing) # ls -i /var/mail/root /var/spool/mail/root 1284 /var/mail/root 1284 /var/spool/mail/root Same content, same 1284 inode ...
colemar's user avatar
  • 61
2 votes
1 answer
265 views

On OS X, saving breaks hard links

I'm using OS X 10.10.5, and I'm seeing a strange issue with hardlinked files. When I update one of the linked files and save the change, the other linked file becomes blank -- a zero-byte file. This ...
soldrinero's user avatar
0 votes
0 answers
478 views

All of the NTFS hard links damaged, where are those 0kb hardlinks stored and how to recover them?

This is Windows 7 x64 sp1 on a NTFS file system. All hardlinks within C:\Windows\System32 folder disappear, and the Windows can't boot, because even the osloader, C:\Windows\System32\boot\Winload.exe ...
Rex's user avatar
  • 101
0 votes
2 answers
219 views

Is it possible to create a file and a hardlink to it without initializing the data?

I want to create a file of 2GB, but I don't care about the contents of it. I currently use dd with /dev/zero, but this is fairly slow. Is it possible to create a file and a hardlink to it, without ...
daknøk's user avatar
  • 109