NetBSD-Users archive

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

Re: How to query HDD status



On Sun, Oct 04, 2015 at 10:47:08AM -0453, William A. Mahaffey III wrote:
> 
> 
> When I try to use atactl to query the status of the microSD 'HDD" on my
> RPiB+, I get the following:
> 
> 
> rpi # atactl ld0 identify
> atactl: ATAIOCCOMMAND failed: Inappropriate ioctl for device
> rpi # uname -a
> NetBSD rpi 7.0_BETA NetBSD 7.0_BETA (RPI.201503272230Z) evbarm
> rpi #
> 
> 
> What is the appropriate command for querying microSD status under NetBSD
> 7-ish on my RPiB+ ? TIA & have a nice weekend.

The RPI's HDD is not a HDD, it's a microsd card (as you noted),
so ATA commands don't apply. If what you need it the same and capacity of
the SD card, you should have it in dmesg (or /var/run/dmesg.boot)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index