Re: pkg writing to /

From: Kevin Oberman <>
Date: Mon, 06 Mar 2023 00:56:37 UTC
On Sat, Mar 4, 2023 at 11:37 PM Daniel Braniss <> wrote:

> Hi,
>         how can I tell pkg not to write to /? in my case sometimes /
> is mounted ro, and so for example pkg update failed, or
> / - which is usually- kept as small as possible gets filled up, eg
> by /.pkgtemp.compat.xxxxx/linux
> thanks,
>         danny

What command are you using? Normally pkg should not be writing to root
unless one of the files it does write to is on the same file system.
Kevin Oberman, Part time kid herder and retired Network Engineer
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683