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]

Re: filenames containing ::, rsync and "file has vanished", ext2fsd being used


reikred@gmail.com wrote:
Larry Hall (Cygwin) wrote:
reikred@gmail.com wrote:
I have a weird problem that I cannot quite wrap my head around.

I'm in cygwin trying to rsync from /e/ to /f/, using

rsync -Dogx -uav --delete /e/ /f/

I get a LOT of error messages of the type

file has vanished: "/e/usr/share/man/man3/Glib::Error.3pm.gz"
file has vanished: "/e/usr/share/man/man3/Gtk2::CodeGen.3pm.gz"
file has vanished: "/e/usr/share/man/man3/Gtk2::Entry.3pm.gz"


<snip>



Does anyone want to suggest a way to get around this? I think since
ls exhibits the same problem it should not be rsync's fault, but it may possibly relate to ext2fsd rather than cygwin.

You're certainly adding some interesting variables with ext2fsd involved, particularly when it comes to permissions. But in this case, ':' is a special character in Windows so you're going to see trouble regardless of your underlying file-system and driver. The moral of the story is don't try to do things on Windows that it's not good at. ;-)


Some more information: If I look at /e/usr/share/man/man3/ with Windows XP (File) Explorer, the :: files are in fact visible, but I cannot operate on them (for example, copy and paste) without getting error messages. So Ext2fsd is serving up the files, but some other part of the system is balking at the names.


I guess /bin/ls is similar in the sense that it "sees" the file, but when it tries to list the name, it runs into some restriction.

I wish there was a way to disable the restriction, maybe even just temporarily or on a per-program basis...

That would be a Windows issue. I don't know of any utility to make this easier for you, though I wouldn't rule out that one exists. You may find something on Windows forums.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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


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