Magellan Linux

Annotation of /trunk/mkinitrd-magellan/klibc/usr/utils/mount_opts.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (hide annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 481 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 niro 532 #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 */