---
name: "Gnome2::VFS::Volume"
section: "3pm"
platform: "linux"
package: "libgnome2-vfs-perl"
version: "1.082-1+b3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::VFS::Volume"
---

# Gnome2::VFS::Volume(3pm)

Abstraction for a mounted file system or a network location

## NAME

Gnome2::VFS::Volume - 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)

- •

  `$uri` (string)

- •

  `$display_name` (string)

- •

  `$icon` (string)

### string = $volume-\>get\_device\_path

### devicetype = $volume-\>get\_device\_type

### string = $volume-\>get\_display\_name

### drive = $volume-\>get\_drive

### $volume-\>eject ($func, $data=undef)

- •

  `$func` (scalar)

- •

  `$data` (scalar)

### 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)

- •

  `$func` (scalar)

- •

  `$data` (scalar)

### 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'

## SEE ALSO

Gnome2::VFS, Glib::Object

## COPYRIGHT

Copyright (C) 2003-2007, 2013 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gnome2::VFS for a full notice.
