X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=c51df3823cfa926e5b2aafa21277fbcb5aefdbf9;hp=b274411bd753373e0f9bfaac045dbfc4bc1be792;hb=89a707aac5aa75d70cbb3049e8d328cfe6a40dea;hpb=c3a68961859a617f7c574c528d0f8ac1fdbb53e1 diff --git a/src/generator.ml b/src/generator.ml index b274411..c51df38 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2026,7 +2026,9 @@ Compute the SHA512 hash (using the C program). =back -The checksum is returned as a printable string."); +The checksum is returned as a printable string. + +To get the checksum for a device, use C."); ("tar_in", (RErr, [FileIn "tarfile"; Pathname "directory"]), 69, [], [InitBasicFS, Always, TestOutput ( @@ -2989,6 +2991,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"],