> On 6 Mar 2023, at 02:56, Kevin Oberman <[email protected]> wrote:
> 
> On Sat, Mar 4, 2023 at 11:37 PM Daniel Braniss <[email protected] 
> <mailto:[email protected]>> 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.

with a read-only root this failed:
        pkg update

with a writable root the above works.

also, using portmaster …. (i don’t know which port, but suspect linux)
the root partition got filled up, and after some hunting i found 
du -hs /.pkgtemp.compat.7vhU2YxJLCDB/
243M    /.pkgtemp.compat.7vhU2YxJLCDB/

> -- 
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: [email protected] <mailto:[email protected]>
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Reply via email to