Magellan Linux

Contents of /tags/mkinitrd-6_3_0/klibc/usr/utils/mount_opts.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1139 - (show annotations) (download)
Thu Aug 19 10:14:02 2010 UTC (14 years, 1 month ago) by niro
File MIME type: text/plain
File size: 481 byte(s)
tagged 'mkinitrd-6_3_0'
1 #ifndef UTILS_MOUNT_OPTS_H
2 #define UTILS_MOUNT_OPTS_H
3
4 struct mount_opts {
5 const char str[8];
6 unsigned long rwmask;
7 unsigned long rwset;
8 unsigned long rwnoset;
9 };
10
11 struct extra_opts {
12 char *str;
13 char *end;
14 int used_size;
15 int alloc_size;
16 };
17
18 /*
19 * These options define the function of "mount(2)".
20 */
21 #define MS_TYPE (MS_REMOUNT|MS_BIND|MS_MOVE)
22
23 unsigned long
24 parse_mount_options(char *arg, unsigned long rwflag, struct extra_opts *extra);
25
26 #endif /* UTILS_MOUNT_OPTS_H */