home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2759 < prev    next >
Encoding:
Text File  |  1992-07-24  |  847 b   |  27 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!wupost!gumby!destroyer!ubc-cs!alberta!kakwa.ucs.ualberta.ca!access.usask.ca!regina!udevdiv!roe
  3. From: roe@Unibase.SK.CA (Roe Peterson)
  4. Subject: Bugfix for mountd
  5. Message-ID: <1992Jul24.055136.9781@Unibase.SK.CA>
  6. Keywords: mountd
  7. Organization: Unibase Telecom Ltd.
  8. Date: Fri, 24 Jul 1992 05:51:36 GMT
  9. Lines: 16
  10.  
  11. Hi.
  12.  
  13. Congratulations and kudos to the Jolitz's for 386BSD 0.1.  Hell of a nice
  14. job, and our contribution will be winging its' way toward them right quick.
  15.  
  16. Found a little bug in mountd:  If /etc/exports contained:
  17.  
  18.     /usr/src -root=0
  19.  
  20. And /usr was not a file system unto itself, mountd went into an infinite
  21. loop and stayed there.
  22.  
  23. The fix:  in /usr/src/sbin/mountd/mountd.c, line 592 reads:
  24.     while (*cp == '/' && cp > ep->ex_dirp)
  25. and should read:
  26.     while (*(cp-1) == '/' && cp > ep->ex_dirp)
  27.