In the last episode (Jul 08), Incoming Mail List said:
> Does FBSD enforce a maximum number of mounted file systems?  If so,
> is it configurable?

I haven't found anyplace that puts a hard limit on it, but you will hit
some internal limit eventually.  Try running this shell script:

 #! /bin/sh
 i=0
 mkdir /tmp/test
 cd /tmp/test
 while : ; do
  echo $i
  mkdir $i
  mount localhost:/ $i || break 
  i=$((i+1))
 done
 echo Removing mountpoints
 for i in * ; do echo $i ; umount $i ; rmdir $i ; done

At the 377th mount, I got this error:

 [udp] localhost:/: RPCPROG_MNT: RPC: Authentication error; why = Client credential 
too weak

If I restart mountd with the -n flag to allow use of unprivileged
ports, the error just changes:

 mount_nfs: /tmp/test/0377: Can't assign requested address

-- 
        Dan Nelson
        [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to