Tag: inode

Hard Link vs Soft Link

Once again, one of the very basic question asked in the interviews, What is the difference between Hard links and Soft links. You can explain few basic things, but emphasizing on internals about the linux filesystem, is something which can impress the interviewer.

Read the complete article »

TechTip: Find Physical Location of a file on disk

When you create a file, it's stored in different blocks/locations of the filesystem/disk depending upon the size of the file. Though you don't need to know the physical location of the disk in normal scenarios, but you might need it in things like, to understand the filesystem layout and how file is stored on the filesystem or to do performance tests.

Finding the physical location of the file can be achieved by following commands:

Read the complete article »