From 69178ca038167aac9b18b86391489ad4f1e8a3e3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 21 Oct 2011 08:29:19 +0000 Subject: * globals.cc (ro_u_ncfsd): New R/O unicode string. * mount.cc (fs_info::update): Check for "NcFsd" FS. Set flags and change comments accordingly. (fs_names): Add entry for NcFsd FS. * mount.h (enum fs_info_type): Add ncfsd. (class fs_info): Add ncfsd flag and accessor methods. * path.h (class path_conv): Add fs_is_ncfsd method. * syscalls.cc (unlink_nt): Experimentally try delete-on-close on NcFsd in STATUS_CANNOT_DELETE case. --- winsup/cygwin/mount.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/mount.h') diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index dece2a84a..0f0690a82 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -1,7 +1,7 @@ /* mount.h: mount definitions. Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008, 2009, 2010 Red Hat, Inc. + 2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. This file is part of Cygwin. @@ -28,6 +28,7 @@ enum fs_info_type mvfs, cifs, nwfs, + ncfsd, /* Always last. */ max_fs_type }; @@ -97,6 +98,7 @@ class fs_info IMPLEMENT_FS_FLAG (mvfs) IMPLEMENT_FS_FLAG (cifs) IMPLEMENT_FS_FLAG (nwfs) + IMPLEMENT_FS_FLAG (ncfsd) fs_info_type what_fs () const { return status.fs_type; } ULONG serial_number () const { return sernum; } -- cgit v1.2.3