delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/17/10:39:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 17 Nov 2010 16:38:03 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: NetAPP / cygwin 1.7.7-1 avoid Recycle BIN dot files
Message-ID: <20101117153803.GB11144@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1PIiog-17akPA0 AT fwd00 DOT aul DOT t-online DOT de> <20101117150123 DOT GA11144 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20101117150123.GA11144@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Nov 17 16:01, Corinna Vinschen wrote:
> On Nov 17 15:16, koerner DOT sebastian AT t-online DOT de wrote:
> >  Hi Corinna,
> >  
> >  > Try the latest developer snapshot from http://cygwin.com/snapshots/
> > I used the one from Nov 2th. No change. Dotfiles are created and the
> > mount does not say "netapp"
> >  
> >  Anyway, if the latest snapshot does not solve your problem, install
> >  the csih package from the distro (probably you already have it) and
> >  run
> >  
> >  $ cd <path-to-some-directory-on-the-netapp>
> >  $ /usr/lib/csih/getVolInfo . <-- note the dot
> >  bash-3.2$ /usr/lib/csih/getVolInfo .
> > Device Type        : 7
> >  Characteristics    : 10
> >  Volume Name        : <shr1>
> >  Serial Number      : 133445
> >  Max Filenamelength : 255
> >  Filesystemname     : <FAT>
> >  Flags              : 40007
> >     FILE_CASE_SENSITIVE_SEARCH  : TRUE
> >     FILE_CASE_PRESERVED_NAMES   : TRUE
> >     FILE_UNICODE_ON_DISK        : TRUE
> >     FILE_PERSISTENT_ACLS        : FALSE
> >     FILE_FILE_COMPRESSION       : FALSE
> >     FILE_VOLUME_QUOTAS          : FALSE
> >     FILE_SUPPORTS_SPARSE_FILES  : FALSE
> >     FILE_SUPPORTS_REPARSE_POINTS: FALSE
> >     FILE_SUPPORTS_REMOTE_STORAGE: FALSE
> >     FILE_VOLUME_IS_COMPRESSED   : FALSE
> >     FILE_SUPPORTS_OBJECT_IDS    : FALSE
> >     FILE_SUPPORTS_ENCRYPTION    : FALSE
> >     FILE_NAMED_STREAMS          : TRUE
> >     FILE_READ_ONLY_VOLUME       : FALSE
> >     FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
> >     FILE_SUPPORTS_TRANSACTIONS  : FALSE
> >  bash-3.2$ pwd
> >  /cygdrive/s
> >  bash-3.2$
> > 
> > Maybe there is an unhappy coincidence with the netapps and this is a
> > race condition between find -exec and rmdir that did not occur before
> > 1.7?
> 
> No it's not.  The problem is the fact that *this* netapp fakes to be FAT.
> Right now Cygwin only recognizes Netapps which report to be "NTFS".
> 
> I'll see what I can do.

Oh, btw.  In your OP you claimed that you have netapps for which Cygwin
returns "cifs" and other netapps for which Cygwin returns "vfat" as
filesystem.  The above one is clearly one of the "cifs" type.

Here's the question: Do you *really* have some for which the latest
Cygwin 1.7.7 or the latest snapshot returns "vfat" and are they *really*
netapps?  In theory I'd expect that those are just remote FAT FS on some
remote Windows machine, and they shouldn't be affected by the reported
problem.

If they are actually netapps, there's very likely no chance at all to
recognize those as netapps from Cygwin.  We only have a chance if the
combination of flags is different from the combination of flags of a
real remote FAT filesystem and consequentially we can't have unlink
react differently.

For the sake of completeness, *if* Cygwin 1.7.7 or later really returns
"vfat" for a netapp filesystem, please send the getVolInfo info for
that drive as well.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019