Google Cloud Migration Center V1 Client - Class FstabEntry (0.3.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class FstabEntry.

Single fstab entry.

Generated from protobuf message google.cloud.migrationcenter.v1.FstabEntry

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ spec string

The block special device or remote filesystem to be mounted.

↳ file string

The mount point for the filesystem.

↳ vfstype string

The type of the filesystem.

↳ mntops string

Mount options associated with the filesystem.

↳ freq int

Used by dump to determine which filesystems need to be dumped.

↳ passno int

Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.

getSpec

The block special device or remote filesystem to be mounted.

Returns
TypeDescription
string

setSpec

The block special device or remote filesystem to be mounted.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFile

The mount point for the filesystem.

Returns
TypeDescription
string

setFile

The mount point for the filesystem.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVfstype

The type of the filesystem.

Returns
TypeDescription
string

setVfstype

The type of the filesystem.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMntops

Mount options associated with the filesystem.

Returns
TypeDescription
string

setMntops

Mount options associated with the filesystem.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFreq

Used by dump to determine which filesystems need to be dumped.

Returns
TypeDescription
int

setFreq

Used by dump to determine which filesystems need to be dumped.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPassno

Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.

Returns
TypeDescription
int

setPassno

Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.

Parameter
NameDescription
var int
Returns
TypeDescription
$this