Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/kinit/fstype/fstype.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 815 - (show annotations) (download)
Fri Apr 24 18:32:46 2009 UTC (15 years ago) by niro
File MIME type: text/plain
File size: 394 byte(s)
-updated to klibc-1.5.15
1 /*
2 * by rmk
3 *
4 * Detect filesystem type (on stdin) and output strings for two
5 * environment variables:
6 * FSTYPE - filesystem type
7 * FSSIZE - filesystem size (if known)
8 *
9 * We currently detect the fs listed in struct imagetype.
10 */
11
12 #ifndef FSTYPE_H
13 #define FSTYPE_H
14
15 #include <unistd.h>
16
17 int identify_fs(int fd, const char **fstype,
18 unsigned long long *bytes, off_t offset);
19
20 #endif