Python Forum
a future project: hardlink identical files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a future project: hardlink identical files
#5
symlinks don't operate exactly like the object it references.  for example, you can disable following symlinks and easily discover that it is a symlink and get the string of what the symlink references.  hardlinks are purely symmetrical.  if file "foo" and file "bar" are hardlinked, they now reference the same inode and share the same inode number.  there is no information of which link (reference) existed first.  the inode has a count of how many links to it there are.  data does not get de-allocated until that count falls to zero.  hardlinking directories has many fundamental problems and this is generally disallowed.  hardlinking other things generally works OK.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: a future project: hardlink identical files - by Skaperen - Dec-18-2017, 03:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PEP 572 and Future svetlanarosemond 8 5,569 Jul-16-2018, 08:40 PM
Last Post: micseydel
  a future project for some day Skaperen 7 4,289 Apr-24-2018, 03:12 AM
Last Post: Skaperen
  a future project: recursive file list Skaperen 0 2,300 Dec-14-2017, 03:55 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020