This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Smartmontools don't work with /dev/stX, /dev/nstX


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]