tech-kern archive

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

Re: DIOC{G,S}STRATEGY not implemented for all disk devices

On Jun 8,  4:55am, Alan Barrett wrote:
} Why don't the DIOC{G,S}STRATEGY ioctls work for all disk devices?

     When you include all disk devices, are you including floppies?

} There seem to be several almost-identical implementations, in
} sys/dev/dksubr.c, sys/dev/ld.c, and sys/dev/ata/wd.c; an implementation
} in sys/dev/scsipi/cd.c that always returns EIO; and implementations in

     I'm not sure it makes sense for cd.c since that is a read-only
device and isn't truely random access.

}-- End of excerpt from Alan Barrett

Home | Main Index | Thread Index | Old Index