X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=10758781f9a006f8674f28bdfe4d7afe7b74bbf0;hb=42e43db927dac13da0afe6dba39708295eb06021;hp=b274411bd753373e0f9bfaac045dbfc4bc1be792;hpb=27a67f8615b5788f5ff21b68b9afc01c35c5b832;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index b274411..1075878 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2989,6 +2989,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"],