How does unlink work?

How does unlink work?
Answer
unlink removes a reference. When the reference count is zero, then the inode is no longer in use and may be deleted. This is how many things work, such as hard linking and snap shots. In particular – an open file handle is a reference.
 

Tìm kiếm

Back
Top