From: Marius Mauch <genone@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] .keep files
Date: Mon, 23 May 2005 00:31:31 +0300 [thread overview]
Message-ID: <4290FA33.8000908@gentoo.org> (raw)
In-Reply-To: <20050522211909.4dbf4236@thelair.ynet.sk>
Andrej Kacian wrote:
> On Sat, 21 May 2005 17:37:53 -0700
> Drake Wyrm <wyrm@haell.com> wrote:
>
>
>>>I always thought that they were to keep 'emerge unmerge' from removing
>>>an empty directory, but I could be wrong...
>>
>>That, and to keep portage from removing empty directories during the
>>post-merge clean phase. Were it not for the .keep files, portage would
>>cheerfully remove any empty directories the first time the package was
>>upgraded.
>
>
> Wouldn't it be possible for portage to just compare a dir in live filesystem
> and in the emerge image, and if the dir in image contains .keep file, the live
> dir wouldn't get deleted?
>
That dir isn't available at that point. And even if it would be, won't
help as directories can be owned by multiple packages, and you
definitely don't want to cross-check all installed packages for file
ownership.
Marius
--
gentoo-dev@gentoo.org mailing list
prev parent reply other threads:[~2005-05-22 22:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-21 20:28 [gentoo-dev] .keep files Andrej Kacian
2005-05-21 20:38 ` marduk
2005-05-22 0:34 ` Jason Stubbs
2005-05-22 0:37 ` Drake Wyrm
2005-05-22 19:19 ` Andrej Kacian
2005-05-22 21:31 ` Marius Mauch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4290FA33.8000908@gentoo.org \
--to=genone@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox