On Sun, 17.08.14 09:45, Michael Olbrich (m.olbr...@pengutronix.de) wrote:
On read-only filesystems trying to create the target will not fail with
EEXIST but with EROFS.
Hmm, what precisely fails with EROFS?
if there's an existing directory on some read-only fs, and we issue
mkdir() on it,
On read-only filesystems trying to create the target will not fail with
EEXIST but with EROFS.
---
Some more cases that fail on read-only filesystems.
src/tmpfiles/tmpfiles.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/tmpfiles/tmpfiles.c