This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: nfs server
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Robb, Sam" <sam dot robb at timesys dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 13 May 2003 22:39:45 -0400 (EDT)
- Subject: RE: nfs server
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/