Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 06-17-2011, 03:46 PM   #1
LQ Newbie
Registered: Jun 2011
Posts: 1

Rep: Reputation: Disabled
sg_utils identify_device and read/write buffer commands


I used sg_sata_ident to get the IDENTIFY_DEVICE output on my SATA drive. The output shows the drive as being able to support READ_BUFFER/WRITE_BUFFER. However, when I issue sg_read_buffer /dev/sda, I get an error - DRIVER_SENSE - Invalid command operation supported.

What does this indicate?
Old 06-20-2011, 03:21 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,578

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
sg_read_buffer sends a SCSI read buffer command. I don't think that's the same as a SATA read buffer.


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
[SOLVED] What are the NAND(MTD) read and write commands? dbrazeau Linux - Software 3 11-05-2010 06:31 PM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - Newbie 16 09-01-2010 09:07 AM
Read Write access to a iso9660 filesystem..mount a .iso image as read write ceazar123 Linux - General 2 08-26-2010 03:32 PM
tcp/ip read and write buffer da_kidd_er Linux - Software 0 11-21-2004 04:13 PM

All times are GMT -5. The time now is 04:57 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