#
4644c7cc |
|
06-Jan-2018 |
Jérôme Duval <jerome.duval@gmail.com> |
kernel: disk_device_manager: clean user interface * avoid assignment in if statements * use boolean conditions * use copy_from_user_value/copy_to_user_value instead of user_memcpy * no functional changes except user buffer addresses check in: _user_get_next_disk_device_id(), _user_get_disk_system_info(), _user_get_next_disk_system_info(), _user_find_disk_system() * remove TODO "Add user address checks and check return values of user_memcpy()!".
|
#
eac83fb3 |
|
30-Apr-2017 |
Axel Dörfler <axeld@pinc-software.de> |
KPath: Replaced booleans with flags field. * No functional change intended; I chose the flags in a way that it should still work even if I missed a reference.
|
#
4419d699 |
|
22-Dec-2016 |
Jessica Hamilton <jessica.l.hamilton@gmail.com> |
partitioning: pass along reference to parent when uninitializing. * Fixes problems with setting the partition name after uninitializing a partition in DriveSetup. Previously, UninitializeJob() was followed by SetStringJob(), but the kernel was updating the change counter for the parent partition when uninitializing a partition, leading to SetStringJob() having an incorrect change counter for the parent partition. Now the parent change counter will be correct when SetStringJob() runs.
|
#
f26118f2 |
|
29-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Change error code for already mounted partition to B_BAD_VALUE. As Axel pointed out, B_BAD_DATA is not the correct code here. B_BUSY could be used but I wantd a code different from the existing one for "partition already being initialized".
|
#
4ed39e6a |
|
28-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
disk device manager: check that partitions are unmounted before uninitializing. when uninitializing a partition or a disk (removing the partition table), check that all partitions from that table are unmounted, as they are about to become invalid. Fixes #8827.
|
#
285f4cf4 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added optional partition_module_info::uninitialize() hook. It is supposed to destroy the partitioning system's on-disk structure. * Adjusted the existing partitioning system implementations accordingly. Actually implemented the hook for the intel partitioning system. * Added Uninitialize() method to KDiskSystem and KPartitioningSystem. The latter implements the method calling the new module hook. * _user_uninitialize_partition(): Also let the disk system uninitialize the on-disk structure. This fixes the failure to initialize a disk device with BFS, when it contains a valid partition map with at least one partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42140 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f84387d6 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
_user_initialize_partition(): After performing the operation don't set the new disk system, if the partition already has a disk system set. This can happen when the disk system's initialization function is lazy and just lets the DDM rescan the partition. In bad cases the previous disk system has a higher priority than the new one and, if its on-disk structures have not been destroyed, it will win the rescan. Not setting the disk system in such cases at least leaves the partition object in a consistent state. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42139 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec623aca |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed weird debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80ea5e35 |
|
30-Sep-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed incorrect return value of _user_get_file_disk_device_path(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f75b8de3 |
|
26-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Discarded the "parametersSize" parameter from various disk device manager functions. * Since we now use UserStringParameter, this fixes the missing null termination of the parameter string, and thus bug #4045. * Removed UserMemoryParameter, as it's no longer in use. * Adjusted syscalls accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
49fb53ee |
|
02-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29868 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3f78b216 |
|
18-Mar-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented a basic notification mechanism. Right now, only media changes and device additions/removals can be monitored. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
260e077f |
|
13-Oct-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Registering a file device now also normalizes the path now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28068 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
6cc43bfb |
|
22-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* _user_find_partition() did not work for partitions (only for devices), as it did not set the "devicesOnly" flag to false when calling RegisterDevice(). * ddm_userland_interface.cpp incorrectly wrote to userland memory when it assigned "neededSize" in several places. * Replaced on-stack path with the UserStringParameter class where appropriate. * Made the UserStringParameter class castable to char*. * Minor cleanup in KDiskDeviceManager.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26563 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cbc783b |
|
17-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* _user_uninitialize_partition() never marked the partition unbusy again. This fixes bug #1928. * Added license header. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24421 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3a5629b |
|
12-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: * Unmount when uninitializing a partition. * Finished the media checker implementation, i.e. we rescan when a media was inserted and uninitialize when ejected. * Turned the disk device media checker from a kernel daemon into a thread. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22909 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c9830ce0 |
|
10-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* KDiskDeviceManager::{Find,Load}DiskSystem() can also find the disk system by pretty name (not only module name) now. * _user_initialize_partition() loads the disk system by pretty name. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22880 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7b45b55b |
|
04-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added back and partially reimplemented the K{Disk,File,Partitioning}System writing methods. It is now required that the caller has marked the concerned partitions busy, hence we can (read-)access them without needing a lock. The module interfaces will will be changed to take advantage of the fact as well. The methods take a disk_job_id instead of a KDiskDeviceJob* now, though I haven't quite decided, whether we need it at all or just want to add a special handling in the cases where notifications during the operation make sense. * Reimplemented the disk device write support syscalls (save _user_move_partition() for which other module hooks are needed). They call the KDiskSystem methods, now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22832 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8354dac7 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Folded KPhysicalPartition into KPartition. Removed the notion of shadow partitions from the disk device manager. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32788795 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved partition scanning back to KDiskDeviceManager. ATM only synchronous scanning is supported. * Removed the disk device job support from the disk device manager. * K{Disk,File,Partitioning}System: - Remove querying and validation methods. - Commented out the modification methods until their fate is decided. * Removed obsolete _user_get_partitionable_spaces(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22799 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
300868ce |
|
31-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed no longer needed disk device related syscalls (_kern_{supports,validate}_*(), etc.). * Adjusted the prototypes of the disk device modification syscalls. Commented out their implementations for the time -- they'll mostly have to be rewritten completely. * Implemented the userland disk device jobs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22781 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bf95c9ae |
|
07-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The shadow_changed() FS and partitioning system hooks take an additional partition_data* child parameter now. * _user_get_partitionable_spaces() doesn't need to copy the buffer into the kernel, since it is no input parameter. It also copies back the actual partitionable spaces count on error, now -- B_BUFFER_OVERFLOW is returned when the buffer was too small, but then the count must be returned too. * Fixed several instances of syscall implementations that unloaded a disk system, although they didn't load it in the first place. This screwed up the load count with undesirable consequences. * _user_create_child_partition() would set the size to the supplied offset. * Fixed broken loop in KPhysicalPartition::CreateShadowPartition(). * KPartition::RemoveChild() notified the listeners about the wrong event. * Intel partitioning module: - The *_get_partitionable_spaces() correctly return B_BUFFER_OVERFLOW now, if the supplied buffer is too small. - Implemented a part of pm_shadow_changed(), which creates and updates the PartitionMap, so that the validate_*() hooks have a chance to work at all. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22475 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aa4d8ee6 |
|
05-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Allow NULL name argument on initialization. * Some code beautification on the way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22454 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d6e565c7 |
|
05-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed gcc 4 warnings. * Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22453 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a8ec23 |
|
22-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added disk system flags for whether a partition name and partition content name are supported. * Added file_system_module_info::flags (analogously to partition_module_info::flags) which indicate which disk device features the FS supports. * Replaced the file_system_module_info/partition_module_info::supports_*() hooks by a get_supported_operations() hook and for partitioning systems additionally a get_supported_child_operations() hook. * Updated file and partitioning systems accordingly. * Updated fs_shell accordingly. * Updated the DDM accordingly. The syscall interface remains unchanged, though. * _user_supports_initializing_partition() also checks whether the parent partitioning system is content now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22043 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d86af8ce |
|
27-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Style cleanup. * Moved method documentation from headers to source files. * Fixed small problems (memory leaks, unsafe string duplication,...). * Added TODOs where I spotted problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2dc6403d |
|
26-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Addition of write support to the disk device manager. Courtesy of Tomas Kucera and Jan Matejek. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f26118f2865c05534a45363091b2d1da01aa6982 |
|
29-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Change error code for already mounted partition to B_BAD_VALUE. As Axel pointed out, B_BAD_DATA is not the correct code here. B_BUSY could be used but I wantd a code different from the existing one for "partition already being initialized".
|
#
4ed39e6a62d82721004656c5a1ecf19cb8e73e75 |
|
28-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
disk device manager: check that partitions are unmounted before uninitializing. when uninitializing a partition or a disk (removing the partition table), check that all partitions from that table are unmounted, as they are about to become invalid. Fixes #8827.
|
#
285f4cf441dbc269553bee753d151cbf0074f232 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added optional partition_module_info::uninitialize() hook. It is supposed to destroy the partitioning system's on-disk structure. * Adjusted the existing partitioning system implementations accordingly. Actually implemented the hook for the intel partitioning system. * Added Uninitialize() method to KDiskSystem and KPartitioningSystem. The latter implements the method calling the new module hook. * _user_uninitialize_partition(): Also let the disk system uninitialize the on-disk structure. This fixes the failure to initialize a disk device with BFS, when it contains a valid partition map with at least one partition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42140 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f84387d6c4c44dfe083ad2ec14e25d89b903047c |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
_user_initialize_partition(): After performing the operation don't set the new disk system, if the partition already has a disk system set. This can happen when the disk system's initialization function is lazy and just lets the DDM rescan the partition. In bad cases the previous disk system has a higher priority than the new one and, if its on-disk structures have not been destroyed, it will win the rescan. Not setting the disk system in such cases at least leaves the partition object in a consistent state. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42139 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ec623acad8463968da671626246fb30865992589 |
|
12-Jun-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed weird debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42138 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
80ea5e35082898c9285edfc86a8130865c1a30b3 |
|
30-Sep-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed incorrect return value of _user_get_file_disk_device_path(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33382 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f75b8de3fca930e6140a426ad6e4003be467be78 |
|
26-Jul-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Discarded the "parametersSize" parameter from various disk device manager functions. * Since we now use UserStringParameter, this fixes the missing null termination of the parameter string, and thus bug #4045. * Removed UserMemoryParameter, as it's no longer in use. * Adjusted syscalls accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
49fb53ee7e1dae81f0ddd883de1099f5dd2fc628 |
|
02-Apr-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29868 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3f78b216ad39f9f51adcedcbc75e770a51d232c9 |
|
18-Mar-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented a basic notification mechanism. Right now, only media changes and device additions/removals can be monitored. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29582 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
260e077ff7d1bb76c5badef636955857cae465db |
|
13-Oct-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Registering a file device now also normalizes the path now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28068 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
|
#
6cc43bfbb091b903c87c97a99f2f7e7c1ffd1d13 |
|
22-Jul-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* _user_find_partition() did not work for partitions (only for devices), as it did not set the "devicesOnly" flag to false when calling RegisterDevice(). * ddm_userland_interface.cpp incorrectly wrote to userland memory when it assigned "neededSize" in several places. * Replaced on-stack path with the UserStringParameter class where appropriate. * Made the UserStringParameter class castable to char*. * Minor cleanup in KDiskDeviceManager.cpp. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26563 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cbc783bc080bad37e913115b45ce8eafbdea05e |
|
17-Mar-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* _user_uninitialize_partition() never marked the partition unbusy again. This fixes bug #1928. * Added license header. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24421 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3a5629b9ed3f11caee172635987ea531ae73d35 |
|
12-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
axeld + bonefish: * Unmount when uninitializing a partition. * Finished the media checker implementation, i.e. we rescan when a media was inserted and uninitialize when ejected. * Turned the disk device media checker from a kernel daemon into a thread. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22909 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c9830ce0f582866c38cd80506a0da8fd8706c8a6 |
|
10-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* KDiskDeviceManager::{Find,Load}DiskSystem() can also find the disk system by pretty name (not only module name) now. * _user_initialize_partition() loads the disk system by pretty name. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22880 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7b45b55be1322d022f79f23567529dfe079a03b8 |
|
04-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added back and partially reimplemented the K{Disk,File,Partitioning}System writing methods. It is now required that the caller has marked the concerned partitions busy, hence we can (read-)access them without needing a lock. The module interfaces will will be changed to take advantage of the fact as well. The methods take a disk_job_id instead of a KDiskDeviceJob* now, though I haven't quite decided, whether we need it at all or just want to add a special handling in the cases where notifications during the operation make sense. * Reimplemented the disk device write support syscalls (save _user_move_partition() for which other module hooks are needed). They call the KDiskSystem methods, now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22832 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8354dac78e2ce5da2e5ee1826c37dbc12cacbd18 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Folded KPhysicalPartition into KPartition. Removed the notion of shadow partitions from the disk device manager. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22800 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
327887959e06348e47b1aa0965f3679e2576dba8 |
|
01-Nov-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Moved partition scanning back to KDiskDeviceManager. ATM only synchronous scanning is supported. * Removed the disk device job support from the disk device manager. * K{Disk,File,Partitioning}System: - Remove querying and validation methods. - Commented out the modification methods until their fate is decided. * Removed obsolete _user_get_partitionable_spaces(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22799 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
300868ce276e35845db32cb8344e662de0872af9 |
|
31-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Removed no longer needed disk device related syscalls (_kern_{supports,validate}_*(), etc.). * Adjusted the prototypes of the disk device modification syscalls. Commented out their implementations for the time -- they'll mostly have to be rewritten completely. * Implemented the userland disk device jobs. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22781 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bf95c9aee6c36516e5e98a4f8953659c402bbf74 |
|
07-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* The shadow_changed() FS and partitioning system hooks take an additional partition_data* child parameter now. * _user_get_partitionable_spaces() doesn't need to copy the buffer into the kernel, since it is no input parameter. It also copies back the actual partitionable spaces count on error, now -- B_BUFFER_OVERFLOW is returned when the buffer was too small, but then the count must be returned too. * Fixed several instances of syscall implementations that unloaded a disk system, although they didn't load it in the first place. This screwed up the load count with undesirable consequences. * _user_create_child_partition() would set the size to the supplied offset. * Fixed broken loop in KPhysicalPartition::CreateShadowPartition(). * KPartition::RemoveChild() notified the listeners about the wrong event. * Intel partitioning module: - The *_get_partitionable_spaces() correctly return B_BUFFER_OVERFLOW now, if the supplied buffer is too small. - Implemented a part of pm_shadow_changed(), which creates and updates the PartitionMap, so that the validate_*() hooks have a chance to work at all. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22475 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aa4d8ee6eeda9900925f5426cadd3fae457c41cc |
|
05-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Allow NULL name argument on initialization. * Some code beautification on the way. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22454 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d6e565c76b50d1fb31c260c415fe89473a5d8147 |
|
05-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Fixed gcc 4 warnings. * Style cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22453 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a8ec23db391176bac91f33c5f1fc6e8e41866c |
|
22-Aug-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Added disk system flags for whether a partition name and partition content name are supported. * Added file_system_module_info::flags (analogously to partition_module_info::flags) which indicate which disk device features the FS supports. * Replaced the file_system_module_info/partition_module_info::supports_*() hooks by a get_supported_operations() hook and for partitioning systems additionally a get_supported_child_operations() hook. * Updated file and partitioning systems accordingly. * Updated fs_shell accordingly. * Updated the DDM accordingly. The syscall interface remains unchanged, though. * _user_supports_initializing_partition() also checks whether the parent partitioning system is content now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22043 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d86af8ce27128b44563a6e7f97d2ed2b94511aab |
|
27-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Style cleanup. * Moved method documentation from headers to source files. * Fixed small problems (memory leaks, unsafe string duplication,...). * Added TODOs where I spotted problems. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2dc6403ddcbaad94bc4df48bc434379275965f7e |
|
26-Jul-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Addition of write support to the disk device manager. Courtesy of Tomas Kucera and Jan Matejek. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920ac4d0cd27eb3c118fb2b0862615869e0 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|