Re: pkg writing to /

From: Daniel Braniss <danny_at_cs.huji.ac.il>
Date: Mon, 06 Mar 2023 07:57:55 UTC
is this true also for ‘pky update’?

the /compat was a problem,
it was a symlink /usr/local/compat and for some reason the mkdir /compat/linux failed,
i did as root ‘mkdir /usr/local/compat/linux’, and linux installed ok.
danny


> On 6 Mar 2023, at 09:52, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> 
> On Sun, Mar 05, 2023 at 09:37:32AM +0200, 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
>> 
>> 
> This is because you don't have a /compat on your / but you are trying to
> install a package that installs files under /compat
> 
> Bapt