xfs
[Top] [All Lists]

Re: [PATCH] xfstests: test EROFS vs. EEXIST when creating on an RO files

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: [PATCH] xfstests: test EROFS vs. EEXIST when creating on an RO filesystem
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 27 Nov 2012 17:11:11 -0500
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <50B52DB7.3030506@xxxxxxxxxx>
References: <50B52DB7.3030506@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Nov 27, 2012 at 03:16:39PM -0600, Eric Sandeen wrote:
> TBH, I don't know if this is posix-specified, but I found out the
> hard way that when trying to re-create existing files on a readonly 
> filesystem, some apps expect/handle EEXIST, but fail on EROFS.
> 
> This will test mkdir, mknod, and symlinks for that behavior.

Just curious, which filesystem would fail this currently or did in the
past?

<Prev in Thread] Current Thread [Next in Thread>