Smartmontools don't work with /dev/stX, /dev/nstX
Christian Franke
Christian.Franke@t-online.de
Sun Jun 17 15:00:00 GMT 2007
Corinna Vinschen wrote:
> Christian,
>
> On Cygwin the device names for tapes are /dev/stX and /dev/nstX.
> Smartmontools require to use /dev/tapeX. Any problem to change
> that so that the /dev/stX, /dev/nstX syntax works on Cygwin as well?
>
>
No problem, easy to fix. I will add this.
ATA/SCSI autodetection is also still missing, therefore it is required
to use /dev/hdX for ATA, and /dev/sdX for SCSI (or ATA behind SATL) disks.
This is also not consistent with Cygwin's device names, but more
difficult to fix.
BTW: For programs like smartmontools, hdparm or sdparm, which need
I/O-controls unsupported by Cygwin, it would be useful to rely on
Cygwin's open().
Is there a function to obtain the Windows HANDLE from a Cygwin fd (the
opposite of cygwin_attach_handle_to_fd())?
Christian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list