home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / sysadmin / 4616 next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.5 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!alex
  2. From: alex@cs.umd.edu (Alex Blakemore)
  3. Newsgroups: comp.sys.next.sysadmin
  4. Subject: Beware the mount(8) program from hell !
  5. Message-ID: <59632@mimsy.umd.edu>
  6. Date: 12 Aug 92 14:57:37 GMT
  7. Sender: news@mimsy.umd.edu
  8. Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
  9. Lines: 36
  10.  
  11. Beware the Next mount(8) from hell !
  12.  
  13. It seems to have a limit on the number of spaces
  14. allowed between fields - and doesn't tell you
  15. about it except like "mount: / not found"
  16.  
  17. (this happens at the top of boot.rc and cost me days,
  18. after adding a new disk - it never occurred to me that
  19. multiple spaces would be significant in 1992)
  20.  
  21. ############ bad /etc/fstab ############
  22. /dev/sd0a               /              4.3 rw,noquota,noauto  0 1
  23. /dev/sd1a               /External_Disk 4.3 rw,noquota         0 2
  24.  
  25. ############ good /etc/fstab ############
  26. /dev/sd0a / 4.3 rw,noquota,noauto 0 1
  27. /dev/sd1a /External_Disk 4.3 rw,noquota 0 2
  28.  
  29. a few spaces are ok - I think its the ones before 4.3
  30. that caused the problem.
  31.  
  32. in other cases it just silently fails with no diagnostic
  33. whatsoever if for some reason it cant mount the device.
  34. remounts cause multiple entries in /etc/mtab.
  35.  
  36. great program (:
  37.  
  38. always save a copy of /etc/fstab and dont line up
  39. your local entries with the nfs entries.
  40.  
  41. -- 
  42. ---------------------------------------------------
  43. Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
  44. -- 
  45. ---------------------------------------------------
  46. Alex Blakemore alex@cs.umd.edu   NeXT mail accepted
  47.