Thread View: comp.sys.next.sysadmin
4 messages
4 total messages
Started by James Beauchamp
Fri, 18 Dec 1992 21:34
External Drive File Ownership Problem
Author: James Beauchamp
Date: Fri, 18 Dec 1992 21:34
Date: Fri, 18 Dec 1992 21:34
7 lines
912 bytes
912 bytes
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. So what do we do to get this to mount correctly? I hope there is an easy way! Jim Beauchamp
Re: External Drive File Ownership Problem
Author: Greg Colello
Date: Sat, 19 Dec 1992 01:16
Date: Sat, 19 Dec 1992 01:16
31 lines
1679 bytes
1679 bytes
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. So what do we do to > get this to mount correctly? I hope there is an easy way! > > Jim Beauchamp When we got our CubeRoute 1GB hard drive, it was automounting. We had the same problems as you. We had to add to our /etc/mtab file the following line: /dev/sd1a "/CubeRouteHardDrive" 4.3 rw,noquota 0 2 sd1a is the CubeRoute drive (as an external drive). sd0a was our NeXTcube internal 330MB hard drive (as the boot drive). I don't really understand the options used for the sd1a drive , but I got them from the CubeRoute guy. Without this entry in /etc/mtab the external drive will automount as you described. ----------------------------------------------------------------- Greg Colello Carnegie Institution, Department of Plant Biology Stanford University gcolello@biosphere.stanford.edu (NeXT mail OK)
Re: External Drive File Ownership Problem
Author: 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=-
Re: External Drive File Ownership Problem
Author: James Beauchamp
Date: Mon, 21 Dec 1992 17:21
Date: Mon, 21 Dec 1992 17:21
24 lines
1469 bytes
1469 bytes
Thanks to everyone who responded to my note. I was confused by the statement in the file /etc/fstab that said # NOTE: This file is never consulted if NetInfo is running. It is only # used during bootstrap. I interpreted this to mean that the information in this file was somehow completely ineffective if NetInfo was used. So now I have edited this line to say # NOTE: This file is used to initialize disk partition status during bootstrap. # It is not consulted while NetInfo is running, The consensus is that to provide indivdual file ownership and protection the fstab file should follow the following format: /dev/sd0a / 4.3 rw,noquota,noauto 0 1 /dev/sd0b /Clients 4.3 rw,noquota 0 2 /dev/sd1a /External 4.3 rw,noquota 0 2 where sd0a,b are partitions of the internal drive and sd1a is a partition of the external SCSI drive. Jim Beauchamp
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads