1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Kernel/FileSystem/SysFS/Subsystems
Liav A 5dcf03ad9a Kernel/Devices: Introduce the LoopDevice device
This device is a block device that allows a user to effectively treat an
Inode as a block device.

The static construction method is given an OpenFileDescription reference
but validates that:
- The description has a valid custody (so it's not some arbitrary file).
  Failing this requirement will yield EINVAL.
- The description custody points to an Inode which is a regular file, as
  we only support (seekable) regular files. Failing this requirement
  will yield ENOTSUP.

LoopDevice can be used to mount a regular file on the filesystem like
other supported types of (physical) block devices.
2024-03-13 15:33:47 -06:00
..
Bus Kernel: Fix reading expansion ROM SysFS node 2023-06-19 21:35:37 +02:00
DeviceIdentifiers Everywhere: Move global Kernel pattern code to Kernel/Library directory 2023-06-04 21:32:34 +02:00
Devices Kernel: Remove UNMAP_ATER_INIT from StorageDeviceSysFSDirectory 2023-09-29 16:14:47 -06:00
Firmware Kernel: Move PC BIOS-related code to the x86_64 architecture directory 2023-06-19 23:49:00 +02:00
Kernel Kernel/Devices: Introduce the LoopDevice device 2024-03-13 15:33:47 -06:00