ioctl_fat
(2)manipulating the FAT filesystem
#include <sys/ioctl.h> int ioctl(int fd, unsigned long op, ...);
LIBRARY
DESCRIPTION
The ioctl(2) system call can be used to read and write metadata of FAT filesystems that are not accessible using other system calls. The following op values are available.
Reading and setting file attributes
Reading the volume ID
Reading short filenames of a directory
RETURN VALUE
ERRORS
- ENOTTY
- The file descriptor fd does not refer to an object in a FAT filesystem.