This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

RE: nfs server


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/


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