4 ms·
It seems to me with Linux's dominance, FUSE is becoming an attractive way to export APIs, since by operating at the filesystem layer full access is guaranteed t
by contingencies 13y ago
It seems to me with Linux's dominance, FUSE is becoming an attractive way to export APIs, since by operating at the filesystem layer full access is guaranteed to all programs regardless of creed... without having to write a C library, or a corresponding library for every language. This is particularly useful for shell scripts. It's still a tradeoff though, and *BSD'ers won't be super pleased if it becomes too popular.
- koppa 13y agoYeah it is quite cool. Some time ago, I wrote a movie database with fuse backend and data supplied by imdb. It is really easy and straight forward to program.
- 4ad 13y agoLinux discovering Plan 9 ideas, only 20 years later.
- pjmlp 13y agoLinux is mostly about re-implementing old stuff, sadly I am yet to see many new ideas being explored, besides what commercial UNIXes and Mainframes offer.
- coldtea 13y agoIt's open source, you can go and implement this "novel stuff" yourself.
- 4ad 13y agoNo, you really can't. Plan 9 wasn't a modification of the Research Unix they used at the Labs, it was a new operating system because Unix couldn't implement the required abstractions in an orthogonal way. Plan 9 replaces the abstractions offered by Unix with different new ones; you can't just add new abstractions on top of old ones. It's a completely different world, different process and security models which are incompatible with the old models. Linux wouldn't be Linux anymore. One reason why you would want Linux with Plan 9 semantics instead of Plan 9 is because Linux has a lot of drivers. Unfortunately, the I/O model is a consequence on how Plan 9 does things, and if you want Plan 9 semantics in Linux you'd have to modify all the drivers. Every driver that uses IOCTLs would have to be modified, which is pretty much every one of them. Plus, whatever you did, there's the small matter of Linux people accepting you changes. A Linux fork is useless; if it's not in mainline, it doesn't exist. Historically the Linux folks haven't been very happy with these kind of changes...
- coldtea 13y agoLinux has been implementing Plan 9 features piecemeal for ages. For example: /proc fs, several system calls, utf-8, etc. But I wasn't talking about that stuff specifically (which might or might not be incompatible with core Linux). Parent lamented of Linux generally not trying out new research ideas. Well, why doesn't he have a go at it?
- pjmlp 13y agoIt is funny how the typical Linux zealots answer is go and implement the stuff one complains about. Everyone needs to be a kernel developer, a XWindows developer, a GNOME developer, a KDE developer, ... or just shut up. And even when something is done that goes out of the usual copying existing ideas, there is the uphill battle to get it eventually integrated and accepted, if ever. I have been coding before Linus could even think about doing Linux, and have better things to do with my free time.
- coldtea 13y ago>It is funny how the typical Linux zealots answer is go and implement the stuff one complains about. I use OS X. Could not care less about Linux except on a server. Have started with Sun OS and HPUX back in the day. >Everyone needs to be a kernel developer, a XWindows developer, a GNOME developer, a KDE developer, ... or just shut up. Pretty much sums it. >And even when something is done that goes out of the usual copying existing ideas, there is the uphill battle to get it eventually integrated and accepted, if ever. And why would it be "integrated and accepted" if the people don't like it? Because it's "novel" and "out of the usual"? I'd say, "we actually want it in our kernel" is a far more compelling argument than "It's novel". >I have been coding before Linus could even think about doing Linux, and have better things to do with my free time. So, you "have better things to do with my free time" but the people doing Linux kernel work should implement novel things for your amusement? How exactly do you justify that? (As for "coding before Linus could even think about doing Linux", should we be impressed by the timespan alone? Tons of dabblers and mediocrities have also done that).
- eikenberry 13y agoIt was really closer to 10 years later. FUSE has been around for quite a while.
- 4ad 13y agoAnd the ideas that eventually turned into Plan 9 namespaces first appeared in 8th edition Research Unix, for which the manual came in 1985.
- dmm 13y agoNetBSD has a userspace filesystem api with a FUSE compatibility layer: http://www.netbsd.org/docs/puffs/ http://www.netbsd.org/docs/puffs/ FreeBSD has had some work porting FUSE. I'm not sure the status I just remember seeing it as a GSoC project. Some people are working on FUSE for OpenBSD. The GPL license of libfuse seems to be a problem but the kernel side stuff is implemented: http://comments.gmane.org/gmane.os.openbsd.tech/31704 http://comments.gmane.org/gmane.os.openbsd.tech/31704
- laumars 13y agoA couple of years ago I used to use sshfs quite extensively in FreeBSD and that worked fine. The only problem was the FUSE required root permissions to mount (unlike Linux). But aside that, it worked fine. Hopefully they've since addressed the user mounting issue. I've not used it recently to check.