3 ms·
Some older filesystems, like ADFS[1] which I'm familiar with, have a "type" attribute, along with the read/write/execute (etc.) bits, as part of the directory n
by Symbiote 5y ago
Some older filesystems, like ADFS[1] which I'm familiar with, have a "type" attribute, along with the read/write/execute (etc.) bits, as part of the directory node [2].
On RISC OS, as that page says, a BASIC file has type FFB. I remember a plain text file had type FFF.
[1] https://www.kernel.org/doc/html/latest/filesystems/adfs.html https://www.kernel.org/doc/html/latest/filesystems/adfs.html
[2] https://docs.huihoo.com/doxygen/linux/kernel/3.7/adfs_8h_source.html https://docs.huihoo.com/doxygen/linux/kernel/3.7/adfs_8h_sou...