Unknown YCP Module |
|
This module has an unstable interface. |
Imports
Global Functions |
Info:
File: modules/NetworkStorage.ycp
Package: Network configuration
Summary: Networked disks
Authors: Martin Vidner
global
getDevice (string mount_point)
->
string
Ask /proc/mounts what device a mount point is using.
- Parameters:
-
mount_point
- Return value:
-
e.g. /dev/sda2 (or just "nfs")
global
isDiskOnNetwork (string device)
->
symbol
If the disk is on a networked device (NFS, ISCSI), the main NIC needs STARTMODE nfsroot instead of auto.
- Parameters:
-
device
- Return value:
-
root dev over network: `no `iscsi `nfs `fcoe