s390

s390 — plugin for operations with s390

Functions

Types and Values

Includes

#include <s390.h>

Description

A plugin for operations with s390 devices.

Functions

bd_s390_error_quark ()

GQuark
bd_s390_error_quark (void);

[skip]


bd_s390_dasd_format ()

gboolean
bd_s390_dasd_format (const gchar *dasd,
                     GError **error);

Parameters

dasd

dasd to format

 

error

place to store error (if any).

[out]

Returns

whether dasdfmt was successful or not


bd_s390_dasd_needs_format ()

gboolean
bd_s390_dasd_needs_format (const gchar *dasd,
                           GError **error);

Parameters

dasd

dasd to check, whether it needs dasdfmt run on it

 

error

place to store error (if any).

[out]

Returns

whether a dasd needs dasdfmt run against it


bd_s390_sanitize_dev_input ()

gchar *
bd_s390_sanitize_dev_input (const gchar *dev,
                            GError **error);

Parameters

error

place to store error (if any).

[out]

Returns

a synthesized dasd or zfcp device number.

[transfer full]


bd_s390_dasd_online ()

gboolean
bd_s390_dasd_online (gchar *dasd,
                     GError **error);

Parameters

dasd

dasd to switch online

 

error

place to store error (if any).

[out]

Returns

whether a dasd was successfully switched online


bd_s390_dasd_is_ldl ()

gboolean
bd_s390_dasd_is_ldl (const gchar *dasd,
                     GError **error);

Parameters

dasd

dasd to check, whether it is LDL formatted

 

error

place to store error (if any).

[out]

Returns

whether a dasd is LDL formatted


bd_s390_zfcp_sanitize_wwpn_input ()

gchar *
bd_s390_zfcp_sanitize_wwpn_input (const gchar *wwpn,
                                  GError **error);

Parameters

error

place to store error (if any).

[out]

Returns

a synthesized zFCP WWPN.

[transfer full]


bd_s390_zfcp_sanitize_lun_input ()

gchar *
bd_s390_zfcp_sanitize_lun_input (const gchar *lun,
                                 GError **error);

Parameters

error

place to store error (if any).

[out]

Returns

a synthesized zFCP LUN.

[transfer full]

Types and Values

enum BDS390Error

Members

BD_S390_ERROR_DEVICE

   

BD_S390_ERROR_FORMAT_FAILED

   

BD_S390_ERROR_DASDFMT