delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/13/22:39:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 13 May 2003 22:39:45 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: "Robb, Sam" <sam DOT robb AT timesys DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: nfs server
In-Reply-To: <3D848382FB72E249812901444C6BDB1D0130D888@exchange.timesys.com>
Message-ID: <Pine.GSO.4.44.0305132237420.17480-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 13 May 2003, Robb, Sam wrote:

> > No.  You want to pass the "-F" option to nfsd, not cygrunsrv.
>
> D'oh!  Ignore my previous blatherings, Igor is, of
> course, correct (as usual :-)
>
> Glad to see that it *looks* like the problem was the
> mount points.  Please let us know if converting to
> global mounts solves the problems.
>
> BTW, general question for the list: is there a way
> to check for user vs. system mounts that would work
> from nfs-server-config?
>
> -Samrobb

Sam,

A quick and dirty way:

if /bin/mount -m | /bin/grep -q ' -s .*"/"'; then
  echo SYSTEM mount exists
else
  echo NO SYSTEM mount
fi

Maybe there's a better one...
Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/

- Raw text -


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