Gnome2::VFS::Volume3pm
Abstraction for a mounted file system or a network location
Hierarchy
Glib::Object+----Gnome2::VFS::Volume
Methods
string = $volume->get_activation_uri
integer = $a->compare ($b)
- •
-
$b(Gnome2::VFS::Volume)
Gnome2::VFS->connect_to_server ($uri, $display_name, $icon)
•
|
|
|---|---|
•
|
|
•
|
|
string = $volume->get_device_path
devicetype = $volume->get_device_type
string = $volume->get_display_name
drive = $volume->get_drive
$volume->eject ($func, $data=undef)
•
|
|
|---|---|
•
|
|
string = $volume->get_filesystem_type
string = $volume->get_hal_udi
Since: vfs 2.8
boolean = $volume->handles_trash
string = $volume->get_icon
unsigned = $volume->get_id
boolean = $volume->is_mounted
boolean = $volume->is_read_only
boolean = $volume->is_user_visible
$volume->unmount ($func, $data=undef)
•
|
|
|---|---|
•
|
|
volumetype = $volume->get_volume_type
Enums and flags
enum Gnome2::VFS::DeviceType
•
|
'unknown' / 'GNOME_VFS_DEVICE_TYPE_UNKNOWN' |
|---|---|
•
|
'audio-cd' / 'GNOME_VFS_DEVICE_TYPE_AUDIO_CD' |
•
|
'video-dvd' / 'GNOME_VFS_DEVICE_TYPE_VIDEO_DVD' |
•
|
'harddrive' / 'GNOME_VFS_DEVICE_TYPE_HARDDRIVE' |
•
|
'cdrom' / 'GNOME_VFS_DEVICE_TYPE_CDROM' |
•
|
'floppy' / 'GNOME_VFS_DEVICE_TYPE_FLOPPY' |
•
|
'zip' / 'GNOME_VFS_DEVICE_TYPE_ZIP' |
•
|
'jaz' / 'GNOME_VFS_DEVICE_TYPE_JAZ' |
•
|
'nfs' / 'GNOME_VFS_DEVICE_TYPE_NFS' |
•
|
'autofs' / 'GNOME_VFS_DEVICE_TYPE_AUTOFS' |
•
|
'camera' / 'GNOME_VFS_DEVICE_TYPE_CAMERA' |
•
|
'memory-stick' / 'GNOME_VFS_DEVICE_TYPE_MEMORY_STICK' |
•
|
'smb' / 'GNOME_VFS_DEVICE_TYPE_SMB' |
•
|
'apple' / 'GNOME_VFS_DEVICE_TYPE_APPLE' |
•
|
'music-player' / 'GNOME_VFS_DEVICE_TYPE_MUSIC_PLAYER' |
•
|
'windows' / 'GNOME_VFS_DEVICE_TYPE_WINDOWS' |
•
|
'loopback' / 'GNOME_VFS_DEVICE_TYPE_LOOPBACK' |
•
|
'network' / 'GNOME_VFS_DEVICE_TYPE_NETWORK' |
enum Gnome2::VFS::VolumeType
•
|
'mountpoint' / 'GNOME_VFS_VOLUME_TYPE_MOUNTPOINT' |
|---|---|
•
|
'vfs-mount' / 'GNOME_VFS_VOLUME_TYPE_VFS_MOUNT' |
•
|
'connected-server' / 'GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER' |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.