4 Commits
Author SHA1 Message Date
InfiniteVerma 44e09f07ce fs_shell: Fix cat on symlink file
Changes mirror those in kernel VFS.

Change-Id: I47edf548d460d3932857254ac9730fb2161f3250
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7584
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-04-05 19:30:18 +00:00
InfiniteVerma f42b1cb118 fs_shell: Fix error message of cat command.
The fd was passed to strerror instead of the error code.

Also add CALLED() macro to trace function calls in the btrfs code and in
fs_shell (disabled by default but enabled by TRACE defines as usual).

Change-Id: I3b8958679412132349b33d5cd686ddbafc120f1c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7494
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-03-30 15:05:28 +00:00
InfiniteVerma c293445163 fs_shell: Add touch command.
Tested with btrfs and xfs but since create isn't supported yet in either, command fails with error: "Read-only file system".

Change-Id: Ice48680d289261a43e82a4189a2bc5619d4f5d9c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7371
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
2024-02-07 08:06:46 +00:00
Anant Verma 084e24d0bf docs/develop: minor improvements in the fs section
Change-Id: Ie94dbc1339facbee59080d85b6938f2c160eb05e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7368
Reviewed-by: Adrien Destugues <[email protected]>
2024-02-02 19:11:31 +00:00