On Mon, Jan 01, 2007 at 09:11:12PM +0000, Karl O. Pinc wrote:
> Is the "stock" fstab documented anywhere?  That is,
> the fstab that you get if you use the recommended
> partitions that the install program sets up for you.
> 
> I've been shuffling partitions around and would like
> something to compare against with regards to
> mounting "noexec" "nosuid" etc.

It can be extracted from /usr/src/distrib/miniroot/install.sh, I
presume; but here's the default options:

/dev/xxx        /       ffw rw                  1 1
/dev/xxx        /home   ffs rw,nodev,nosuid     1 2
/dev/xxx        /tmp    ffs rw,nodev,nosuid     0 2
/dev/xxx        /usr    ffs rw,nodev            1 2
/dev/xxx        /var    ffs rw,nodev,nosuid     1 2

Of course, adding softdep might be useful. I'm not 100% positive on the
'dump' flag on /tmp - it might have been set to 1 initially. But if you
use it, you will know about that.

                Joachim

Reply via email to