tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: OWN_DIRS semantics



On Sat 16 Sep 2017 at 21:32:33 +0000, Johnny C. Lam wrote:
> Another option is to just refcount the directories and only warn
> if the refcount is zero but the directory can't be removed because
> it's not empty.  This is probably the cleanest option, and we get
> rid of the concept of OWN_DIRS entirely.

Isn't that what /var/db/pkg.refcount/dirs/  (etc/rc.d/) is doing already?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index