This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: A call to find mounted dirs?


Sorry if this is a double-post -- I got a rebounced mail
so trying to repost again.

Chin Chee-Kai
Internet Email: cheekai@singapore.sterling.com
Sterling Software Asia Pacific Group

------------------------------------------------------------
On Wed, 21 May 1997, Mikey wrote:
> Can you say fstab?

Hi Mikey, not sure what you mean by "say fstab".  If what you
mean is that I had created /etc/fstab file that resulted in the
remnant mounts, I have no such file created actually.

C:\>dir \etc\fstab
File not found

C:\>mount
Device           Directory           Type        Flags
\\.\tape1:       /dev/st1            native      no-mixed,text!=binary
\\.\tape0:       /dev/st0            native      no-mixed,text!=binary
\\.\b:           /dev/fd1            native      no-mixed,text!=binary
\\.\a:           /dev/fd0            native      no-mixed,text!=binary
c:               /                   native      no-mixed,text!=binary

C:\>mount /usr/local/ /local    <-- create /usr/local and /local before
				    this command

C:\>mount
Device           Directory           Type        Flags
\usr\local       /local              native      no-mixed,text!=binary
\\.\tape1:       /dev/st1            native      no-mixed,text!=binary
\\.\tape0:       /dev/st0            native      no-mixed,text!=binary
\\.\b:           /dev/fd1            native      no-mixed,text!=binary
\\.\a:           /dev/fd0            native      no-mixed,text!=binary
c:               /                   native      no-mixed,text!=binary

C:\>

Now reboot and immediately pull out a DOS prompt to type mount again
and you'll see the same display as the last list.  (I did all 
commands outside bash, but don't suspect the result to be different
if they were run inside bash).

In b17.1, I didnt' see such "long-lived mounts" behaving in this
manner though (which prompted me to put in b17.1 an alias "setup"
to do all my required mounts the very first time I run bash after
booting up.  This alias now (in b18) returns "already mounted" 
messages when I run "setup", which means the "mount" semantics
had changed).

I am also not sure if this is due to b17.1 and b18 file interferences
as the same behavior happened on another PC on which I installed
b18 with a clean start without b17.1.  

Any ideas?


Chin Chee-Kai
Internet Email: cheekai@singapore.sterling.com


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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