Marian Buschsieweke
4f769c2f55
sys/shell/commands: add static qualifier where appropriate
...
Due to the conversion to XFA based SHELL_COMMAND() much fewer function
need to expose a symbol. Hence, spray `static` all over the place.
2022-06-11 14:38:58 +02:00
Marian Buschsieweke
5ea582b3dd
sys/shell_commands: convert to SHELL_COMMAND()
...
Make use of XFA for shell commands
2022-06-07 09:25:04 +02:00
benpicco
c72d4ccc0e
Merge pull request #18112 from fjmolinas/pr_vfs_rmount_mkdir
...
sys/shell/vfs: add umount, rmount and mkdir commands
2022-05-23 23:33:16 +02:00
Francisco Molina
81f172039a
sys/shell/vfs: add umount, rmount and mkdir commands
2022-05-23 16:41:34 +02:00
Benjamin Valentin
ff27db9bce
sys/shell: add sha256sum command
2022-05-17 11:32:25 +02:00
Benjamin Valentin
a250c2b5ad
sys/shell: add sha1sum command
2022-05-17 11:30:52 +02:00
Benjamin Valentin
845450c663
sys/shell: add md5sum command
2022-05-17 11:30:52 +02:00
chrysn
40f7c66625
Merge pull request #17660 from chrysn-pull-requests/vfs-drop-per-fs-fstatvfs
...
vfs: Introduce reliable disk enumeration
2022-02-17 18:47:41 +01:00
chrysn
b9b0ca8972
sys/shell/vfs: Use vfs_iter_mount_dirs instead of vfs_iter_mounts
...
This solves highly theoretical race conditions of file systems being
unmounted in an application while a shell `df` runs, fixes the previous
weird behavior that `/mountpoint/non-existant-path` could be df'd and
would even report that non-existant path as a file name, but more
practically ensures that an example of vfs_iter_mount_dirs is around.
2022-02-16 19:15:02 +01:00
Benjamin Valentin
609ed81f36
sys/shell: add vfs mount command
2022-02-16 18:55:26 +01:00
Benjamin Valentin
0cd3cf4506
sc_vfs: print files with unknown type
2022-02-08 16:28:33 +01:00
Benjamin Valentin
a486bae55a
sc_vfs: print file size
...
This prints the size of the displayed files in `ls`.
It also makes it easier to distinguis files from directories.
2022-02-08 13:23:42 +01:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Vincent Dupont
6965134555
sc_vfs: add write command
2017-08-08 18:14:59 +02:00
Vincent Dupont
151c469d9e
sc_vfs: fix _ls_handler
...
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Martine Lenders
529a88ca26
shell_commands: fix sc_vfs warnings
2017-03-22 13:20:12 +01:00
Joakim Nohlgård
dcc37329df
sys/vfs: A virtual file system (VFS) layer for RIOT
...
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00