Jonas 'Sortie' Termansen
|
c0fabc2e8d
|
Move remainder of Maxsi::String into kernel tree.
|
2012-12-14 14:13:35 +01:00 |
|
Jonas 'Sortie' Termansen
|
e5cf6c18f7
|
Replace Maxsi::String::Compare with strcmp.
|
2012-12-14 14:13:35 +01:00 |
|
Jonas 'Sortie' Termansen
|
5e4dadbba0
|
Replace Maxsi::String::Length with strlen.
|
2012-12-14 14:13:34 +01:00 |
|
Jonas 'Sortie' Termansen
|
b4374f66b7
|
Replace <libmaxsi/memory.h> with <string.h>.
|
2012-12-14 14:13:34 +01:00 |
|
Jonas 'Sortie' Termansen
|
5d082b3bbb
|
Replace Maxsi::Error:: with <errno.h>.
|
2012-12-14 14:13:34 +01:00 |
|
Jonas 'Sortie' Termansen
|
42754f1728
|
Replace ASSERT with assert of <assert.h>.
|
2012-12-14 14:13:34 +01:00 |
|
Jonas 'Sortie' Termansen
|
3095503b9b
|
Correct usage of deprecated nat and byte data types.
|
2012-12-14 14:13:33 +01:00 |
|
Jonas 'Sortie' Termansen
|
17a93359dd
|
Add . and .. support to kernel filesystems.
This makes the hack in ls(1) not needed and is hence removed.
|
2012-09-08 18:45:52 +02:00 |
|
Jonas 'Sortie' Termansen
|
db79994e64
|
Refactored all the sortix headers into a include directory.
Also got rid of trailing white space. That corrupted .git/.
Big ass-commit because of recovered .git directory.
|
2012-03-22 00:52:29 +01:00 |
|
Jonas 'Sortie' Termansen
|
f45cf8327a
|
Forgot to enable the /bin /dev hack in sortix/fs/ramfs.cpp.
|
2012-03-11 17:30:13 +01:00 |
|
Jonas 'Sortie' Termansen
|
cadac5ce2a
|
Moved the /bin and /dev hack into the kernel.
This makes ls seem less hacky.
|
2012-03-11 17:25:32 +01:00 |
|
Jonas 'Sortie' Termansen
|
c8c34d3cdd
|
readdirents(2) now properly reports ERANGE.
|
2012-01-15 00:43:13 +01:00 |
|
Jonas 'Sortie' Termansen
|
f476a82498
|
Fixed idention error in ramfs.
|
2012-01-14 23:19:31 +01:00 |
|
Jonas 'Sortie' Termansen
|
c94f6b64c3
|
readdirents(2) now returns ERANGE if insufficient storage space
was provided, but that the needed size could be copied to d_namelen.
|
2012-01-14 23:06:18 +01:00 |
|
Jonas 'Sortie' Termansen
|
bd1b1fe3bc
|
Added isatty(2), which is used by editor.
|
2011-11-26 21:00:40 +01:00 |
|
Jonas 'Sortie' Termansen
|
ce9787a439
|
Greatly reduced RAM usage in ramfs.
|
2011-11-26 20:25:25 +01:00 |
|
Jonas 'Sortie' Termansen
|
724305f3a7
|
Merge commit '7a233f2938f4e28d61504853e2f6daf4904aab33'
Conflicts:
sortix/fs/ramfs.cpp
|
2011-11-24 15:38:45 +01:00 |
|
Jonas 'Sortie' Termansen
|
e72d086a8f
|
Disallow / in filenames in ramfs.
|
2011-11-23 17:51:18 +01:00 |
|
Jonas 'Sortie' Termansen
|
5bf22b2c4a
|
ramfs doesn't allow opening files as directories.
|
2011-11-23 14:14:59 +01:00 |
|
Jonas 'Sortie' Termansen
|
9f35df813e
|
Implemented errno(3), added support in both kernel and utils.
|
2011-11-22 17:26:47 +01:00 |
|
Jonas 'Sortie' Termansen
|
8678ad6444
|
/ is no longer a valid filename under ramfs.
|
2011-11-22 15:33:47 +01:00 |
|
Jonas 'Sortie' Termansen
|
8b2b52b9f6
|
Added unlink(2) and rm(1).
|
2011-11-21 19:01:56 +01:00 |
|
Jonas 'Sortie' Termansen
|
0b90ab534f
|
ramfs now supports O_TRUNC.
|
2011-11-21 00:12:20 +01:00 |
|
Jonas 'Sortie' Termansen
|
23fde42249
|
Added readdirents(2), which ls(1) now uses, and added dir devices.
The initfs and ramfs are now able to list their contents.
|
2011-11-21 00:02:53 +01:00 |
|
Jonas 'Sortie' Termansen
|
e3bb0dfc9d
|
Fixed bug in previous commit. Ooops.
|
2011-11-20 22:48:22 +01:00 |
|
Jonas 'Sortie' Termansen
|
c1849ed7d8
|
/ is no longer a valid filename in ramfs.
|
2011-11-20 22:47:39 +01:00 |
|
Jonas 'Sortie' Termansen
|
013e11ca5e
|
Added a RAM filesystem.
|
2011-11-19 00:57:17 +01:00 |
|