logoalt Hacker News

yjftsjthsd-hlast Saturday at 4:45 PM1 replyview on HN

Skimming https://doc.redox-os.org/book/scheme-rooted-paths.html and https://doc.redox-os.org/book/schemes.html , I think they've slightly reworked that to a more-unixy approach, but yeah still fundamentally more URI than traditional VFS


Replies

OJFordyesterday at 11:26 AM

I don't think that's changed, it's just that /foo is an alias for /scheme/file/foo.

You could roughly emulate it on Unix by assuming every filename starting /scheme/bar/ is a bar-type (special) file, but nothing stops you creating (and you'd necessarily have) 'files' of any type outside that. In Redox, everything has that scheme prefix describing its type (and if omitted, it's implicitly /scheme/file/).