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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setSpec
The block special device or remote filesystem to be mounted.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFile
The mount point for the filesystem.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFile
The mount point for the filesystem.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVfstype
The type of the filesystem.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVfstype
The type of the filesystem.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMntops
Mount options associated with the filesystem.
| Returns | |
|---|---|
| Type | Description |
string |
|
setMntops
Mount options associated with the filesystem.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFreq
Used by dump to determine which filesystems need to be dumped.
| Returns | |
|---|---|
| Type | Description |
int |
|
setFreq
Used by dump to determine which filesystems need to be dumped.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPassno
Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPassno
Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|