Article View: comp.sys.next.sysadmin
Article #2184Re: External Drive File Ownership Problem
From: Eric P. Scott
Date: Sat, 19 Dec 1992 13:49
Date: Sat, 19 Dec 1992 13:49
31 lines
1708 bytes
1708 bytes
In article <1992Dec19.011628.5712@leland.Stanford.EDU> gcolello@biosphere.Stanford.EDU (Greg Colello) writes: >In article <BzH58v.4q5@news.cso.uiuc.edu> beaucham@uxh.cso.uiuc.edu (James >Beauchamp) writes: >> We've added an external hard drive to our NeXT (OS 2.1) and it's working >fine >> except that whoever logs in on console owns all of the files under that >> disk's partition. The fix given in the Sys Adm manual refers to the >file >> /etc/fstab, but that won't work if we're running NetInfo. Of course it will--/etc/fstab is read *before* NetInfo starts. Put your local hard drives in /etc/fstab, and your NFS mounts in NetInfo. [/etc/fstab] /dev/sd0a / 4.3 rw,noquota,noauto 0 1 /dev/sd1a /External 4.3 rw,noquota 0 2 This will cause the external disk to be properly mounted at boot time, and the automounter will leave it alone. >same problems as you. We had to add to our /etc/mtab file the following No! No! No! /etc/mtab is maintained by the mount(8) utility to parallel the kernel's mount state. You should not ever be editing this file. (And if you really do need to add something to /etc/mtab--and I doubt you ever will--the correct way is to use mount -f) -=EPS=-
Technical Details
Message-ID:
<1992Dec19.134926.21484@csus.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!newsReferences:
<BzH58v.4q5@news.cso.uiuc.edu> <1992Dec19.011628.5712@leland.Stanford.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!news From: eps@futon.SFSU.EDU (Eric P. Scott) Subject: Re: External Drive File Ownership Problem Message-ID: <1992Dec19.134926.21484@csus.edu> Sender: news@csus.edu Reply-To: eps@cs.sfsu.edu Organization: San Francisco State University References: <BzH58v.4q5@news.cso.uiuc.edu> <1992Dec19.011628.5712@leland.Stanford.EDU> Date: Sat, 19 Dec 1992 13:49:26 GMT Lines: 31