From a52993d42652f6f34763f33cfac9c961c96e595b Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 9 Aug 2010 08:18:30 +0000 Subject: * 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. --- winsup/cygwin/mount.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'winsup/cygwin/mount.h') 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; } -- cgit v1.2.3