Re: [PATCH RFC 0/7] fs: add failfs
From: Andy Lutomirski
Date: Thu Jul 23 2026 - 09:00:48 EST
On Thu, Jul 23, 2026 at 4:39 AM Christian Brauner <brauner@xxxxxxxxxx> 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