News for hackers. Stuff that matters.
Re:S3 is files, but not a filesystem by throwitaway222 on Sunday March 10, 2024 @01:59AM (#39657261)
Similarly the UI in linux is making up the notion of folders and files in them. But we don't say it doesn't exist.
Re:S3 is files, but not a filesystem by kelnos on Sunday March 10, 2024 @03:42AM (#39657428)
No, they're not made up. A folder (or directory) is a specific type of inode, just a file is.

S3 doesn't have folders. The UI fakes them by creating a 0-byte object (or file, if you will). It's a kludge.

Re:S3 is files, but not a filesystem by klodolph on Sunday March 10, 2024 @09:46AM (#39658998)
The UI will fake them without even creating the 0-byte object.
Re:S3 is files, but not a filesystem by dathery on Sunday March 10, 2024 @03:35AM (#39657400)
Directories actually exist on the filesystem, which is why you have to create them before use and they can exist and be empty. They don't exist in S3 and neither of those properties do, either. Similarly, common filesystem operations on directories (like efficiently renaming them, and thus the files under them) are not possible in S3.

Of course it can still be useful to group objects in the S3 UI, but it would probably be better to use some kind of prefix-centric UI rather than reusing the folder metaphor when it doesn't match the paradigm people are used to.