Commit Graph

34 Commits

Author SHA1 Message Date
4lDO2 8ab2ebb6f0 Make scheme fully stateless.
Stateless in this case means the inode number is sufficient for describing an open file handle.
2024-09-13 14:45:12 +02:00
Jeremy Soller f404d64f13 Merge branch 'no_seek' into 'master'
Replace seek() with fsize().

See merge request redox-os/ramfs!8
2024-08-30 21:35:38 +00:00
4lDO2 8faf127894 Replace seek() with fsize(). 2024-08-30 21:22:00 +02:00
Jeremy Soller 7c5c6faf89 Merge branch 'no_legacy_scheme' into 'master'
Remove all usages of the legacy scheme syntax

See merge request redox-os/ramfs!7
2024-08-19 16:47:41 +00:00
bjorn3 6f076cd905 Remove all usages of the legacy scheme syntax 2024-08-19 18:36:45 +02:00
Jeremy Soller 32410bde7c Merge branch 'fixes' into 'master'
Fix non-append writes and cancellation.

See merge request redox-os/ramfs!6
2024-03-23 13:54:27 +00:00
4lDO2 53dcb4af72 Fix non-append writes and cancellation. 2024-03-23 14:48:42 +01:00
Jeremy Soller b48a8c830e Fix build on 32-bit systems 2023-12-11 10:11:21 -07:00
Jeremy Soller 47a02b14d6 Merge branch 'redox-scheme' into 'master'
Migrate to libredox and redox-scheme.

See merge request redox-os/ramfs!5
2023-12-07 15:27:53 +00:00
4lDO2 83a73ca48e Migrate to libredox and redox-scheme. 2023-11-15 21:32:12 +01:00
4lDO2 5ce5de2db5 Update dependencies. 2023-08-31 20:51:14 +02:00
Jeremy Soller 111cae7362 Update libc crate 2023-02-11 14:41:54 -07:00
4lDO2 d3fd7f2dbe Use redox-daemon 2022-07-27 16:29:09 +02:00
Jeremy Soller 4e8083eb60 Update Cargo.lock 2022-07-26 16:14:06 -06:00
4lDO2 1af1a597f2 Update syscall 2022-03-25 15:27:52 +01:00
Jeremy Soller 04ceace6a9 Use syscall::Daemon, enter null namespace 2022-03-01 07:19:33 -07:00
4lDO2 0ed497fe23 Update syscall. 2021-06-17 14:39:09 +02:00
4lDO2 fd83cd3ac7 Add license. 2021-04-01 19:11:37 +02:00
4lDO2 7206288e72 Handle O_TRUNC properly.
This ensures that files that were replaced due to O_CREAT, will now be
emptied when O_TRUNC is passed (which is the default).
2021-04-01 19:08:44 +02:00
4lDO2 eaf78bb51b Run rustfmt.
In the future we should add CI with a rustfmt check, making correct
formatting a hard requirement.
2021-04-01 09:46:17 +02:00
4lDO2 7f3938c774 Merge branch 'fix-duplicate-files' into 'master'
ramfs: Fix duplicated files bug

See merge request redox-os/ramfs!3
2021-04-01 07:38:36 +00:00
Joshua Abraham 70e52d4ec9 ramfs: Fix duplicated files bug
Previously ramfs allowed identical filenames to be created if the
O_CREAT flag was used. This patch fixes the behavior and instead
opens the existing file as long as O_EXCL is not specified.
2021-03-31 19:16:32 -05:00
Jeremy Soller a4fdf5ea30 Revert "Merge branch 'ramfs-nofile' into 'master'"
This reverts merge request !1
2021-03-30 12:41:40 +00:00
4lDO2 93e26f8c37 Merge branch 'missing_ENOENT' into 'master'
Fix missing 'use ENOENT'

See merge request redox-os/ramfs!2
2021-03-30 12:11:48 +00:00
James Graves 737a41854d Fix missing 'use ENOENT' 2021-03-30 09:16:06 +00:00
Jeremy Soller 0cfe98150e Merge branch 'ramfs-nofile' into 'master'
ramfs: SchemeMut: return ENOENT in filesystem calls when file does not exist

See merge request redox-os/ramfs!1
2021-03-30 01:57:27 +00:00
Joshua Abraham 4523d80c24 ramfs: SchemeMut: return ENOENT in filesystem calls when file does not exist 2021-03-29 20:38:52 -05:00
Jeremy Soller c177f71b21 Update redox_syscall 2021-01-15 13:00:21 -07:00
Jeremy Soller 4343ac6b54 Update to newer syscall 2020-08-02 15:31:42 -06:00
4lDO2 ec847e309d Remove all dbg! statements. 2020-06-18 10:30:23 +02:00
4lDO2 6b005a02f4 Make most of the scheme work, except for deletion. 2020-04-04 10:26:43 +02:00
4lDO2 931aa86ba8 Support some path operations. 2020-04-01 17:14:23 +02:00
4lDO2 4b83d5834e Implement most of the scheme. 2020-03-29 21:42:32 +02:00
4lDO2 4736a52639 Initial commit. 2020-03-29 11:22:21 +02:00