Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Rescan for ahcisata ?
On Sun, Jan 15, 2012 at 07:04:56AM -0800, Paul Goyette wrote:
> On Sat, 14 Jan 2012, Jonathan A. Kollasch wrote:
>
> >>What would it take to implement DRVRESCANBUS for ahcisata? Seems to
> >>me it would be quite useful to attach and detach external drives at
> >>will.
> >
> >drvctl -a ata_hl -r atabus<N>
>
> Perfect - thanks!
>
> I'm not sure if it is possible, but it would certainly be helpful if
> a better error message could be reported.
>
> # drvctl -r atabus0
> drvctl: DRVRESCANBUS: Invalid argument
> #
>
> Is EINVAL (Invalid argument) a standard return value for when a
> driver requires an attribute? If yes, perhaps it should be
> documented in the man page?
>
> Is anyone working on a way to retrieve the possible attributes? If
> I could figure this out, would anyone object to adding a -L (or -A)
> option to drvctl to display a list of possible attributes?
It would be nice to be able to list attributes. Locators, too.
Isn't there some bug in atabus(4), too? ISTM that it should rescan
every attribute if none are specified....
Dave
--
David Young
dyoung%pobox.com@localhost Urbana, IL (217) 721-9981
Home |
Main Index |
Thread Index |
Old Index