delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/05/00:03:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Richard Stanton" <stanton AT haas DOT berkeley DOT edu>
To: "cygwin" <cygwin AT sources DOT redhat DOT com>
Subject: RE: Mount problems (was RE: SSHD: works from command line, but not from INETD)
Date: Mon, 4 Sep 2000 21:03:10 -0700
Message-ID: <LNBBKMIKMNGEJNEJICPHIELIEEAA.stanton@haas.berkeley.edu>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
In-Reply-To: <LNBBKMIKMNGEJNEJICPHEELIEEAA.stanton@haas.berkeley.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

This is odd. When I run "net start inetd", all my old mappings come back,
even if I've previously deleted them!

For example,

c:\4nt>mount
Device              Directory           Type         Flags

[...]

\\.\tape1:          /dev/st1            user         textmode
\\.\a:              /dev/fd0            user         textmode
\\.\b:              /dev/fd1            user         textmode
c:                  /                   user         textmode
c:                  /                   system       textmode

OK. Now delete the user "/" mount:

c:\4nt>umount /
umount: /: No such file or directory

Oops. That didn't work (and I have no idea why). However, there's a way to
do it. Just redo the mount:

c:\4nt>mount -f c: /

c:\4nt>umount /

c:\4nt>mount
Device              Directory           Type         Flags

[...]

\\.\tape1:          /dev/st1            user         textmode
\\.\a:              /dev/fd0            user         textmode
\\.\b:              /dev/fd1            user         textmode
c:                  /                   system       textmode

Yup. the mount has gone.

Now stop and restart inetd:

c:\4nt>net stop inetd
The CYGWIN inetd service is stopping.
The CYGWIN inetd service was stopped successfully.


c:\4nt>net start inetd
The CYGWIN inetd service is starting.
The CYGWIN inetd service was started successfully.

and see what mounts exist:

c:\4nt>mount
Device              Directory           Type         Flags

[...]

\\.\tape1:          /dev/st1            user         textmode
\\.\a:              /dev/fd0            user         textmode
\\.\b:              /dev/fd1            user         textmode
c:                  /                   user         textmode
c:                  /                   system       textmode

It's back again! The same happens for all the user mounts. I have no idea
what's going on!

Richard Stanton


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019