X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=219ccc066db64b1e464cdde5b46045b0c4f9ace2;hb=1775ab788597b871e2e372862d86a2fccab0c0ea;hp=57aad4ff67622107224a80781db041a8035aaee8;hpb=6a1efd25d70578a794ee65749db309ae73095358;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 57aad4f..219ccc0 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2977,6 +2977,14 @@ constants. C and C are the device major and minor numbers, only used when creating block and character special devices. +Note that, just like L, the mode must be bitwise +OR'd with S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call +just creates a regular file). These constants are +available in the standard Linux header files, or you can use +C, C or C +which are wrappers around this command which bitwise OR +in the appropriate constant for you. + The mode actually set is affected by the umask."); ("mkfifo", (RErr, [Int "mode"; Pathname "path"]), 134, [Optional "mknod"],