Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-16-2011, 08:46 AM   #1
LQ Newbie
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
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.

Old 09-16-2011, 10:35 AM   #2
Registered: Aug 2010
Location: Beaverton, Oregon, USA
Distribution: Pfsense, Ubuntu, Centos, Fedora, Redhat, Scientfic, MacOS
Posts: 76

Rep: Reputation: 19

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read a logical block from user space rimuni Linux - Hardware 1 02-18-2010 02:26 PM
Buffer I/O error on device sdi, logical block 9 crackerB Linux - Hardware 0 11-11-2008 02:37 AM
install from a cd Buffer I/O error logical block Peter Shepard Ubuntu 1 12-14-2006 02:39 PM
buffer i/o error on device hdc,logical block 0 (imp) abhis_mail2002 Fedora 0 12-08-2005 07:02 AM
Logical block error on install w1z4rd Mandriva 1 03-09-2005 05:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration