[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-devel-list
Subject: Re: Fedora 33 System-Wide Change proposal: Sqlite RpmDB
From: Panu Matilainen <pmatilai () redhat ! com>
Date: 2020-03-26 13:29:50
Message-ID: 164069c1-87ec-a031-3b12-630edfe92d74 () redhat ! com
[Download RAW message or body]
On 3/26/20 2:20 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Thu, Mar 26, 2020 at 07:38:33AM -0400, Neal Gompa wrote:
>> Since RPM 4.14, RPM creates a new directory, writes the database
>> content there, then renames the directory when it's done.
>
> Does it use renameat2(RENAME_EXCHANGE)?
No, rpm doesn't use many Linux-specific calls and this is no exception.
In fact it doesn't use any of the *at() family calls directly either.
This is actually the first I hear about that system call which indeed
seems highly useful for rpm, so thanks for the tip :)
- Panu -
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic