Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 15:28:26 -0700
From:      Michael Sierchio <kudzu@tenebras.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: (very OT) Ideal partition schemes (history of partitioning)
Message-ID:  <CAHu1Y71WCjUB0Mhe2jAUrDTPVZeg09w2_xqpkj1NhGMPc=PL7A@mail.gmail.com>
In-Reply-To: <5f4c2477.1c69fb81.f2ee5.4fadSMTPIN_ADDED_MISSING@mx.google.com>
References:  <CAGBxaXkf53K4EHtq9cDaRm3MOZZixyBq-aQfZ7upHo-wUwrmCg@mail.gmail.com> <20200829154417.8dd5f83d.freebsd@edvax.de> <5f4c2477.1c69fb81.f2ee5.4fadSMTPIN_ADDED_MISSING@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, Aug 30, 2020 at 3:13 PM Thomas Mueller <mueller6722@twc.com> wrote:

>
> GPT means I never have to deal with traditional BSD disklabels any more; I
> don't run OpenBSD or DragonFlyBSD.
>

Yes. It does make for an uglier /etc/fstab – in my case, anyway.  I use a
uuid generator for names of partitions that share a disk.

/dev/gpt/X0ytZZj73CYF0-root      /          ufs     rw,noatime          1 1

/dev/gpt/X0ytZZj73CYF0-swap.eli  none       swap    sw                  0 0

/dev/gpt/X0ytZZj73CYF0-tmp       /tmp       ufs     rw,noexec,nosuid    2 2

/dev/gpt/X0ytZZj73CYF0-var       /var       ufs     rw,noatime          2 2

/dev/gpt/X0ytZZj73CYF0-vartmp    /var/tmp   ufs     rw,noexec,nosuid    2 2
/dev/gpt/X0ytZZj73CYF0-usr       /usr       ufs     rw,noatime          2 2

The fstab also shows the argument for separate parititions for tmp
filesystems.  Any world-writable filesystem should be noexec, nosuid.
Well, that's my opinion.


-- 

"Well," Brahmā said, "even after ten thousand explanations, a fool is no
wiser, but an intelligent person requires only two thousand five hundred."

- The Mahābhārata



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71WCjUB0Mhe2jAUrDTPVZeg09w2_xqpkj1NhGMPc=PL7A>