redoxfs merge requestshttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests2020-01-20T16:56:53Zhttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/48Add tracking of access times2020-01-20T16:56:53ZAdminXVIIAdd tracking of access timesAdd the atime field, which tracks the last access time. Only reads update the atime.
**BREAKING CHANGE**: One less extent available per block, 4 more bytes for node names.Add the atime field, which tracks the last access time. Only reads update the atime.
**BREAKING CHANGE**: One less extent available per block, 4 more bytes for node names.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/46Update path after frename2019-08-11T16:06:45ZDeepak SironeUpdate path after frenamehttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/40Adopt linux' O_APPEND behavior2019-07-21T01:42:01ZjD91mZM2Adopt linux' O_APPEND behaviorAccording to `man open`:
> The file is opened in append mode. Before each write(2), the file offset
is positioned at the end of the file, as if with lseek(2). The modi‐
fication of the file offset and the write operation are performed a...According to `man open`:
> The file is opened in append mode. Before each write(2), the file offset
is positioned at the end of the file, as if with lseek(2). The modi‐
fication of the file offset and the write operation are performed as a
single atomic step.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/45Tests2019-07-20T17:08:34ZJeremy SollerTestshttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/44redoxfs: Add '--get-uuid' support2019-03-15T19:21:33ZRobin Randhawaredoxfs: Add '--get-uuid' supportWith this, `redoxfs --get-uuid <disk>` prints out the UUID of the
provided redoxfs disk image.
This is needed especially for aarch64 kernels where the UUID of the boot
disk needs to be passed to the kernel by the bootloader. With this
e...With this, `redoxfs --get-uuid <disk>` prints out the UUID of the
provided redoxfs disk image.
This is needed especially for aarch64 kernels where the UUID of the boot
disk needs to be passed to the kernel by the bootloader. With this
extension to the mount command, the kernel build glue can query the
prepared redoxfs image for it's UUID.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/41wip implementation of unmounting and dirty bits for redoxfs2018-12-09T05:56:50ZLiam Naddellwip implementation of unmounting and dirty bits for redoxfsFor both fuse and redox(wip)For both fuse and redox(wip)https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/38A little bit more documentation2018-08-01T23:06:01ZLiam NaddellA little bit more documentationhttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/31Remove unneeded uses of 'mut'2018-07-13T09:11:27ZIan Douglas ScottRemove unneeded uses of 'mut'This seems to be a warning with the latest Rust, and an error due to #![deny(warnings)]This seems to be a warning with the latest Rust, and an error due to #![deny(warnings)]https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/4Travis: fix config (on Linux)2018-07-12T08:03:44ZJeremy SollerTravis: fix config (on Linux)*Created by: genodeftest*
With this change, travis will work on Linux at least.*Created by: genodeftest*
With this change, travis will work on Linux at least.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/16Use ? instead of try!2018-07-11T20:19:23ZIan Douglas ScottUse ? instead of try!Not a big thing, but this was annoying me.
Edit: Pushed another stat change.Not a big thing, but this was annoying me.
Edit: Pushed another stat change.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/37Gitlab CI2018-07-02T18:32:31ZSamwiseFilmoremggmugginsmc@gmail.comGitlab CIThere aren't tests yet, but I added the target anyway
This _should_ squash when mergedThere aren't tests yet, but I added the target anyway
This _should_ squash when mergedJeremy SollerJeremy Sollerhttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/34Remove unused import causing lint2017-09-11T19:13:59ZIan Douglas ScottRemove unused import causing linthttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/33futimens: do not require O_RWONLY/O_RDWR2017-08-15T00:26:07ZIan Douglas Scottfutimens: do not require O_RWONLY/O_RDWRThis code, for example, should work (and does on Linux).
```C
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
int main() {
int fd = open("test.txt", O_RDONLY);
struct timespec times[2] ...This code, for example, should work (and does on Linux).
```C
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
int main() {
int fd = open("test.txt", O_RDONLY);
struct timespec times[2] = {{0, 0}, {0, 0}};
if (fd == -1) {
perror("open");
exit(1);
}
if (futimens(fd, times) == -1) {
perror("futimens");
exit(1);
}
}
```
The specific situation where I came across this was code that `chmod`ed a file to be read only then set the times.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/32Make it not an error to open a directory without O_DIRECTORY or O_STAT2017-08-12T19:58:47ZIan Douglas ScottMake it not an error to open a directory without O_DIRECTORY or O_STATPOSIX says this should work, and some software seems to rely on that.POSIX says this should work, and some software seems to rely on that.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/30Avoid corrupting free node2017-08-02T21:15:13ZIan Douglas ScottAvoid corrupting free nodeI haven't really fully tested this due to the qemu errrors... but I think it should be sound.I haven't really fully tested this due to the qemu errrors... but I think it should be sound.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/29Directory symlinks2017-07-27T01:07:16ZIan Douglas ScottDirectory symlinksI somehow didn't think of this when I originally implemented symlinks.I somehow didn't think of this when I originally implemented symlinks.https://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/28fuse: allow setting mtime to earlier time2017-07-25T23:32:45ZIan Douglas Scottfuse: allow setting mtime to earlier timehttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/27fuse: Fix readdir when directory does not fit in buffer2017-07-25T18:17:47ZIan Douglas Scottfuse: Fix readdir when directory does not fit in bufferhttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/26Require same uid as owner to unlink, not write permission2017-07-17T00:52:53ZIan Douglas ScottRequire same uid as owner to unlink, not write permissionhttps://gitlab.redox-os.org/redox-os/redoxfs/-/merge_requests/25Do not fail due to file permissions on creation2017-07-15T14:14:41ZIan Douglas ScottDo not fail due to file permissions on creationMatches Posix.Matches Posix.