1 | File: MSYS_VS_CYGWIN
|
---|
2 | Copyright (C): 2001: Earnie Boyd <earnie@users.sf.net>
|
---|
3 | Distribution Rights: See MSYS_LICENSE
|
---|
4 | File Revision: 1.0.4
|
---|
5 | File Revision Date: 2002.01.25
|
---|
6 |
|
---|
7 | mount: The mount command is only used to display all mount points. The mount
|
---|
8 | points for the very important are automounted. Nothing is stored in the Win32
|
---|
9 | registry database. If you wish to add other mount points, ones that aren't
|
---|
10 | auto mounted, then you may do so in the /etc/fstab file. i
|
---|
11 |
|
---|
12 | ROOTPATH "/": The "/" auto mount point is currently a reference to the parent
|
---|
13 | directory of the directory containing the msys-1.0.dll file.
|
---|
14 | <strikeout>In later releases
|
---|
15 | the / will be a reference to a pseudo device that points to the mount points.
|
---|
16 | I.E. in a later release it is planned that `ls /' will list the mount points.
|
---|
17 | </strikeout> I plan to do something but it won't be as previously stated.
|
---|
18 |
|
---|
19 | /bin: The /bin auto mount point is a reference to the directory containing the
|
---|
20 | msys-1.0.dll file. I.E. if the path to msys-1.0.dll is
|
---|
21 | C:\msys\1.0\bin\msys-1.0.dll then /bin resolves to C:\msys\1.0\bin.
|
---|
22 |
|
---|
23 | /tmp: The /tmp auto mount point is a reference to the directory that is
|
---|
24 | referenced by the Win32 TMP environment variable. I.E. if the win32 TMP
|
---|
25 | environment variable value is C:\TEMP then the /tmp mount point resolves to
|
---|
26 | C:\TEMP.
|
---|
27 |
|
---|
28 | /usr: The /usr auto mount point is a reference to the parent directory of the
|
---|
29 | directory containing the msys-1.0.dll file. I.E. if the path to msys-1.0.dll
|
---|
30 | is C:\msys\1.0\bin\msys-1.0.dll then the /usr mount point resolves to
|
---|
31 | C:\msys\1.0.
|
---|
32 |
|
---|
33 | /cygdrive: There is no such item. All devices and mapped shares are auto
|
---|
34 | mounted with the device letter as the mount point. E.G.: the C:\ drive is
|
---|
35 | referenced as /c.
|
---|
36 |
|
---|
37 | /etc/fstab: If this file exists then it is read for user specified mount
|
---|
38 | points. The form of the record is [PHYSICAL PATH][WHITE SPACE][MOUNT POINT]
|
---|
39 | where [WHITE SPACE] is one or more spaces and/or tabs.
|
---|
40 |
|
---|
41 | binary vs text: File processing mode is set to binary. This is not changeable.
|
---|
42 | I had originally planned to set this to text mode processing but ran into
|
---|
43 | various problems of which volumes have been written in the Cygwin archives.
|
---|
44 | For release 1.0 of MSYS this means that you cannot have \r\n line endings on
|
---|
45 | text files. In a future release it is planned to "Do The Right Thing" and
|
---|
46 | predetermine the type of file being opened and set text or binary processing
|
---|
47 | as appropriate for reading files. Or, predetermine the type of file and as the
|
---|
48 | file is being read remove the \r from the end of the line.
|
---|
49 |
|
---|
50 | uname -s: The default system name is returned as MSYS_NT-4.0, if you're on
|
---|
51 | NT 4.0. However you could export MSYSTEM=MINGW32 as change the returned value
|
---|
52 | for `uname -s' to MINGW32_NT-4.0. This is done to aid the use of MSYS with
|
---|
53 | MinGW and configuration scripts will determine that it is a MINGW32 build
|
---|
54 | system.
|
---|
55 |
|
---|
56 | --added in version 1.0.2--
|
---|
57 | /bin and /usr/bin: These are currently reserved for MSYS programs only (MSYS
|
---|
58 | programs are progrms that depend on the msys-1.0.dll file). It will be unlikely
|
---|
59 | that non-MSYS programs will execute properly if they exist in /bin and /usr/bin.
|
---|
60 |
|
---|
61 | POSIX paths in arguments: POSIX paths passed as arguments on the command line
|
---|
62 | are now converted to WIN32 paths. This is only true for programs that don't
|
---|
63 | exist in the /bin and /usr/bin paths. POSIX paths are determined by i) a '/'
|
---|
64 | character in the argument and ii) the argument must not be two characters long.
|
---|
65 | The two character filter is done so that WIN32 parameters of the type /x can be
|
---|
66 | passed to the WIN32 program. This allows you to do `write /p /mydocuments/abc'
|
---|
67 | and the write.exe program found in the c:\WINNT\System32 directory on my
|
---|
68 | system can print to the printer on lpt1 the c:\msys\1.0\mydocments\abc file.
|
---|
69 |
|
---|
70 | --added in version 1.0.3--
|
---|
71 | More robust checking for filesystem paths on arguments.
|
---|
72 |
|
---|
73 | --added in version 1.0.4--
|
---|
74 | Symlink resolution.
|
---|
75 | diff, diff3 and head to the distribution.
|
---|
76 | --removed in version 1.0.4--
|
---|
77 | Requirement that the path must begin with /.
|
---|
78 | bash from the distribution.
|
---|
79 |
|
---|
80 | --removed in version 1.0.11--
|
---|
81 | Requirement that /bin and /usr/bin are reserved for MSYS programs only.
|
---|