home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7140 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.6 KB  |  44 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!news
  3. From: eps@futon.SFSU.EDU (Eric P. Scott)
  4. Subject: Re: External Drive File Ownership Problem
  5. Message-ID: <1992Dec19.134926.21484@csus.edu>
  6. Sender: news@csus.edu
  7. Reply-To: eps@cs.sfsu.edu
  8. Organization: San Francisco State University
  9. References: <BzH58v.4q5@news.cso.uiuc.edu> <1992Dec19.011628.5712@leland.Stanford.EDU>
  10. Date: Sat, 19 Dec 1992 13:49:26 GMT
  11. Lines: 31
  12.  
  13. In article <1992Dec19.011628.5712@leland.Stanford.EDU>
  14.     gcolello@biosphere.Stanford.EDU (Greg Colello) writes:
  15. >In article <BzH58v.4q5@news.cso.uiuc.edu> beaucham@uxh.cso.uiuc.edu (James  
  16. >Beauchamp) writes:
  17. >> We've added an external hard drive to our NeXT (OS 2.1) and it's working  
  18. >fine
  19. >> except that whoever logs in on console owns all of the files under that
  20. >> disk's partition.  The fix given in the Sys Adm manual refers to the  
  21. >file 
  22. >> /etc/fstab, but that won't work if we're running NetInfo.
  23.  
  24. Of course it will--/etc/fstab is read *before* NetInfo starts.
  25. Put your local hard drives in /etc/fstab, and your NFS mounts
  26. in NetInfo.
  27.  
  28.     [/etc/fstab]
  29.     /dev/sd0a / 4.3 rw,noquota,noauto 0 1
  30.     /dev/sd1a /External 4.3 rw,noquota 0 2
  31.  
  32. This will cause the external disk to be properly mounted at boot
  33. time, and the automounter will leave it alone.
  34.  
  35. >same problems as you. We had to add to our /etc/mtab file the following  
  36.  
  37. No! No! No!  /etc/mtab is maintained by the mount(8) utility to
  38. parallel the kernel's mount state.  You should not ever be
  39. editing this file.  (And if you really do need to add something
  40. to /etc/mtab--and I doubt you ever will--the correct way is to
  41. use  mount -f)
  42.  
  43.                     -=EPS=-
  44.