if you are adding/removing additional drives, you may run into the problem of the system failing to boot if drive changes from wd0 to wd1 or vice versa. Just removing the second drive will also screw things up until you edit fstab You will need to mount / and /usr as read/write after using fsck -p on each. What I had a hard time discovering was the need to use : export TERM=xterm (or vt220, etc.) to get an editor such as vi working
Seems to me that this ought to be added somewhere obvious, since not knowing that last step is a real disaster to a newbie removing a disk! Chris Bennett Daniel Staal wrote: > --As of July 4, 2008 2:12:38 PM +0100, kim is alleged to have said: > > >>> With another hard drive installed on wd2 so will adding >>> >>> /dev/wd2a /home rw 1 2 >>> >> and to answer my own question no it's >> >> /dev/wd2a /home ffs rw,nodev,nosuid 1 2 >> >> but you have to dicker about with which drive becomes wd1/wd2 etc. >> > > --As for the rest, it is mine. > > You could leave out the 'nodev,nosuid' if you wanted to. However, they > will help your users keep from shooting themselves (and possibly others...) > in the foot. > > There might be occasions where the 'nosuid' would get in the way though. > (Very rare, but I can see them occurring.) > > Just saying you should think about what you want to allow and not: There > are other options as well that you can put in. They are all listed in the > 'mount' man page; spending a little time reading that might come in handy. > The fstab man page is where the documentation lives for the file you are > editing, it'll tell you what the rest of the fields mean. > > Daniel T. Staal > > --------------------------------------------------------------- > This email copyright the author. Unless otherwise noted, you > are expressly allowed to retransmit, quote, or otherwise use > the contents for non-commercial purposes. This copyright will > expire 5 years after the author's death, or in 30 years, > whichever is longer, unless such a period is in excess of > local copyright law. > --------------------------------------------------------------- > _______________________________________________ > Openbsd-newbies mailing list > [email protected] > http://mailman.theapt.org/listinfo/openbsd-newbies > > > _______________________________________________ Openbsd-newbies mailing list [email protected] http://mailman.theapt.org/listinfo/openbsd-newbies
