Vào Th 3, 13 thg 2, 2024 vào lúc 19:41 Odhiambo Washington <[email protected]> đã viết: > > Is there a disadvantage to having this layout style where everything is on > 1 partition? > > ``` > openbsd$ uname -a > OpenBSD openbsd.vmbridge.local 7.4 GENERIC.MP#1397 amd64 > openbsd$ df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/sd0a 43.3G 1.7G 39.5G 5% / > openbsd$ ls -al / > total 158208 > drwxr-xr-x 13 root wheel 512 Feb 13 14:54 . > drwxr-xr-x 13 root wheel 512 Feb 13 14:54 .. > -rw-r--r-- 1 root wheel 578 Oct 10 17:41 .cshrc > -rw-r--r-- 1 root wheel 468 Oct 10 17:41 .profile > drwxr-xr-x 2 root wheel 512 Oct 10 17:41 altroot > drwxr-xr-x 2 root wheel 1024 Oct 10 17:41 bin > -rwx------ 1 root wheel 25441732 Feb 13 14:54 bsd > -rwx------ 1 root wheel 25417620 Feb 13 14:36 bsd.booted > -rw------- 1 root wheel 4659966 Feb 13 14:35 bsd.rd > -rw------- 1 root wheel 25344566 Feb 13 14:35 bsd.sp > drwxr-xr-x 6 root wheel 19456 Feb 13 14:39 dev > drwxr-xr-x 24 root wheel 1536 Feb 13 14:53 etc > drwxr-xr-x 3 root wheel 512 Feb 13 14:36 home > drwxr-xr-x 2 root wheel 512 Oct 10 17:41 mnt > drwx------ 3 root wheel 512 Feb 13 14:36 root > drwxr-xr-x 2 root wheel 1536 Oct 10 17:41 sbin > lrwxrwx--- 1 root wheel 11 Oct 10 17:41 sys -> usr/src/sys > drwxrwxrwt 6 root wheel 512 Feb 13 14:54 tmp > drwxr-xr-x 16 root wheel 512 Feb 13 14:36 usr > drwxr-xr-x 24 root wheel 512 Oct 8 18:42 var > ``` > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > In an Internet failure case, the #1 suspect is a constant: DNS. > "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) > [How to ask smart questions: > http://www.catb.org/~esr/faqs/smart-questions.html]
There isn't a single advantage having a huge root partition, even for virtual throwaway machines. I'd add some mail on the list, in addition to the faq: https://marc.info/?l=openbsd-misc&m=154053727724928&w=3 https://marc.info/?l=openbsd-misc&m=154054091026039&w=3

