#include <DeviceMap.h>
Public Member Functions | |
| Device (const char *path, int devfd=-1) | |
| ~Device () | |
| int32 | CountSessions () const |
| Session * | SessionAt (int32 index) const |
| int32 | CountPartitions () const |
| int32 | BlockSize () const |
| void | SetPartitioningFlags (drive_setup_partition_flags newFlags) |
| const char * | Name () const |
| const char * | DisplayName (bool includeBusID=true, bool includeLUN=false) const |
| Session * | NewSession (int32 dev, int32 index) |
| bool | FindMountedVolumes (void *) |
| bool | ReadOnly () const |
| bool | Removable () const |
| void | UpdateDeviceState () |
| status_t | Eject () |
| bool | NoMedia () const |
| void | Dump (const char *) |
| bool | Dump (void *) |
| bool | DeviceStateChanged (void *params) |
| bool | IsFloppy () const |
Friends | |
| class | Session |
| class | DeviceList |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|