1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 14:58:11 +00:00
serenity/Kernel/Devices
Jesse 401c87a0cc Kernel: mount system call (#396)
It is now possible to mount ext2 `DiskDevice` devices under Serenity on
any folder in the root filesystem. Currently any user can do this with
any permissions. There's a fair amount of assumptions made here too,
that might not be too good, but can be worked on in the future. This is
a good start to allow more dynamic operation under the OS itself.

It is also currently impossible to unmount and such, and devices will
fail to mount in Linux as the FS 'needs to be cleaned'. I'll work on
getting `umount` done ASAP to rectify this (as well as working on less
assumption-making in the mount syscall. We don't want to just be able
to mount DiskDevices!). This could probably be fixed with some `-t`
flag or something similar.
2019-08-02 15:18:47 +02:00
..
BlockDevice.cpp Kernel: Move devices into Kernel/Devices/. 2019-04-03 12:36:40 +02:00
BlockDevice.h Kernel: Move VirtualAddress.h into VM/ 2019-07-09 15:04:45 +02:00
BXVGADevice.cpp Kernel: Remove unnecessary use of LibDraw. 2019-07-18 10:36:26 +02:00
BXVGADevice.h Kernel: Remove unnecessary use of LibDraw. 2019-07-18 10:36:26 +02:00
CharacterDevice.cpp Kernel: Move devices into Kernel/Devices/. 2019-04-03 12:36:40 +02:00
CharacterDevice.h Add clang-format file 2019-05-28 17:31:20 +02:00
DebugLogDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
DebugLogDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
Device.cpp Kernel: Run clang-format on everything. 2019-06-07 11:43:58 +02:00
Device.h Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
DiskDevice.cpp Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
DiskDevice.h Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
DiskPartition.cpp Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
DiskPartition.h Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
FileBackedDiskDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FileBackedDiskDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FloppyDiskDevice.cpp Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
FloppyDiskDevice.h Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
FullDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
FullDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
KeyboardDevice.cpp Kernel: Move PIC.cpp into Arch/i386/ 2019-07-09 15:04:43 +02:00
KeyboardDevice.h Kernel: Remove use of [[gnu::pure]]. 2019-07-16 13:44:41 +02:00
MBRPartitionTable.cpp Kernel: Remove use of copy_ref() in favor of regular RefPtr copies. 2019-07-11 15:40:04 +02:00
MBRPartitionTable.h Kernel: Remove use of copy_ref() in favor of regular RefPtr copies. 2019-07-11 15:40:04 +02:00
NullDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
NullDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
PATAChannel.cpp Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
PATAChannel.h Kernel: Expand PATA driver to support multiple hard drives (#365) 2019-07-28 15:44:01 +02:00
PATADiskDevice.cpp Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
PATADiskDevice.h Kernel: mount system call (#396) 2019-08-02 15:18:47 +02:00
PCSpeaker.cpp Kernel: Move File.{cpp,h} into FileSystem/ 2019-07-09 15:04:45 +02:00
PCSpeaker.h Kernel: Add a beep() syscall that beeps the PC speaker. 2019-05-15 21:40:41 +02:00
PS2MouseDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
PS2MouseDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
RandomDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
RandomDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
SB16.cpp Thread: Return a result from block() indicating why the block terminated 2019-07-20 12:15:24 +02:00
SB16.h Kernel: Add Thread::block_until(Condition). 2019-07-14 14:54:54 +02:00
SerialDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
SerialDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
ZeroDevice.cpp AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00
ZeroDevice.h AK: Rename the common integer typedefs to make it obvious what they are. 2019-07-03 21:20:13 +02:00