#
f42b1cb1 |
|
02-Mar-2024 |
InfiniteVerma <vermainfinite@gmail.com> |
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 <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
c2934451 |
|
04-Feb-2024 |
InfiniteVerma <vermainfinite@gmail.com> |
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 <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
|
#
3f06b49a |
|
16-Apr-2023 |
mbrumbelow <mbrumbelow@mac.com> |
fs_shell: cleaned up of a few unused variables Change-Id: I58e91b634d8d32247c2f37a2518d4234397e8a6f Reviewed-on: https://review.haiku-os.org/c/haiku/+/6378 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
cacda425 |
|
18-Aug-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
fs_shell: Fixed cat command This patch fixes the following issues: The cat command in fs_shell only printed 10 bytes instead of the entire file. Also, when the number of bytes to be read from file was large it would cause segmentation fault because of stackoverflow. This was noticed while testing xfs and ufs filesystems and has now been fixed. Change-Id: I3891f2834c5b76330f666ebee97b20bd5529742a Reviewed-on: https://review.haiku-os.org/c/haiku/+/3157 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
c5aa9dfb |
|
24-May-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Create filesystem indices when creating Haiku image Fixes #4424. Change-Id: I737ee4f9bb70ce48c0c94f3a862a3073da8c0c4d Reviewed-on: https://review.haiku-os.org/c/haiku/+/2796 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
7f46de0a |
|
16-Oct-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
fs_shell: Integrate btrfs_shell's command_cat into fs_shell itself.
|
#
29ecf7b0 |
|
29-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
command_ioctl() leaked the root directory's file descriptor.
|
#
360a6446 |
|
29-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented support for file system specific commands. * File system specific shell implementations can now register any additional commands by implementing the register_additional_commands() function.
|
#
cf844822 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added B_PRIdTIME and B_PRIiTIME macros (for time_t). * Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h. * Fixed various 64 bit compiler warnings. Nothing too serious, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
234d8e02 |
|
19-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added ioctl command to quickly access some debug functionality in an FS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0714ea07 |
|
11-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added "mv" command (BFS only, cannot access the host yet). * Fixed warning in print_flag(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31009 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
114d7934 |
|
11-Nov-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added "info" command that prints the information of the fs_info structure. * Shuffled functions around to separate command functions from their support functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28624 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9bf1195 |
|
01-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use a reasonable umask when creating directories. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24744 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb840471 |
|
25-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Null-terminate the _kern_read_link() result. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24587 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e2ef462 |
|
23-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the duality of FS_WRITE_STAT_* vs. B_STAT_* flags (removed the former ones). * Removed extraneous white space. * net_server settings are now also updated when the size of the file changed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24552 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c852f04a |
|
20-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
"rm" was leaking the dir FD when failing to read from the dir. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24493 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45eb999e |
|
09-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added "query" and "chmod" (octal, non-recursive only) commands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24331 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cbd4dd19 |
|
24-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Vasilis Kaoutsis: Added missing headers. Fixes the build on certain Linux distributions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3e617040 |
|
17-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: Added parameters --start-offset and --end-offset to restrict the access of the file system to only that part of the given file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23970 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6f057874 |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* rootfs.c -> rootfs.cpp * Made the kernel rootfs reusable by the FS Shell and removed the copy in the FS Shell sources. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22436 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cad7120f |
|
26-May-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
__attribute__(constructor) doesn't seem to work with gcc 2.95.3, so we invoke driver_settings_init() manually now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21247 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3615ef1 |
|
30-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed build under BeOS. * Added "sync" command. * The input_loop() notifies the external command client also, if parsing the command line failed or the command didn't exist. It doesn't no longer try do so, when in interactive mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20936 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dac7faad |
|
29-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added volume initialization support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20900 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6233d23 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Quieted down success output. * Added non-interactive (external commands) support. The BeOS implementation needs some more work; well, the whole FS shell will probably have build issues on BeOS ATM. * Added reasonably complete argument processing in main(). Options are similar to the old FS shell. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20894 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2842773a |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for changing the host platform cwd to the cd command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1137bb03 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added cp command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f7504e3 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The command functions return actual error codes now. * Added commands ln, mkdir, mkindex, rm. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20882 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ada99c21 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Init kernel IO context. * Added command management, an interactive input loop, and a few basic commands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20876 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
90c08768 |
|
27-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
FS shell changes: * Added basic built-in module support. * Added rootfs. * Added "kernel" initialization. * Exposed the FS syscalls. * Mounting/unmounting the FS works now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20873 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a38a92c9 |
|
26-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Beginnings of a new, better portable FS shell with Haiku FS interface. Doesn't do anything ATM, but already provides the required system interface (VFS, caches, POSIX functions). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29ecf7b04e49987dfdd0dbb78a280ba6b54a3a6a |
|
29-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
command_ioctl() leaked the root directory's file descriptor.
|
#
360a6446506d9316265df77c0f89804e3de11412 |
|
29-Feb-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Implemented support for file system specific commands. * File system specific shell implementations can now register any additional commands by implementing the register_additional_commands() function.
|
#
cf844822db58eed3db11f93243e38503eb1a4b91 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added B_PRIdTIME and B_PRIiTIME macros (for time_t). * Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h. * Fixed various 64 bit compiler warnings. Nothing too serious, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
234d8e02b7b3266f1f9f30a1c12ba89ab3bed283 |
|
19-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added ioctl command to quickly access some debug functionality in an FS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0714ea070aca5fb1afb9635daa8126e33aea3cb1 |
|
11-Jun-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Added "mv" command (BFS only, cannot access the host yet). * Fixed warning in print_flag(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31009 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
114d7934a70d415a2916719218683fa57ed31a61 |
|
11-Nov-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Added "info" command that prints the information of the fs_info structure. * Shuffled functions around to separate command functions from their support functions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28624 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9bf1195b83bc911df31e188946b458745532541 |
|
01-Apr-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use a reasonable umask when creating directories. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24744 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb84047190a37fc9c9cfcf6a075c99b6197ba5f1 |
|
25-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Null-terminate the _kern_read_link() result. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24587 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e2ef462ec217bde96ca3facd40711db324b1126 |
|
23-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the duality of FS_WRITE_STAT_* vs. B_STAT_* flags (removed the former ones). * Removed extraneous white space. * net_server settings are now also updated when the size of the file changed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24552 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c852f04a83eb47afc3e3066e466bb5a218311a09 |
|
20-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
"rm" was leaking the dir FD when failing to read from the dir. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24493 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45eb999ec8f4d9bf86648ab94cfa96accadde3d8 |
|
09-Mar-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added "query" and "chmod" (octal, non-recursive only) commands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24331 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cbd4dd196d0cd91c36b94fe9691356af21247682 |
|
24-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Vasilis Kaoutsis: Added missing headers. Fixes the build on certain Linux distributions. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24109 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3e617040425cd87f7af90804151ee8cb1f0ab8e9 |
|
17-Feb-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: Added parameters --start-offset and --end-offset to restrict the access of the file system to only that part of the given file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23970 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6f05787478e2ffc3f19cafa89a3eadee8e08b691 |
|
04-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* rootfs.c -> rootfs.cpp * Made the kernel rootfs reusable by the FS Shell and removed the copy in the FS Shell sources. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22436 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cad7120f0ca020b4284360df6b071005f1b318ba |
|
26-May-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
__attribute__(constructor) doesn't seem to work with gcc 2.95.3, so we invoke driver_settings_init() manually now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21247 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a3615ef1e2fc0ec368a9c9ccd0b4663c85531f54 |
|
30-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed build under BeOS. * Added "sync" command. * The input_loop() notifies the external command client also, if parsing the command line failed or the command didn't exist. It doesn't no longer try do so, when in interactive mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20936 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
dac7faad8db7a251838599f8a18b87e03db6ddad |
|
29-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added volume initialization support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20900 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f6233d233036e20933610105f6db9410aef4ffdd |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Quieted down success output. * Added non-interactive (external commands) support. The BeOS implementation needs some more work; well, the whole FS shell will probably have build issues on BeOS ATM. * Added reasonably complete argument processing in main(). Options are similar to the old FS shell. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20894 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2842773aa53a1008c9d9fcb17a3ce49fdfbde907 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for changing the host platform cwd to the cd command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20888 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1137bb03cc97d0c36338ff8d6c5f2bc21169a48f |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added cp command. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20885 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4f7504e31ea44741047a016908be3756e8a7acbb |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The command functions return actual error codes now. * Added commands ln, mkdir, mkindex, rm. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20882 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ada99c21af980d24f8a65d19a59aa1ea574f05b6 |
|
28-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Init kernel IO context. * Added command management, an interactive input loop, and a few basic commands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20876 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
90c0876839198399555aa95d15f8dbd0ffc3cbf1 |
|
27-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
FS shell changes: * Added basic built-in module support. * Added rootfs. * Added "kernel" initialization. * Exposed the FS syscalls. * Mounting/unmounting the FS works now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20873 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a38a92c955f46ea3dbd3929ad1398c2b418e80cb |
|
26-Apr-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Beginnings of a new, better portable FS shell with Haiku FS interface. Doesn't do anything ATM, but already provides the required system interface (VFS, caches, POSIX functions). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|