| Post Reply | RetroFed Forum Forum Index
» linuxmemes
Page 1 of 2 Goto page 1, 2 Next Last » |
| Author | Message | ||
|---|---|---|---|
|
alectronic
piefed.zip
alectronic@piefed.zip Joined: 2026-03-27 |
|
||
| 562 Original | |||
|
cub Gucci
lemmy.today
vivalapivo@lemmy.today Joined: 2025-06-15 |
Epstein's? |
||
| 5 | |||
Truscape
lemmy.blahaj.zone
Truscape@lemmy.blahaj.zoneJoined: 2025-06-20 |
Yep, takes a moment to wrap your head around but the longer you read linux/unix documentation, the more it makes sense why it is the case. |
||
| 46 | |||
InternetCitizen2
lemmy.world
InternetCitizen2@lemmy.worldJoined: 2023-06-16 |
Epstein's?
Yeah, but in the BSD land as their licensing is more Libertarian esqu. |
||
| 2 | |||
notptr
lemmy.cyberia9.org
notptr@lemmy.cyberia9.orgJoined: 2026-03-25 |
Want take it to 11 plan 9 did it. |
||
| 12 | |||
|
BartyDeCanter
piefed.social
BartyDeCanter@piefed.social Joined: 2026-05-02 |
Stages of POSIX enlightenment:
Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell you how to reach stage 6, you must discover it for yourself. |
||
| 124 | |||
Sinthesis
lemmy.today
Sinthesis@lemmy.todayJoined: 2024-12-10 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
|
||
| 56 | |||
SpaceCowboy
lemmy.ca
SpaceCowboy@lemmy.caJoined: 2023-06-17 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
Unfortunately, no one can be told what a file is. You have to see it for yourself. This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the file system goes. |
||
| 26 | |||
|
Equinox1289
sh.itjust.works
Equinox1289@sh.itjust.works Joined: 2026-05-14 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
Okay, but what are blocks then? A file is really just a bunch of blocked stacked together with the inode metadata also sitting on another block, so is everything just blocks or because you can emulate a block device on a filesystem, are blocks themselves files? If that last part is true then files are infinitely recursive and my head is starting to spin. |
||
| 6 | |||
swab148
lemmy.dbzer0.com
swab148@lemmy.dbzer0.comJoined: 2025-06-04 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
You'll know you've reached stage 6 when you seriously start considering running Plan 9 as a daily driver |
||
| 15 | |||
|
NeatNit
discuss.tchncs.de
NeatNit@discuss.tchncs.de Joined: 2024-01-05 |
Unfortunately, no one can be told what a file is. You have to see it for yourself. This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the file system goes.
|
||
| 34 | |||
BlueKey
fedia.io
BlueKey@fedia.ioJoined: 2024-03-11 |
But some things are directories (like cgroups). And Networknamespaces were also controled in a weird way. |
||
| 6 | |||
|
BartyDeCanter
piefed.social
BartyDeCanter@piefed.social Joined: 2026-05-02 |
Okay, but what are blocks then? A file is really just a bunch of blocked stacked together with the inode metadata also sitting on another block, so is everything just blocks or because you can emulate a block device on a filesystem, are blocks themselves files? If that last part is true then files are infinitely recursive and my head is starting to spin.
You are almost ready to take the next step. But to do so, you must unlearn what you think you know. Write a filesystem that does not have blocks for a media without pages, and you will find the footprints of your next teacher. |
||
| 4 | |||
|
Err(()).unwrap()
Moderator
rtxn@lemmy.world Joined: 2023-06-24 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
"How can files be real if the filesystem isn't real?" - Jaden Smith (probably) |
||
| 10 | |||
JackbyDev
programming.dev
JackbyDev@programming.devJoined: 2023-06-13 |
It makes more sense when you realize that it's not that everything is files it's that everything can be treated as a file. There are other APIs to interact with things, but everything can be interacted with as if it was a file. It doesn't seem as bonkers like this. |
||
| 54 | |||
|
🌸𝓯𝓵𝓸𝔀𝓮𝓻🌸
sh.itjust.works
Flower@sh.itjust.works Joined: 2026-04-29 |
Well, if you go back far enough you might encounter punch cards or even switches, but then again you're not taking about modern computers anymore. |
||
| 6 | |||
|
Agent641
lemmy.world
Agent641@lemmy.world Joined: 2023-07-12 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
Am I a file? |
||
| 10 | |||
Axolotl
feddit.it
Axolotl_cpp@feddit.itJoined: 2025-10-10 |
But some things are directories (like cgroups). And Networknamespaces were also controled in a weird way. And then there are kernel features which are not exposed through a file or syscall but through a special type of socket.
Aren't directories just files that say "hey i am directory ABCD and file X, Y and Z are my childs"? |
||
| 9 | |||
|
Ensign_Crab
lemmy.world
Ensign_Crab@lemmy.world Joined: 2023-06-29 |
Am I a file?
Can you read me? |
||
| 9 | |||
Zozano
aussie.zone
Zozano@aussie.zoneJoined: 2023-07-09 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
It's more likely than you think. |
||
| 5 | |||
|
notabot
piefed.social
notabot@piefed.social Joined: 2025-06-04 |
Aren't directories just files that say "hey i am directory ABCD and file X, Y and Z are my childs"?
Directories are just files if you squint at then right, and sockets are basically files too. As another commenter said, it's not that everything is literally a file, but that it presents as a file, and can be interacted with as one. |
||
| 5 | |||
Bo7a
piefed.ca
Bo7a@piefed.caJoined: 2025-06-10 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
And the hidden 0th level that you only get after being nearly killed by a falling server rack: "Files Aren't Things" Which looks great on a tshirt, btw :p |
||
| 4 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
Well, if you go back far enough you might encounter punch cards or even switches, but then again you're not taking about modern computers anymore.
What's this "back far enough" shit, I've used punch cards and punch tape. Fuck me I'm old. |
||
| 9 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
/dev/null sez nothing is also a file
Asking for a friend. If you can recognize "nothing" then "nothing" must be something right? So if nothing is a file, because /dev/null says so, then nothing MUST be something to be a file. And therefore /dev/null can't be nothing. Or do I just need more tea? Or maybe whisk(e)y? |
||
| 9 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
Unfortunately, no one can be told what a file is. You have to see it for yourself. This is your last chance. After this, there is no turning back. You take the blue pill - the story ends, you wake up in your bed and believe whatever you want to believe. You take the red pill - you stay in Wonderland and I show you how deep the file system goes.
That way lies madness! |
||
| 2 | |||
|
🌸𝓯𝓵𝓸𝔀𝓮𝓻🌸
sh.itjust.works
Flower@sh.itjust.works Joined: 2026-04-29 |
What's this "back far enough" shit, I've used punch cards and punch tape. Fuck me I'm old.
To feel really old: http://themindsetlist.com/lists/ |
||
| 2 | |||
|
jj4211
lemmy.world
jj4211@lemmy.world Joined: 2023-06-16 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
Missing stage 7: Not everything is a file. Linux is closer than other *nixes (sysctl equivalents in some platforms are not files, but they are files in Linux). However get very far into network and the file-like behaviors become more limited. From an application, at least you have a decent chance of having unseekable, but otherwise 'file-like' interaction with stream protocols. Then you need recvmsg/sendmsg. Then you want to deal with low level interaction with the network stack and dealing with NETLINK and such.. |
||
| 4 | |||
|
jj4211
lemmy.world
jj4211@lemmy.world Joined: 2023-06-16 |
Okay, but what are blocks then? A file is really just a bunch of blocked stacked together with the inode metadata also sitting on another block, so is everything just blocks or because you can emulate a block device on a filesystem, are blocks themselves files? If that last part is true then files are infinitely recursive and my head is starting to spin.
The devnode that is used to reference the block is a file, so you come back to blocks just 'being offsets into some file'. Though system calls, ioctls and networking credibly get away from file semantics |
||
| 1 | |||
|
HeHoXa
lemmy.zip
HeHoXa@lemmy.zip Joined: 2026-04-08 |
Asking for a friend. If you can recognize "nothing" then "nothing" must be something right? So if nothing is a file, because /dev/null says so, then nothing MUST be something to be a file. And therefore /dev/null can't be nothing. Or do I just need more tea? Or maybe whisk(e)y?
The word "nothing" isn't itself nothing. It is something used to describe nothing. |
||
| 12 | |||
|
absentbird
lemmy.world
absentbird@lemmy.world Joined: 2025-06-04 |
It makes more sense when you realize that it's not that everything is files it's that everything can be treated as a file. There are other APIs to interact with things, but everything can be interacted with as if it was a file. It doesn't seem as bonkers like this.
Exactly. A file is really just a way to understand a collection of bits. So saying everything is files is like saying everything in computers can be described as sets of bits, which is not a terrible heuristic. |
||
| 18 | |||
|
sik0fewl
piefed.ca
sik0fewl@piefed.ca Joined: 2025-07-06 |
/dev/null sez nothing is also a file
A file would be something. No, it was nothing. |
||
| 2 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
To feel really old: http://themindsetlist.com/lists/
That's funny. I have a pair of Converse tennis shoes that are 27 years older than that list...... |
||
| 2 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
The word "nothing" isn't itself nothing. It is something used to describe nothing.
The word "nothing" is the English word describing the concept of nothing. And I have to use the word to describe the concept. So yes, you are correct the word is itself "something". So that is probably one point for "nothing" to not exist. I have now consumed 3 cups of tea. And my head now hurts from thinking about nothing. I should never have stepped into this post. |
||
| 11 | |||
BobWehadababyitsaboy
lemmy.world
BobWehadababyitsaboy@lemmy.worldJoined: 2023-10-21 |
Exactly. A file is really just a way to understand a collection of bits. So saying everything is files is like saying everything in computers can be described as sets of bits, which is not a terrible heuristic.
It's like saying everything is a wave IRL. |
||
| 15 | |||
|
chrash0
lemmy.world
chrash0@lemmy.world Joined: 2024-03-03 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
true enlightenment: everything is a string over an IO socket |
||
| 12 | |||
|
nullptr
lemmy.world
kSPvhmTOlwvMd7Y7E@lemmy.world Joined: 2023-06-15 |
The word "nothing" is the English word describing the concept of nothing. And I have to use the word to describe the concept. So yes, you are correct the word is itself "something". So that is probably one point for "nothing" to not exist. I have now consumed 3 cups of tea. And my head now hurts from thinking about nothing. I should never have stepped into this post.
it's just a sentinel value. You ve |
||
| 3 | |||
|
Bluewing
lemmy.world
Bluewing@lemmy.world Joined: 2024-10-25 |
it's just a sentinel value. You ve reached the end. gimme back the length
The length is a null value. |
||
| 4 | |||
|
nullptr
lemmy.world
kSPvhmTOlwvMd7Y7E@lemmy.world Joined: 2023-06-15 |
The length is a null value.
oh god oh no oh god oh no i am gonna crash |
||
| 3 | |||
gandalf_der_13te
feddit.org
gandalf_der_13te@feddit.orgJoined: 2026-08-01 |
The word "nothing" isn't itself nothing. It is something used to describe nothing.
in fact that gets used in abstract mathematics to first introduce the natural numbers. the empty set (nothing) (which you define as 0) is not itself nothing, so you can define the set that contains just the empty set, which now is not empty itself, but contains one element, so you define that as 1 ... |
||
| 5 | |||
gandalf_der_13te
feddit.org
gandalf_der_13te@feddit.orgJoined: 2026-08-01 |
Yep, takes a moment to wrap your head around but the longer you read linux/unix documentation, the more it makes sense why it is the case.
tldr: it's to have nicer, less complicated I/O operations it enables just having two API calls: read() and write() to do everything |
||
| 7 | |||
Possibly linux
lemmy.zip
possiblylinux127@lemmy.zipJoined: 2023-06-26 |
It makes more sense when you realize that it's not that everything is files it's that everything can be treated as a file. There are other APIs to interact with things, but everything can be interacted with as if it was a file. It doesn't seem as bonkers like this.
Files don't actually exist once you dig down |
||
| 8 | |||
|
thorcik
lemmy.world
thorcik@lemmy.world Joined: 2023-06-11 |
Am I a file?
Hope your name isn't Peter |
||
| 7 | |||
InternetCitizen2
lemmy.world
InternetCitizen2@lemmy.worldJoined: 2023-06-16 |
It's like saying everything is a wave IRL.
Especially the particles |
||
| 8 | |||
|
beejboytyson
lemmy.world
beejboytyson@lemmy.world Joined: 2024-06-22 |
But what about the fotoes? |
||
| 1 | |||
|
alectronic
piefed.zip
alectronic@piefed.zip Joined: 2026-03-27 |
But what about the fotoes?
I suspect sarcasm but in case it is not, photos are just binary files, just like videos and many other file formats. |
||
| 2 | |||
|
AnimalsDream
slrpnk.net
AnimalsDream@slrpnk.net Joined: 2024-06-29 |
|
||
| 21 | |||
JackbyDev
programming.dev
JackbyDev@programming.devJoined: 2023-06-13 |
Files don't actually exist once you dig down
Yeah, it sort of depends on the definition of the word file. "File" in the sense that it can be interacted with like a file versus "file" in the sense that it's data on a disk. But then, if you're really thinking about it, data on a disk isn't a file, it's data, and we can just interact with it like a file. |
||
| 9 | |||
|
call_me_xale
lemmy.zip
call_me_xale@lemmy.zip Joined: 2023-07-23 |
Missing stage 7: Not everything is a file. Linux is closer than other *nixes (sysctl equivalents in some platforms are not files, but they are files in Linux). However get very far into network and the file-like behaviors become more limited. From an application, at least you have a decent chance of having unseekable, but otherwise 'file-like' interaction with stream protocols. Then you need re...
That's where plan9 comes in! |
||
| 3 | |||
socsa
piefed.social
socsa@piefed.socialJoined: 2024-08-20 |
Stages of POSIX enlightenment: It couldn't possibly all be files It's all files What is a file, anyway? There's no such thing as a file It couldn't possibly all be files Everything is a file Most people stop at stage 2, stage 3 hits when you decide to write a filesystem, stage 4 when you've finished your first filesystem. Stage 5 is when you start working on kernel internals. No one can tell yo...
|
||
| 5 | |||
socsa
piefed.social
socsa@piefed.socialJoined: 2024-08-20 |
Files don't actually exist once you dig down
Bro stop digging I need those files to keep existing |
||
| 15 | |||
|
heartSagan5
lemmy.zip
heartSagan5@lemmy.zip Joined: 2026-05-27 |
In Windows land, it's HANDLEs...which is |
||
| 6 | |||
| Post Reply |
Page 1 of 2
Goto page
1, 2
Next
Last »
Back to top |