Re: [PATCH RFC 0/7] fs: add failfs
Andy Lutomirski <[email protected]> Thu, 23 Jul 2026 05:53:42 -0700
| Newsgroups | org.kernel.vger.linux-api,org.kernel.vger.linux-doc,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CALCETrXSDhrDzdGsknz0EpZkowm3OAPihyEU5Xf_Mb2CTr0SmQ@mail.gmail.com> |
On Thu, Jul 23, 2026 at 4:39=E2=80=AFAM Christian Brauner <[email protected]= rg> wrote: > [snipped excellent list of things one cannot do with failfs] > A plain readlink() of > such a link still works and shows "/". This seems awkward to me. I feel like ls -ld /proc/PID/{cwd,exe} should probably show something distinctive instead of "/". Maybe readlink() should show "[failfs] /" or similar? Both admins or developers trying to see what's going on and CRIU might want this. IMO it's too bad that we don't have a nicely parseable readlink output for oddities like links to deleted files, but oh well. --Andy