![]() |
![]() |
![]() |
libblockdev Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <s390.h> GQuark bd_s390_error_quark (void
); enum BDS390Error; gboolean bd_s390_dasd_format (const gchar *dasd
,GError **error
); gboolean bd_s390_dasd_needs_format (const gchar *dasd
,GError **error
); gchar * bd_s390_sanitize_dev_input (const gchar *dev
,GError **error
); gboolean bd_s390_dasd_online (gchar *dasd
,GError **error
); gboolean bd_s390_dasd_is_ldl (const gchar *dasd
,GError **error
); gchar * bd_s390_zfcp_sanitize_wwpn_input (const gchar *wwpn
,GError **error
); gchar * bd_s390_zfcp_sanitize_lun_input (const gchar *lun
,GError **error
);
typedef enum { BD_S390_ERROR_DEVICE, BD_S390_ERROR_FORMAT_FAILED, BD_S390_ERROR_DASDFMT, } BDS390Error;
gboolean bd_s390_dasd_format (const gchar *dasd
,GError **error
);
|
dasd to format |
|
place to store error (if any). [out] |
Returns : |
whether dasdfmt was successful or not |
gboolean bd_s390_dasd_needs_format (const gchar *dasd
,GError **error
);
|
dasd to check, whether it needs dasdfmt run on it |
|
place to store error (if any). [out] |
Returns : |
whether a dasd needs dasdfmt run against it |
gchar * bd_s390_sanitize_dev_input (const gchar *dev
,GError **error
);
|
place to store error (if any). [out] |
Returns : |
a synthesized dasd or zfcp device number. [transfer full] |
gboolean bd_s390_dasd_online (gchar *dasd
,GError **error
);
|
dasd to switch online |
|
place to store error (if any). [out] |
Returns : |
whether a dasd was successfully switched online |
gboolean bd_s390_dasd_is_ldl (const gchar *dasd
,GError **error
);
|
dasd to check, whether it is LDL formatted |
|
place to store error (if any). [out] |
Returns : |
whether a dasd is LDL formatted |
gchar * bd_s390_zfcp_sanitize_wwpn_input (const gchar *wwpn
,GError **error
);
|
place to store error (if any). [out] |
Returns : |
a synthesized zFCP WWPN. [transfer full] |