1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00
serenity/Kernel/FileSystem
Sergey Bugaev 0cb0f54783 Kernel: Implement bind mounts
You can now bind-mount files and directories. This essentially exposes an
existing part of the file system in another place, and can be used as an
alternative to symlinks or hardlinks.

Here's an example of doing this:

    # mkdir /tmp/foo
    # mount /home/anon/myfile.txt /tmp/foo -o bind
    # cat /tmp/foo
    This is anon's file.
2020-01-11 18:57:53 +01:00
..
Custody.cpp Kernel+LibC: Add support for mount flags 2020-01-11 18:57:53 +01:00
Custody.h Kernel+LibC: Add support for mount flags 2020-01-11 18:57:53 +01:00
DevPtsFS.cpp Kernel: Entries in /dev/pts should be accessible only to the owner 2020-01-04 12:46:48 +01:00
DevPtsFS.h Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
DiskBackedFileSystem.cpp Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00
DiskBackedFileSystem.h Kernel: Implement O_DIRECT open() flag to bypass disk caches 2019-11-05 19:35:12 +01:00
ext2_fs.h Add clang-format file 2019-05-28 17:31:20 +02:00
ext2_types.h Add clang-format file 2019-05-28 17:31:20 +02:00
Ext2FileSystem.cpp Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
Ext2FileSystem.h Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
FIFO.cpp Kernel: Don't leak kmalloc pointers through FIFO absolute paths 2020-01-07 10:29:47 +01:00
FIFO.h Kernel: Don't leak kmalloc pointers through FIFO absolute paths 2020-01-07 10:29:47 +01:00
File.cpp Kernel: File::open() should apply r/w mode from the provided options 2020-01-04 12:30:55 +01:00
File.h Kernel: Allow fchmod() and fchown() on pre-bind() local sockets 2020-01-03 20:14:56 +01:00
FileDescription.cpp Kernel: Start implementing x86 SMAP support 2020-01-05 18:14:51 +01:00
FileDescription.h Kernel: Allow fchmod() and fchown() on pre-bind() local sockets 2020-01-03 20:14:56 +01:00
FileSystem.cpp AK: Use size_t for the length of strings 2019-12-09 17:51:21 +01:00
FileSystem.h Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
Inode.cpp Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
Inode.h Kernel: Rename vmo => vmobject everywhere 2019-12-19 19:15:27 +01:00
InodeFile.cpp Kernel: ftruncate() should update mtime 2020-01-08 15:21:06 +01:00
InodeFile.h Kernel: Allow fchmod() and fchown() on pre-bind() local sockets 2020-01-03 20:14:56 +01:00
InodeIdentifier.h AK: Rename <AK/AKString.h> to <AK/String.h> 2019-09-06 15:36:54 +02:00
InodeMetadata.h Kernel: Take const Process& in InodeMetadata::may_{read,write,execute} 2020-01-07 19:24:06 +01:00
InodeWatcher.cpp Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
InodeWatcher.h Kernel: Make File's can_read/can_write take a const FileDescription& 2019-11-04 14:03:14 +01:00
ProcFS.cpp Kernel+LibC: Add support for mount flags 2020-01-11 18:57:53 +01:00
ProcFS.h Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
TmpFS.cpp TmpFS: Synthesize "." and ".." in traverse_as_directory() 2020-01-10 13:16:55 +01:00
TmpFS.h Kernel: Allow passing initial UID and GID when creating new inodes 2020-01-03 20:13:21 +01:00
VirtualFileSystem.cpp Kernel: Implement bind mounts 2020-01-11 18:57:53 +01:00
VirtualFileSystem.h Kernel: Implement bind mounts 2020-01-11 18:57:53 +01:00