History log of /haiku/headers/private/storage/DiskDevice.h
Revision Date Author Comments
# 38bbc957 13-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Made the use of file devices more convenient and complete by adding
the methods IsFile() and GetFilePath() to BDiskDevice, and
BDiskDeviceRoster::GetFileDeviceForPath().
* Added new syscalls to implement this functionality.
* Added new flag B_DISK_DEVICE_IS_FILE.
* Fixed wrong operator precedence assumption in the BDiskDevice class at
several places.
* Minor cleanup.


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


# 1573b626 17-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed the BDiskDeviceJob class. Jobs won't be generated and executed
in the kernel anymore. The respective functionality will be moved into
the userland. Depending on how we want the API user to interface with
it, we may want to reintroduce a similar class later.
* Cleared remaining references to shadow partitions.


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


# 46b93b2c 17-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Style cleanup.


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


# 04adb291 07-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Clear the user_partition_data::user_data fields before updating the
BPartition structure with the data retrieved from the kernel. For new
partitions the field is not set in the next step and later code would
use an initialized pointer.


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


# eb9b1980 03-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed gcc 4(.1.2) build problems.


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


# 426b44c6 21-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented disk device updating. Some changes due to syscall changes.


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


# 92b9e333 14-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added SetTo(partition_id), InitCheck().
* Added more parameters to _SetTo().
* Fixed problem in Unset() -- the BPartition version wasn't called.
* Implemented {Prepare,Cancel}Modifications() and IsModified(). The
latter doesn't work yet, since the syscall implementation is still
empty yet.


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


# 0cb59d9c 08-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added IsReadOnlyMedia(), IsWriteOnceMedia(), and renamed IsRemovable() to IsRemovableMedia() for consistency.


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


# 671a7455 08-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Modified the visitor implementation a bit. The Visit() with the BPartition* argument now also gets the level of the partition in the hierarchy.


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


# 5c7270ef 06-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginning of Disk Device API:
* Made all headers parsable. Also some smaller changes.
* Added empty source files for new classes.
* Changed obsolete implementations of existing classes, so that we
now have basic functionality for BDiskDevice[Roster] and BPartition.
Iterating through disk devices works and the data we get doesn't look
too bad for the beginning.


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


# bef8916e 09-Jun-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

* Used partition_id, disk_job_id and disk_system_id instead of uint32.
* Replaced uint32 for indices and counts with int32.
* Some additions to BDiskDeviceRoster and BDiskDeviceJob.


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


# 5b3f1d0c 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.4


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


# 9f4ec303 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.3.


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


# 17dc6e0c 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.2.


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


# 40f38240 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.0


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


# 76850557 19-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added BDiskDeviceList as friend.


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


# e2077e8d 16-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Minor changes. Moved the functionality for getting a messenger targeting the DiskDeviceManager in the registrar into the private support files.


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


# 03fa4a4f 08-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented high-level iteration code. Various fixes.


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


# bdc2eaf5 07-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Started implementing the API. Necessary changes to the headers.


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


# d8c074b2 01-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Small changes.


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


# 42b7adc3 31-Jan-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added file header. Minor changes.


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


# d713d1d9 31-Jan-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

The beginning of the DiskDevice API.


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


# 38bbc957584704a85047dc84d4bc7653e44cff03 13-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Made the use of file devices more convenient and complete by adding
the methods IsFile() and GetFilePath() to BDiskDevice, and
BDiskDeviceRoster::GetFileDeviceForPath().
* Added new syscalls to implement this functionality.
* Added new flag B_DISK_DEVICE_IS_FILE.
* Fixed wrong operator precedence assumption in the BDiskDevice class at
several places.
* Minor cleanup.


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


# 1573b62671c47e8b30966e97d830cece957e0ee3 17-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed the BDiskDeviceJob class. Jobs won't be generated and executed
in the kernel anymore. The respective functionality will be moved into
the userland. Depending on how we want the API user to interface with
it, we may want to reintroduce a similar class later.
* Cleared remaining references to shadow partitions.


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


# 46b93b2cfdf42468b51fcb086c3d03748cc0453d 17-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Style cleanup.


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


# 04adb291a6f5e4fd042fdd5ad1f53f9f9d936441 07-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Clear the user_partition_data::user_data fields before updating the
BPartition structure with the data retrieved from the kernel. For new
partitions the field is not set in the next step and later code would
use an initialized pointer.


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


# eb9b19800b63d6384fe0937791cb8dd087373e13 03-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixed gcc 4(.1.2) build problems.


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


# 426b44c60bbd6df6b6bbf362cf457cc7b5b1fabe 21-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented disk device updating. Some changes due to syscall changes.


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


# 92b9e33326dd1691fc10386de42aaae1f52fd320 14-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added SetTo(partition_id), InitCheck().
* Added more parameters to _SetTo().
* Fixed problem in Unset() -- the BPartition version wasn't called.
* Implemented {Prepare,Cancel}Modifications() and IsModified(). The
latter doesn't work yet, since the syscall implementation is still
empty yet.


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


# 0cb59d9c8cc85e45ddb684d66bb86882ccd9240e 08-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added IsReadOnlyMedia(), IsWriteOnceMedia(), and renamed IsRemovable() to IsRemovableMedia() for consistency.


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


# 671a745561ca173ffd87a0213672151344d6555c 08-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Modified the visitor implementation a bit. The Visit() with the BPartition* argument now also gets the level of the partition in the hierarchy.


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


# 5c7270efd72e783bce1b56267e4ef0564ec7626d 06-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Beginning of Disk Device API:
* Made all headers parsable. Also some smaller changes.
* Added empty source files for new classes.
* Changed obsolete implementations of existing classes, so that we
now have basic functionality for BDiskDevice[Roster] and BPartition.
Iterating through disk devices works and the data we get doesn't look
too bad for the beginning.


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


# bef8916ea6c2379f9a4a776f2d78ec93551c9de2 09-Jun-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

* Used partition_id, disk_job_id and disk_system_id instead of uint32.
* Replaced uint32 for indices and counts with int32.
* Some additions to BDiskDeviceRoster and BDiskDeviceJob.


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


# 5b3f1d0cda7d0ad73a0e01fbc8432e14fb79be22 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.4


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


# 9f4ec30369c37e550d02e63df8d39090418b5745 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.3.


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


# 17dc6e0c849f1abb67fc983c84c838846a3b4181 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.2.


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


# 40f3824020badce3f0ff0adf5eec692ae9292e9c 28-May-2003 Tyler Dauwalder <tylerdauwalder@nowhere.fake>

DiskDevice API v2.0


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


# 7685055798cbc1d1e65eac83bb2357c05d2cda1d 19-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added BDiskDeviceList as friend.


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


# e2077e8d4c021bf7c79b4d1e93719e3475cda347 16-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Minor changes. Moved the functionality for getting a messenger targeting the DiskDeviceManager in the registrar into the private support files.


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


# 03fa4a4f9c61172a487019ed84df66b4e5cfeaa7 08-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented high-level iteration code. Various fixes.


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


# bdc2eaf5d8764d7d5046f3cfba63acc0e71174f3 07-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Started implementing the API. Necessary changes to the headers.


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


# d8c074b218e1e68b2fc39954b8b0ed7fb8fae4de 01-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Small changes.


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


# 42b7adc3a451177f38795e2e2f8bfc0c45103268 31-Jan-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added file header. Minor changes.


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


# d713d1d9739f28e8e4bb0e015c85173f33f59b14 31-Jan-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

The beginning of the DiskDevice API.


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