Re: System hangs when using USB 3.0 HD with on Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/04/10 10:04 AM, James Bottomley wrote:
..
But this isn't a userspace problem.  By the time we present the device
to userspace, we already know what it is ... so you can go by device
type and only use ATA_12 for disk devices.
..

And most tools / programs can indeed do that.

But hdparm's mission is to ignore what the kernel thinks,
and speak directly to the drive whenever possible.

Because hdparm is an important part of how we verify
that the kernel is correct (or not).  So I very much
prefer that it continue to work out the details as much
as it can without asking a possibly buggy kernel for help.

:)

That said.. what would you recommend as a way for a userspace
program to figure out whether to use ATA_12 or ATA_16 to talk
to a given arbitrary device name ?

I guess the info is in sysfs somewhere.

Thanks
--
Mark Lord
Real-Time Remedies Inc.
mlord@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux