News for hackers. Stuff that matters.
Re:Non-Posix File Systems by guerby on Tuesday September 08, 2020 @04:56PM (#24413253)
FUSE allows you to experiment new (or old) features easily nowadays, too bad it isn't mentionned in the article:

https://en.wikipedia.org/wiki/Filesystem_in_Userspace

I use borg mount to access my backups for example.

Re:Non-Posix File Systems by bityard on Tuesday September 08, 2020 @05:41PM (#24413811)
FUSE effectively provides a POSIX-like interface to arbitrary code, whereas the author is lamenting that these features weren't built into Unix/POSIX-like systems to make them widely available in the first place.

The "problem" with modern POSIXish systems is that the definition of what is "POSIX" seems to be set in stone. All the various Unix-likes offer POSIX compatibility (or aim toward it) while new features that extend capability end up being implemented in completely different ways across different systems.

So for example while Linux has inotify (arguably an implementation of the filesystem traps that Multics had), SGI had FAM, FreeBSD has kqueue, MacOS has FSEvents, and they're all incompatible with each other... a nightmare for developers of portable applications.

Re:Non-Posix File Systems by anthk on Tuesday September 08, 2020 @10:55PM (#24416464)
>a nightmare for developers of portable applications.

man 2 fstat.

Re:Non-Posix File Systems by comex on Tuesday September 08, 2020 @11:17PM (#24416630)
fstat is not a mechanism for being notified when a file changes.
Re:Non-Posix File Systems by anthk on Wednesday September 09, 2020 @01:13PM (#24423217)
I've just shown you another example on incompatibility.