-   Linux - Newbie (
-   -   Logical block address (

hdspvnr 09-16-2011 08:46 AM

Logical block address
Hi experts,

Need your help in file system program.

After writing a data into a block using c program, i want to get the Logical block address (LBA) of the sector, means where it written the data.


jason_not 09-16-2011 10:35 AM


Unless you are working on the filesystem interface itself, I think the closest thing you are going to get is the inode number. use the command "ls -i" to get inode numbers. They are unique within a filesystem.


All times are GMT -5. The time now is 01:24 AM.