4 * Detect filesystem type (on stdin) and output strings for two
5 * environment variables:
6 * FSTYPE - filesystem type
7 * FSSIZE - filesystem size (if known)
9 * We currently detect the fs listed in struct imagetype.
15 #define _XOPEN_SOURCE 500
18 int identify_fs(int fd
, const char **fstype
,
19 unsigned long long *bytes
, off_t offset
);