mknod_c
Description:
[ Version ( since = "1.0.55" ) ]
public bool mknod_c (int32 mode, int32 devmajor, int32 devminor, string path) throws Error
public bool mknod_c (int32 mode, int32 devmajor, int32 devminor, string path) throws Error
make char device node
This call creates a char 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 |