Re: [PATCH shepherd] support: Ignore errors on parent directories in mkdir-p.

2016-02-06 Thread Ludovic Courtès
David Michael skribis: > On Thu, Feb 4, 2016 at 11:47 AM, Ludovic Courtès wrote: [...] >> I think that it’s a case where it would be beneficial for the Hurd to >> follow what Linux does, which is to return EEXIST. >> >> How does Coreutils’ ‘mkdir -p’ behave

Re: [PATCH shepherd] support: Ignore errors on parent directories in mkdir-p.

2016-02-04 Thread Ludovic Courtès
David Michael skribis: > My use case for this is that I have a crazy Hurd setup that boots a > read-only root file system with a passive tmpfs translator on /run. > When mkdir-p runs with "/run/shepherd", it tries to mkdir "/run". On > Hurd, mkdir first tests for a

[PATCH shepherd] support: Ignore errors on parent directories in mkdir-p.

2016-02-02 Thread David Michael
* modules/shepherd/support.scm (mkdir-p): Don't throw errors when mkdir fails and there are more subdirectory components to try. --- Hi, My use case for this is that I have a crazy Hurd setup that boots a read-only root file system with a passive tmpfs translator on /run. When mkdir-p runs