diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-08-09 08:18:30 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-08-09 08:18:30 +0000 |
commit | a52993d42652f6f34763f33cfac9c961c96e595b (patch) | |
tree | 25a48b31baaf328d9dc90dffe2c253acfc5be56d /winsup/cygwin/mount.h | |
parent | 99006a85e255eb93d174b1de97df6821bc321933 (diff) | |
download | cygnal-a52993d42652f6f34763f33cfac9c961c96e595b.tar.gz cygnal-a52993d42652f6f34763f33cfac9c961c96e595b.tar.bz2 cygnal-a52993d42652f6f34763f33cfac9c961c96e595b.zip |
* fhandler_proc.cc: Add /proc/filesystems virtual file.
(format_proc_filesystems): New function.
* mount.cc (fs_names): Move to global scope. Redefine as array
of { "name", block_device? } structs.
(fillout_mntent): Use name member of fs_names.
* mount.h (fs_names): New prototype.
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r-- | winsup/cygwin/mount.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index 7133cc412..7c229bb2e 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -32,6 +32,11 @@ enum fs_info_type max_fs_type }; +extern struct fs_names_t { + const char *name; + bool block_device; +} fs_names[]; + #define IMPLEMENT_FS_FLAG(func, flag) \ bool func (bool val) { if (val) status.fs_type = flag; return val; } \ bool func () const { return status.fs_type == flag; } |