automounting /dev/user to /usr in all levels

Wei Jen Yeh yeh at cs.purdue.EDU
Thu Aug 23 06:07:48 AEST 1990


Hello, 

  First I would like to thank those who sent me the 14-char-filename fix.

  I was helping a friend of mine setting up his system and ran into this
problem.  First some bg info.  He's got a mfm drive and a scsi drive.
What I'd like to do is after the installation, create a file system on the
scsi drive (say /dev/user), move /usr onto it, and automount /dev/user to /usr
UNDER ALL INIT LEVELS.  The question is, where in /etc/rc... should I
issue the mount command so that it's executed in single usr mode and won't
be executed twice in mult. usr mode.


  By the way, just to be sure, is the following the right procedure to do it?
o mkdev hd
o mkdev hd (the second time)
o mkdev fs (/dev/user -> /user)
  and don't automount it when entering mult. usr mode.
o mount /dev/user /user
o use tar to copy files from /usr to /user
o modify/create some init script so that /dev/user is mounted as /usr
o rm -rf /usr
o shutdown

Thanks in advance for any help.

Wei Jen Yeh

yeh at cs.purdue.edu
Department of Computer Science
Purdue University
West Lafayette, Indiana



More information about the Comp.unix.i386 mailing list