Dear Linux man-pages. I'd like to ask about the status of this patch I'd sent years ago, which doesn't seem to be applied as of man-pages 3.53. Should I modify the patch somehow or supply more information? Thanks in advance, Ambrus ---------- Forwarded message ---------- From: Zsbán Ambrus <ambrus@xxxxxxxxxxx> Date: Sat, 3 Apr 2010 18:36:32 +0200 Subject: [PATCH] linux man-pages ioctl_list(2) FAT_IOCTL_GET_ATTRIBUTES To: mtk.manpages@xxxxxxxxx Dear linux man-pages, The attached patch adds four ioctls from linux/msdos_fs.h to the ioctl_list(2) manpage. The ioctl FAT_IOCTL_GET_ATTRIBUTES reads FAT attributes of a file a mounted vfat file system. I tested this on Linux 2.6.33, an example script can be found at "http://www.perlmonks.com/?node_id=832623". The constants are a bit difficult to access, you may need to include the following headers to get them defined correctly (and the order matters; and even then they are defined the have the wrong type, unsigned long instead of int): <sys/types.h> <sys/ioctl.h> <linux/types.h> <linux/dirent.h> <linux/msdos_fs.h>. Do you suppose this should be mentioned in the manpage? Ambrus
--- ./ioctl_list.2 2010-04-03 17:52:39.000000000 +0200 +++ ./ioctl_list.2 2010-04-03 18:23:31.000000000 +0200 @@ -430,8 +430,17 @@ 0x000089E0 SIOCGETVIFCNT struct sioc_vif_req * // I-O 0x000089E1 SIOCGETSGCNT struct sioc_sg_req * // I-O .TE +// <include/linux/msdos_fs.h> +.TS +l l l l. +0x82307201 VFAT_IOCTL_READDIR_BOTH struct dirent [2] +0x82307202 VFAT_IOCTL_READDIR_SHORT struct dirent [2] +0x80047210 FAT_IOCTL_GET_ATTRIBUTES __u32 * +0x40047211 FAT_IOCTL_SET_ATTRIBUTES const __u32 * +.TE + // <include/linux/mtio.h> .TS l l l l. 0x40086D01 MTIOCTOP const struct mtop *