mknod_b


Description:

[ Version ( since = "1.0.55" ) ]
public bool mknod_b (int32 mode, int32 devmajor, int32 devminor, string path) throws Error

make block device node

This call creates a block device node called path with mode mode and device major/minor devmajor and devminor. It is just a convenient wrapper around mknod .

Unlike with mknod, mode must contain only permissions bits.

The mode actually set is affected by the umask.

This function depends on the feature "mknod". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error