History log of /haiku/src/tests/kits/storage/disk_device/DiskDeviceTest.cpp
Revision Date Author Comments
# 2ca13760 20-Aug-2021 Coldfirex <sakison@gmail.com>

Mass updating of OpenBeOS text to Haiku

No functional code altered.

https://dev.haiku-os.org/ticket/17197

Change-Id: I75cc74f6be0ad968fd77c31fbe5b0f650a6fe9e0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4364
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# b6f76ebe 09-Feb-2017 Augustin Cavalier <waddlesplash@gmail.com>

s/OpenBeOS License/MIT License/ universally, as they're the same thing.

Fixes #8681.


# 5688ae7d 21-Nov-2004 shatty <shatty@nowhere.fake>

Ingo claims VisitEachPartition is the same as VisitAll, so I fixed this compile problem by changing VisitAll into VisitEachPartition


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


# 3d2fa2ae 28-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Wait until jobs are done after committing the changes.


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


# 5f6d9157 22-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Commit the partition modifications (uninitialize, resize). Lo and behold, the correct jobs are created and executed. They just need to be implemented completely. :-P


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


# 555b81ad 21-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Adjusted the test according to the new BPartition::Resize() semantics.


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


# 05ab7dec 30-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Now prints out information on scanning jobs and waits for them to finish.


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


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

Now resizes a (shadow) partition and cancels the modification.


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


# 14fa3c6b 18-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Also prints the disk systems' capabilities now.


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


# 7fcdfb5f 14-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added registration of a file device and invocations of {Prepare,Cancel}Modifications(). Looks good so far.


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


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

Some changes due to changes in the API. Added disk system iteration.


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


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

Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).


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


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

Re-enabled Disk Device API test. Well, almost the complete old code is commented out. ;-)


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


# 2d350d3d 23-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

The hack needed to be able to communicate with our registrar though not linking against libopenbeos has been moved to BDiskDeviceRoster. Link against libdiskdevice now, instead of compiling the sources in.


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


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

Added BDiskDeviceList and test it.


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


# 295fcc88 18-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed some debug info. Changes due to the removal of the extended_partition_info::partition_code field.


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


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

BDiskDevice::Eject() and GetName() are used now.


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


# 875f2918 14-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Recognizes all notification messages now.


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


# 77d6501f 09-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added notification tests.


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


# 851a7b6f 08-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added small test program for the Disk Device API. Doesn't do much for now -- only dumps the current list of disk devices. The iteration code seems to work. :-)


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


# 5688ae7d7d8e67056b2ea3c8c2daa5d15cebe2b9 21-Nov-2004 shatty <shatty@nowhere.fake>

Ingo claims VisitEachPartition is the same as VisitAll, so I fixed this compile problem by changing VisitAll into VisitEachPartition


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


# 3d2fa2ae2076bc6702c72a8b383023bf9e94dd2a 28-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Wait until jobs are done after committing the changes.


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


# 5f6d91570719315020b18e7ee24559fcafe207ba 22-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Commit the partition modifications (uninitialize, resize). Lo and behold, the correct jobs are created and executed. They just need to be implemented completely. :-P


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


# 555b81adfe6500c27655aba2ea47cd971b7c8ba9 21-Sep-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Adjusted the test according to the new BPartition::Resize() semantics.


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


# 05ab7dec5e0c8c48efd9f882fc0454e6bdd84bea 30-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Now prints out information on scanning jobs and waits for them to finish.


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


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

Now resizes a (shadow) partition and cancels the modification.


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


# 14fa3c6b0163710db7993c0a28992aaa83d94209 18-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Also prints the disk systems' capabilities now.


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


# 7fcdfb5fb881ca810dfc0a4fefa8c9dc2b8083d7 14-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added registration of a file device and invocations of {Prepare,Cancel}Modifications(). Looks good so far.


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


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

Some changes due to changes in the API. Added disk system iteration.


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


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

Should have waited a few more minutes... Renamed the methods {B,K}Partition::Is{Mountable,Partitionable}() to Contains{File,Partitioning}System(). Similar change for the respective flags (B_PARTITION_{MOUNTABLE,PARTITIONABLE}).


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


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

Re-enabled Disk Device API test. Well, almost the complete old code is commented out. ;-)


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


# 2d350d3dba4726da9eec205914238888b850a005 23-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

The hack needed to be able to communicate with our registrar though not linking against libopenbeos has been moved to BDiskDeviceRoster. Link against libdiskdevice now, instead of compiling the sources in.


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


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

Added BDiskDeviceList and test it.


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


# 295fcc8865be233db585cac1dfbdb90514f4850a 18-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed some debug info. Changes due to the removal of the extended_partition_info::partition_code field.


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


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

BDiskDevice::Eject() and GetName() are used now.


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


# 875f29189171f60eececd35a05b50bea6b72853d 14-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Recognizes all notification messages now.


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


# 77d6501f22f00c977356763bce2e728ca6324529 09-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added notification tests.


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


# 851a7b6fe7ceb0872185a3508b00bc3f1ec5fe2a 08-Feb-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added small test program for the Disk Device API. Doesn't do much for now -- only dumps the current list of disk devices. The iteration code seems to work. :-)


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