Some small adjustments for KFileDiskDevice. Added Dump().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3600 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-06-22 22:57:42 +00:00
parent 242a2cbef2
commit bdc530c737
2 changed files with 49 additions and 6 deletions
@@ -25,7 +25,7 @@ public:
status_t SetTo(const char *path);
void Unset();
status_t InitCheck() const;
virtual status_t InitCheck() const;
// TODO: probably superfluous
// A read lock owner can be sure that the device (incl. all of its
@@ -69,6 +69,12 @@ public:
void SetShadowOwner(team_id team);
team_id ShadowOwner() const;
virtual void Dump(bool deep = true, int32 level = 0);
protected:
virtual status_t GetMediaStatus(status_t *mediaStatus);
virtual status_t GetGeometry(device_geometry *geometry);
private:
void _InitPartitionData();