Merged.
Ivana
- Original Message -
> From: "Jan Safranek"
> To: "Peter Schiffer"
> Cc: "Ivana Varekova" , libcg-devel@lists.sourceforge.net
> Sent: Monday, May 13, 2013 1:55:55 PM
> Subject: Re: [Libcg-devel] [PATCH] Make cg_mkdir_p() functi
On 05/13/2013 01:49 PM, Peter Schiffer wrote:
>
> There is updated version of this patch, which shouldn't be racy, see
> below. I can confirm that mkdir() returns EROFS on read-only fs even
> when the directory exists.
Acked-By: Jan Safranek
>
> peter
>
>
> diff --git a/src/api.c b/src/api.c
ourceforge.net
>>> Sent: Monday, February 11, 2013 6:09:02 PM
>>> Subject: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible with
>>> read-only fs
>>>
>>> mkdir(2) function returns EROFS error even when the path already exists on
>>&g
M
>> Subject: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible with
>> read-only fs
>>
>> mkdir(2) function returns EROFS error even when the path already exists on
>> the
>> read only file system, so it is impossible to determine whether the path
>&
Seems ok for me, Jan could you look at it pleas?
Ivana
- Original Message -
> From: "Peter Schiffer"
> To: libcg-devel@lists.sourceforge.net
> Sent: Monday, February 11, 2013 6:09:02 PM
> Subject: [Libcg-devel] [PATCH] Make cg_mkdir_p() function compatible wi
On 02/13/2013 09:20 AM, Jan Safranek wrote:
> On 02/11/2013 06:09 PM, Peter Schiffer wrote:
>> mkdir(2) function returns EROFS error even when the path already exists on
>> the
>> read only file system, so it is impossible to determine whether the path
>> already
>> exists on this kind of fs only
On 02/11/2013 06:09 PM, Peter Schiffer wrote:
> mkdir(2) function returns EROFS error even when the path already exists on the
> read only file system, so it is impossible to determine whether the path
> already
> exists on this kind of fs only be return code from the mkdir(2). To make
> cg_mkdir_
mkdir(2) function returns EROFS error even when the path already exists on the
read only file system, so it is impossible to determine whether the path already
exists on this kind of fs only be return code from the mkdir(2). To make
cg_mkdir_p() compatible with the ro fs, the function checks whethe