Article View: comp.sys.next.sysadmin
Article #670Beware the mount(8) program from hell !
From: Alex Blakemore
Date: Wed, 12 Aug 1992 14:57
Date: Wed, 12 Aug 1992 14:57
36 lines
1587 bytes
1587 bytes
Beware the Next mount(8) from hell ! It seems to have a limit on the number of spaces allowed between fields - and doesn't tell you about it except like "mount: / not found" (this happens at the top of boot.rc and cost me days, after adding a new disk - it never occurred to me that multiple spaces would be significant in 1992) ############ bad /etc/fstab ############ /dev/sd0a / 4.3 rw,noquota,noauto 0 1 /dev/sd1a /External_Disk 4.3 rw,noquota 0 2 ############ good /etc/fstab ############ /dev/sd0a / 4.3 rw,noquota,noauto 0 1 /dev/sd1a /External_Disk 4.3 rw,noquota 0 2 a few spaces are ok - I think its the ones before 4.3 that caused the problem. in other cases it just silently fails with no diagnostic whatsoever if for some reason it cant mount the device. remounts cause multiple entries in /etc/mtab. great program (: always save a copy of /etc/fstab and dont line up your local entries with the nfs entries. -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted -- --------------------------------------------------- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
Technical Details
Message-ID:
<59632@mimsy.umd.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!mimsy!alexShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!mimsy!alex From: alex@cs.umd.edu (Alex Blakemore) Newsgroups: comp.sys.next.sysadmin Subject: Beware the mount(8) program from hell ! Message-ID: <59632@mimsy.umd.edu> Date: 12 Aug 92 14:57:37 GMT Sender: news@mimsy.umd.edu Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 36