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
This commit is contained in:
@@ -40,9 +40,17 @@ private:
|
||||
friend class BDiskDeviceList;
|
||||
friend class BDiskDeviceRoster;
|
||||
|
||||
BDiskDevice::BDiskDevice(const BDiskDevice &);
|
||||
BDiskDevice &BDiskDevice::operator=(const BDiskDevice &);
|
||||
|
||||
static status_t _GetData(partition_id id, bool deviceOnly, bool shadow,
|
||||
size_t neededSize, user_disk_device_data **data);
|
||||
|
||||
status_t _SetTo(partition_id id, bool deviceOnly, bool shadow,
|
||||
size_t neededSize);
|
||||
status_t _SetTo(user_disk_device_data *data);
|
||||
status_t _Update(bool shadow, bool *updated);
|
||||
status_t _Update(user_disk_device_data *data, bool *updated);
|
||||
|
||||
virtual bool _AcceptVisitor(BDiskDeviceVisitor *visitor, int32 level);
|
||||
|
||||
|
||||
@@ -139,10 +139,15 @@ private:
|
||||
status_t _SetTo(BDiskDevice *device, BPartition *parent,
|
||||
user_partition_data *data);
|
||||
void _Unset();
|
||||
status_t _RemoveObsoleteDescendants(user_partition_data *data,
|
||||
bool *updated);
|
||||
status_t _Update(user_partition_data *data, bool *updated);
|
||||
void _RemoveChild(int32 index);
|
||||
|
||||
bool _IsShadow() const;
|
||||
partition_id _ShadowID() const;
|
||||
disk_system_id _DiskSystem() const;
|
||||
int32 _ChangeCounter() const;
|
||||
|
||||
int32 _CountDescendants() const;
|
||||
int32 _Level() const;
|
||||
|
||||
Reference in New Issue
Block a user