From 4341a703f65f92160c6ee281af856dd0eaef1e03 Mon Sep 17 00:00:00 2001 From: Joshua Daniel Franklin Date: Mon, 29 Mar 2004 05:56:46 +0000 Subject: 2004-03-28 Joshua Daniel Franklin * how-programming.texinfo: Add note about gcc .lib linking. * pathnames.sgml: Mention create_devices.sh for /dev/ creation. --- winsup/doc/pathnames.sgml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'winsup/doc/pathnames.sgml') diff --git a/winsup/doc/pathnames.sgml b/winsup/doc/pathnames.sgml index 93b492281..ebfa8f09e 100644 --- a/winsup/doc/pathnames.sgml +++ b/winsup/doc/pathnames.sgml @@ -159,6 +159,11 @@ default printer with the command cat filename > PRN directory as Cygwin automatically simulates it internally. These devices cannot be seen with the command ls /dev/ although commands such as ls /dev/tty work fine. +If you want to be able to see all devices in +/dev/, you can use Igor Pechtchanski's +create_devices.sh +script. Cygwin supports the following devices commonly found on POSIX systems: @@ -167,7 +172,8 @@ Cygwin supports the following devices commonly found on POSIX systems: /dev/tty, /dev/ttym, /dev/ttyX, /dev/ttySX, /dev/pipe, /dev/port, -/dev/ptmx, /dev/mem, +/dev/ptmx, /dev/kmem, +/dev/mem, /dev/random, and /dev/urandom. Cygwin also has several Windows-specific devices: /dev/comX (the serial ports, starting with @@ -175,8 +181,8 @@ Cygwin also has several Windows-specific devices: /dev/conin (Windows CONIN$), /dev/conout (Windows CONOUT$), /dev/clipboard (the Windows clipboard, currently -text only), and -/dev/windows (the Windows message queue). +text only), and /dev/windows (the Windows message +queue). Windows NT/W2K/XP additionally support raw devices like floppies, @@ -254,9 +260,9 @@ The following three examples will not work as expected: -mount -f -b /dev/nst0 /dev/tape -mount -f -b /device/tape0 /dev/tape -ln -s /device/tape0 /dev/tape +mount -f -b /dev/nst0 /dev/tape # DOES NOT WORK +mount -f -b /device/tape0 /dev/tape # DOES NOT WORK +ln -s /device/tape0 /dev/tape # DOES NOT WORK @@ -264,11 +270,11 @@ ln -s /device/tape0 /dev/tape The .exe extension - Executable program filenames end with .exe but the .exe need -not be included in the command, so that traditional UNIX names can be -used. However, for programs that end in ".bat" and ".com", you cannot -omit the extension. - + Executable program filenames end with .exe +but the .exe need not be included in the command, +so that traditional UNIX names can be used. However, for programs that +end in .bat and .com, you +cannot omit the extension. As a side effect, the ls filename gives information about filename.exe if -- cgit v1.2.3