Andreas Kling
018da1be11
Generalize the SpinLock and move it to AK.
...
Add a separate lock to protect the VFS. I think this might be a good idea.
I'm not sure it's a good approach though. I'll fiddle with it as I go along.
It's really fun to figure out all these things on my own.
2018-10-23 23:34:05 +02:00
Andreas Kling
9171521752
Integrate ext2 from VFS into Kernel.
2018-10-17 10:57:23 +02:00
Andreas Kling
9cd0a34b5c
BlockDevice -> DiskDevice.
...
BlockDevice was the wrong name for this abstraction, since a block device
is a type of file in a unix system, and we should use that name for that
concept in the fs implementation.
2018-10-16 11:21:49 +02:00
Andreas Kling
f608629704
Implement creating a new directory.
2018-10-16 00:35:03 +02:00
Andreas Kling
5c50d02c2e
Fix bug where allocating a new inode forgot that inodes are 1-based.
2018-10-15 02:42:24 +02:00
Andreas Kling
b0eaca436c
"stat" command should print st_mode in octal.
2018-10-15 02:12:09 +02:00
Andreas Kling
05b088ee2f
Add a simple /dev/random.
2018-10-15 00:44:54 +02:00
Andreas Kling
0286b5ea48
Add a "stat" command to test FileHandle::stat().
2018-10-14 23:39:11 +02:00
Andreas Kling
c94044a04a
Work on POSIX-like read() and lseek() support.
2018-10-14 21:19:27 +02:00
Andreas Kling
9f9b4a2382
Add a simple /dev/full.
2018-10-14 13:16:09 +02:00
Andreas Kling
e5acbca0e8
Disable the "create /empty" test path for now.
2018-10-14 03:02:28 +02:00
Andreas Kling
93556d6743
Add basic character device support. Start with null and zero.
2018-10-14 03:01:32 +02:00
Andreas Kling
5a30055157
Import all this stuff into a single repo called Serenity.
2018-10-10 11:53:07 +02:00