1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Kernel/FileSystem
Liav A 6a9c717a30 Kernel: Expose device presence in /sys/dev/char and /sys/dev/block
These files are not marked as block devices or character devices so they
are not meant to be used as device nodes. The filenames are formatted to
the pattern "major:minor", but a Userland program need to call the parse
these format and inspect the the major and minor numbers and create the
real device nodes in /dev.

Later on, it might be a good idea to ensure we don't create new
SysFSComponents on the heap for each Device, but rather generate
them only when required (and preferably to not create a SysFSComponent
at all if possible).
2021-09-08 00:42:20 +02:00
..
AnonymousFile.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
AnonymousFile.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
BlockBasedFileSystem.cpp Kernel: Make KBuffer::try_create_with_size() return KResultOr 2021-09-07 15:15:08 +02:00
BlockBasedFileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
Custody.cpp Kernel: Make KString factories return KResultOr + use TRY() everywhere 2021-09-06 19:25:36 +02:00
Custody.h Kernel: Improvements to Custody absolute path serialization 2021-09-06 13:06:05 +02:00
DevFS.cpp Kernel+SystemServer: Defer creation of device nodes to userspace 2021-09-08 00:42:20 +02:00
DevFS.h Kernel+SystemServer: Defer creation of device nodes to userspace 2021-09-08 00:42:20 +02:00
DevPtsFS.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
DevPtsFS.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
ext2_fs.h Everywhere: Behaviour => Behavior 2021-09-07 13:53:14 +02:00
ext2_types.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Ext2FileSystem.cpp Kernel: Make KBuffer::try_create_with_size() return KResultOr 2021-09-07 15:15:08 +02:00
Ext2FileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FIFO.cpp Kernel: Use KResultOr and TRY() for FIFO 2021-09-07 13:58:16 +02:00
FIFO.h Kernel: Use KResultOr and TRY() for FIFO 2021-09-07 13:58:16 +02:00
File.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
File.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FileBackedFileSystem.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FileBackedFileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
FileSystem.cpp Everywhere: Replace AK::Singleton => Singleton 2021-08-08 00:03:45 +02:00
FileSystem.h AK+Kernel: Move KResult.h to Kernel/API for userspace access 2021-09-05 12:54:48 +02:00
Inode.cpp Kernel: Make it possible for KBufferBuilder creation to fail 2021-09-07 15:54:23 +02:00
Inode.h Kernel: Use KResultOr and TRY() for FIFO 2021-09-07 13:58:16 +02:00
InodeFile.cpp Kernel: Use OOM-safe absolute path serialization in InodeFile::mmap() 2021-09-07 22:16:25 +02:00
InodeFile.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
InodeIdentifier.h Kernel: Rename FS => FileSystem 2021-07-11 00:20:38 +02:00
InodeMetadata.h Kernel+SystemServer: Defer creation of device nodes to userspace 2021-09-08 00:42:20 +02:00
InodeWatcher.cpp Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
InodeWatcher.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
ISO9660FileSystem.cpp Kernel: Make KBuffer::try_create_with_size() return KResultOr 2021-09-07 15:15:08 +02:00
ISO9660FileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
Mount.cpp Kernel: Make VirtualFileSystem::Mount a top-level class 2021-07-11 00:51:06 +02:00
Mount.h Kernel/Ext2FS: Cache the root inode in a member variable 2021-07-18 01:53:04 +02:00
OpenFileDescription.cpp Kernel+SystemServer: Defer creation of device nodes to userspace 2021-09-08 00:42:20 +02:00
OpenFileDescription.h Kernel+SystemServer: Defer creation of device nodes to userspace 2021-09-08 00:42:20 +02:00
Plan9FileSystem.cpp Kernel: Make it possible for KBufferBuilder creation to fail 2021-09-07 15:54:23 +02:00
Plan9FileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
ProcFS.cpp Kernel: Make it possible for KBufferBuilder creation to fail 2021-09-07 15:54:23 +02:00
ProcFS.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
SysFS.cpp Kernel: Expose device presence in /sys/dev/char and /sys/dev/block 2021-09-08 00:42:20 +02:00
SysFS.h Kernel: Expose device presence in /sys/dev/char and /sys/dev/block 2021-09-08 00:42:20 +02:00
SysFSComponent.cpp Kernel: Make KString factories return KResultOr + use TRY() everywhere 2021-09-06 19:25:36 +02:00
SysFSComponent.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
TmpFS.cpp Kernel/TmpFS: Stop leaking directory entry metadata 2021-09-07 22:16:25 +02:00
TmpFS.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00
UnveilNode.h Kernel: Move UnveilNode.h into Kernel/FileSystem/ 2021-08-06 14:11:45 +02:00
VirtualFileSystem.cpp Kernel/VFS: Silence mknod debug spam 2021-09-08 00:42:20 +02:00
VirtualFileSystem.h Kernel: Rename FileDescription => OpenFileDescription 2021-09-07 13:53:14 +02:00