On Sat, Feb 27, 2021 at 11:21:45PM +0000, tetrahedra@danwin1210.me wrote:
> On Sat, Feb 27, 2021 at 08:27:07PM +0000, James Cook wrote:
> > Something's strange about your setup. The installer normally creates a
> > separate partition for /usr and maybe /usr/local. If you're using
> > pkg_add, then packages go in /usr/local, so they shouldn't end up on
> > your root partition.
> >
> > If your disk is really tiny the installer won't create a separate /usr
> > partition, but in that case it won't make a separate /home either.
>
> As far as I know everything was installed using defaults.
>
> Doing `pkg_add libreoffice` the installer is definitely looking at both /
> and /usr/local/ ... and it gives an odd bytecount for /:
>
> ```
> Error: /dev/sda1 on / is not large enough (/etc/mke2fs.conf)
Sorry, you're right, pkg_add can add files to /. But generally those
will be quite small (/etc/make2fs.conf sounds like a configuration
file).
How big is your root partition, and how much space is used? For example
mine is like this after several months of use and many packages
installed, indicating the installer's default behaviour has worked well
for me:
falsifian angel ~ $ df -h /
Filesystem Size Used Avail Capacity Mounted on
/dev/sd2a 989M 199M 741M 21% /
If you have a lot more space used, you could try to figure out what's
using it. My go-to command is "du -xah /|sort -h|less"
> /dev/sda1 on /: 956 bytes (missing 86470 blocks)
> /dev/sd1h on /usr/local: 4513435 bytes
> ```
>
> Later it gives different byte counts for both values.
--
James
No comments:
Post a Comment