1st I created both hardlink (HLINK) and softlink (SLINK) to a single file (A.DAT). As I know, SLINK has its own inode, and this inode will point to the inode of A.DAT. But HLINK does not have its own inode. when we create a hardlink it will directly point to the inode of the A.DAT.
So my QS here is when we are removing Original File (A.DAT), because of the existence of a hardlink (HLINK), the inode of A.DAT still be there in memory.But why we can not access this content by the SLINK, though SLINK's inode points to the inode which is still exist in the memory, whereas HLINK can access though it is pointing to the same inode.
Please help me understand this and correct me if i am wrong..