This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PLEASE TEST YOUR FS


On Wed, 7 Apr 2010 19:27:00 +0200 Corinna Vinschen asked:
>Can anybody reproduce this problem with trailing dots and spaces in
>filenames on other filesytems than netapp?
>
>It would be quite helpful to get feedback from people using filesystems
>which are recognized by Cygwin as nwfs, unixfs, mvfs, or cifs.
>
>For testing, try to create *in Cygwin* a file called "foo." and a file
>" foo ".  If it works, and if a following `ls' and `rm' on the file
>works as well, everything's fine.  If some error occurs, especially "No
>such file or directory", then that filesystem probably requires special
>handling just like netapp.

Well it sort of worked.

cd'ed to //fileserver/common/group/sysops

> touch foo
> rm foo
> touch " foo  "
> rm " foo "
rm: cannot remove ` foo ': No such file or directory
> touch foo.
> rm foo.
> touch " foo "
> ls -l " foo "
-rw-r--r-- 1 ???????? ???????? 0 Apr  7 18:23  foo 
> rm " foo "
> touch foo.
> ls -l foo.
-rw-r--r-- 1 ???????? ???????? 0 Apr  7 18:24 foo.
> rm foo.
> touch " foo "
> rm " foo "

> /usr/lib/csih/getVolInfo .
Device Type        : 7
Characteristics    : 10
Volume Name        : <common>
Serial Number      : 2951612753
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 2b
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : FALSE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  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          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

Slightly wierd it failed initially and then started to
behave. Fileserver is a centos 5.24 box running:
samba-common-3.0.28-1.el5_2.1

Also one weird thing, not sure it's relevent but... I noticed if I
typo'ed the 'cd //fileserver/bad/path' and got a permission denied
error, it hung the bash shell. The cd didn't return to the prompt. In
one case at least it killed the bash shell.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]