This is the mail archive of the
cygwin
mailing list for the Cygwin project.
PLEASE TEST YOUR FS
- From: "John P. Rouillard" <rouilj at cs dot umb dot edu>
- To: cygwin at cygwin dot com
- Date: Wed, 07 Apr 2010 18:37:22 -0400
- Subject: PLEASE TEST YOUR FS
- Reply-to: rouilj at ieee dot org
- Zdisposition-notification-to: rouilj@cs.umb.edu
- Zreturn-receipt-to: rouilj@cs.umb.edu
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