History log of /haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/kprotos.h
Revision Date Author Comments
# a7224072 27-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

Added "relabel" command to rename volumes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16888 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 468009f8 11-Feb-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced all "bool"s by "int"s. Apparently passing a bool as function
parameter from a C++ to a C context doesn't work as expected (on x86).
The caller reserves 4 bytes on the stack, but initializes only the
less significant 2 of them, while the callee reads all four bytes.
A symptom was, that one couldn't remove a symlink pointing to a directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16352 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc3 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 28fb0f98 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Added a very simple mkindex command - can only create string indexes for now
(and added support for that function in the emulated kernel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11951 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c5126c59 05-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Write buffers should be const.
* Added sys_stat_attr().
* Added sys_open_attr_dir(). Extended the directory functions to be able
to deal with attribute directories.
* Init the current directory, so we can use it (the support is there
already).
* Use our open modes instead of the platform ones.
* Added O_NOTRAVERSE support to sys_open().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f30103 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

A whole bunch of changes to make the fs_shell build (and work) under
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77c235a2 02-Feb-2004 Axel Dörfler <axeld@pinc-software.de>

Encapsulated parts of the functionality from sys_mount/unmount() in supplementary
functions that can be used by the "mkbfs" command (and similary ones).
Also added a kill_device_vnodes() function which should be called before removing
the cache in the file system's "initialize volume" function - again, its use is
intended for the "mkbfs" utility only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6480 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fad54c1f 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Made the header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55288b8e 17-Jun-2003 Axel Dörfler <axeld@pinc-software.de>

Added a sys_open_entry_ref() call to the VFS layer.
Implemented the beginnings of a Tracker like mode in the fs_shell - started
and stopped using the new "tracker" command; it will get all notifications
the file system sends.
Right now it's very simple, it just opens the file, does a stat(), and closes
the file again, and guess what, I could reproduce our favourite problem with
it!! So it will be finally fixed in the next few days.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3559 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e142688 25-May-2003 Axel Dörfler <axeld@pinc-software.de>

The kernel now has support for setting port&token of a query.
The fs_shell is now able to start up to 10 concurrent live queries. Use
"stopquery" to stop them all or just one of them, "startquery" to initiate
one, and "lsquery" to display them all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1fe805b 25-May-2003 Axel Dörfler <axeld@pinc-software.de>

new_vnode() now complains if the vnode already exists (and panics with when
it has a different data set).
Improved the kernel's PANIC() function (now accepts varargs).
sys_open_query() now has a flags field (that can be set to B_LIVE_QUERY).
The fs_shell now supports one live query; might be enhanced later to support
more than just one (concurrently).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3318 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9767c7be 19-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added my updated version of Dominic's fsh.
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a722407264d1a7dfc114fcb896ae039038132dce 27-Mar-2006 Axel Dörfler <axeld@pinc-software.de>

Added "relabel" command to rename volumes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16888 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 468009f83097a1a8477b633285ae8ddbd06c9def 11-Feb-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced all "bool"s by "int"s. Apparently passing a bool as function
parameter from a C++ to a C context doesn't work as expected (on x86).
The caller reserves 4 bytes on the stack, but initializes only the
less significant 2 of them, while the callee reads all four bytes.
A symptom was, that one couldn't remove a symlink pointing to a directory.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16352 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 338b8dc301721b1f472e8297a898d4eaa2f2ee3a 29-Oct-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Merged changes from branch build_system_redesign at revision 14573.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 28fb0f9857f0983f689ccb2caf4330b5313a1cc7 21-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Added a very simple mkindex command - can only create string indexes for now
(and added support for that function in the emulated kernel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11951 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c5126c598585baa83340e4c2305d3b0e81539dda 05-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* Write buffers should be const.
* Added sys_stat_attr().
* Added sys_open_attr_dir(). Extended the directory functions to be able
to deal with attribute directories.
* Init the current directory, so we can use it (the support is there
already).
* Use our open modes instead of the platform ones.
* Added O_NOTRAVERSE support to sys_open().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11586 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e6f30103366b51835df4c7d4125ba5c832e8bac7 03-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

A whole bunch of changes to make the fs_shell build (and work) under
Linux:
* Corrected use of error code. We consequently use the errors we
defined to be compatible with BeOS and translate error code to and from
the build platform where necessary.
* Consequently use the structs my_stat and my_dirent and the type
fs_off_t when dealing with the guest FS. my_dirent had to be adjusted
to be BeOS compatible.
We wrap the platform fstat() now to translate the struct stat to the
BeOS representation.
* Fixed a bug introduced with the last checkin: The fs_shell crashed after
executing a command.
* Fixed printf() format warnings under Linux.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11565 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77c235a2e404e0e45f45f23a0423e29d506702ae 02-Feb-2004 Axel Dörfler <axeld@pinc-software.de>

Encapsulated parts of the functionality from sys_mount/unmount() in supplementary
functions that can be used by the "mkbfs" command (and similary ones).
Also added a kill_device_vnodes() function which should be called before removing
the cache in the file system's "initialize volume" function - again, its use is
intended for the "mkbfs" utility only.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6480 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fad54c1f850b19be2f5941cba420c0e83e6aa7c0 30-Sep-2003 Axel Dörfler <axeld@pinc-software.de>

Made the header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4895 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 55288b8eda438d2a7e4524ef3ec7b16088975875 17-Jun-2003 Axel Dörfler <axeld@pinc-software.de>

Added a sys_open_entry_ref() call to the VFS layer.
Implemented the beginnings of a Tracker like mode in the fs_shell - started
and stopped using the new "tracker" command; it will get all notifications
the file system sends.
Right now it's very simple, it just opens the file, does a stat(), and closes
the file again, and guess what, I could reproduce our favourite problem with
it!! So it will be finally fixed in the next few days.
Some cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3559 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e14268838eb2f9c18f6e2b2ce0963e2e89d3f1b 25-May-2003 Axel Dörfler <axeld@pinc-software.de>

The kernel now has support for setting port&token of a query.
The fs_shell is now able to start up to 10 concurrent live queries. Use
"stopquery" to stop them all or just one of them, "startquery" to initiate
one, and "lsquery" to display them all.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3334 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a1fe805b79bc9cc44524abcbda8e3b948a0798a5 25-May-2003 Axel Dörfler <axeld@pinc-software.de>

new_vnode() now complains if the vnode already exists (and panics with when
it has a different data set).
Improved the kernel's PANIC() function (now accepts varargs).
sys_open_query() now has a flags field (that can be set to B_LIVE_QUERY).
The fs_shell now supports one live query; might be enhanced later to support
more than just one (concurrently).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3318 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9767c7befda3de757bb92286d61f15d842c9145b 19-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added my updated version of Dominic's fsh.
Doesn't build as-is - the makefile is only provided as an example, if it
is used by file systems in the repository, they should build it in their
own test directories.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2961 a95241bf-73f2-0310-859d-f6bbb57e9c96