fstab and mount points
Daniel Staal
DStaal at usa.net
Fri Jul 4 09:52:58 PDT 2008
--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.
---------------------------------------------------------------
More information about the Openbsd-newbies
mailing list