LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Logical block address (https://www.linuxquestions.org/questions/linux-newbie-8/logical-block-address-903356/)

hdspvnr 09-16-2011 07: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.

Regards,
Rao.

jason_not 09-16-2011 09:35 AM

Hello,

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.

--jason


All times are GMT -5. The time now is 09:45 AM.