ioctl_getfsmap (2) Linux Manual Page
ioctl_getfsmap – retrieve the physical layout of the filesystem Synopsis#include <sys/ioctl.h> #include <linux/fs.h> #include <linux/fsmap.h> int ioctl(int fd, FS_IOC_GETFSMAP, struct fsmap_head * arg); DescriptionThis ioctl(2) operation retrieves physical extent mappings for a filesystem. This information can be used to discover which files are mapped to a physical block, examine free space, or find known bad…
