LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-18-2010, 01:22 PM   #1
rimuni
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
How to read a logical block from user space


Hi,

I have a list of Logical Block Addresses that I need to read from the disk. Is there any way to do this from user space?

Thanks,
Rimuni
 
Old 02-18-2010, 01:26 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I'm not sure what you mean by "user space" in this context.

the "dd" command will do raw disk reads based on the logical block address, but you also need the SIZE of the data segment that you want to read.

Tell us more about the context of your question---eg the overall problem you are working on.
 
  


Reply


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
Division of Logical Memory Space in to User Space and Kernel Space shreshtha Linux - Newbie 2 01-14-2010 09:59 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM
Buffer I/O error on device sdi, logical block 9 crackerB Linux - Hardware 0 11-11-2008 01:37 AM
install from a cd Buffer I/O error logical block Peter Shepard Ubuntu 1 12-14-2006 01:39 PM
Logical block error on install w1z4rd Mandriva 1 03-09-2005 04:56 AM


All times are GMT -5. The time now is 07:16 AM.

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