History log of /haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/sysdep.c
Revision Date Author Comments
# bc3955fe 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


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


# 4b0e1b9b 29-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

* We map ioctl() to the build platform manually now. For Linux we
implement the B_GET_GEOMETRY command in a usable way. The bfs_shell is
able to play with partition devices under Linux, now.
* Fixed two warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16146 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


# 2c05bc8a 11-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Move to_platform_open_mode() to stat_util.cpp/h and made it available to other source files. It has little to do with stat data, but it fits with the other conversion functions at least and I found no better place.


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


# 76a14666 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* As read_pos() and write_pos() are supposed to be platform functions,
they return the respective error codes.
* Fixed the open mode conversion function.


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


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

* The build platform fstat() wrapper moved into stat_util.cpp/h.
* Added wrappers for open(), close(), and read_pos().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11582 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


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

Fixed all warnings and one small bug in kernel.c::new_vnode() - it didn't
unlock the vnode if the same cookie already existed.


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


# db94ee05 20-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added a userland dprintf() export; the output is simply directed to stdout.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 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


# bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b 23-Oct-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Preparations for removing __BEOS__ from the compiler defines.


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


# 4b0e1b9bda3cb894097fb3c1cb324d3614d37e62 29-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

* We map ioctl() to the build platform manually now. For Linux we
implement the B_GET_GEOMETRY command in a usable way. The bfs_shell is
able to play with partition devices under Linux, now.
* Fixed two warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16146 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


# 2c05bc8a8d36c7ef83ff2b2b5eab3627fd5af177 11-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Move to_platform_open_mode() to stat_util.cpp/h and made it available to other source files. It has little to do with stat data, but it fits with the other conversion functions at least and I found no better place.


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


# 76a14666e0fb550663f669acd4d7e629e07f812b 06-Mar-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

* As read_pos() and write_pos() are supposed to be platform functions,
they return the respective error codes.
* Fixed the open mode conversion function.


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


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

* The build platform fstat() wrapper moved into stat_util.cpp/h.
* Added wrappers for open(), close(), and read_pos().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11582 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


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

Fixed all warnings and one small bug in kernel.c::new_vnode() - it didn't
unlock the vnode if the same cookie already existed.


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


# db94ee0595c010fa859d7bba723c75aa6db5728e 20-Mar-2003 Axel Dörfler <axeld@pinc-software.de>

Added a userland dprintf() export; the output is simply directed to stdout.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2968 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