In the UNIX operating system (including variants such as Linux and Mac OS X), the ln command creates a hard link to a file. If there is a file source, then after executing the command ln source target the file can be referred to by either name. At this point, rm source does not delete the file from the disk, because it still has another name. Because it is not legal to make a hard link to a directory, the directory structure is a directed acyclic graph. Does reference counting work to determine when a file can be removed from the disk? Explain
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here