Cross platform series summary :

Occasionally in use , In fact, it's soft link and hard link

Soft link and win The shortcuts are similar , Not much

Discuss the next hard link , It's kind of like git The storage mode of , You and I each have a common revision , You hang up I have

It can be seen by comparison

What's interesting is that , Delete only the original file , Did not delete the corresponding hard link , Soft links are still available ( Not like Win We can't find a target in it )

This is the deletion of the original file , Hard link not deleted

This is the case where both the original file and the hard link are deleted

( The system knows when to delete the data through the hard link number )


Let's talk about it , I'm just passing by