From: SourceForge.net <no...@so...> - 2009-01-04 20:11:58
|
Bugs item #2432504, was opened at 2008-12-16 05:48 Message generated for change (Comment added) made by henryn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2432504&group_id=98788 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Daemons (Windows) Group: v0.8.x (devel) >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Xuefer (xuefer) Assigned to: Henry N. (henryn) Summary: autobuild 20081212 junction not well supported by cofs Initial Comment: http://www.henrynestler.com/colinux/autobuild/devel-20081212/ http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx in windows host: c: cd \ mkdir a junction a d: (something like ln -s d: .\a) in colinux guest: ls /c/ in 0.8.0-20080924: drwxr-xr-x 1 xuefer users 0 Dec 16 12:16 a/ in 0.8.0-20081212: d-w------- 1 xuefer users 0 Dec 16 12:16 a/ ---------------------------------------------------------------------- >Comment By: Henry N. (henryn) Date: 2009-01-04 21:11 Message: I see, the new implementation has to many problems. FILE_BASIC_INFORMATION (used to get file times and attributes) does not work on junction. Under userland NtFileInfo the times are all 0, but the FILE_BASIC_INFORMATION inside a FILE_ALL_INFORMATIONS works. This can check with the tool FileTest.exe from www.sysinternals. From a ntkernel ZwQueryInformationFile (used for cofs) gots wrong date code, and perhaps also wrong flags. The other problems are by Windows opend files, for example C:\pagefile.sys. Such file got an error for 'stat' or 'ls' on cofs, because they can't open for reading attributes. SVN r1145 have reverted now, and commited as SVN r1199. ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2009-01-04 00:18 Message: It works for me with coLinux devel-20081212 (autobuild). Unless the date is some mystic in future. C:\>mkdir a C:\>junction.exe a d: Junction v1.05 - Windows junction creator and reparse point viewer Copyright (C) 2000-2007 Mark Russinovich Systems Internals - http://www.sysinternals.com Created: C:\a Targetted at: D:\ On coLinux (Debian 4): $ ls -lF /media/C/ | grep a/ drwxr-xr-x 1 hn user 0 Apr 22 2009 a/ $ mount | grep "/media/C" cofs1 on /media/C type cofs (rw,noexec,nosuid,nodev,uid=1000,gid=1000) ---------------------------------------------------------------------- Comment By: Henry N. (henryn) Date: 2008-12-17 01:05 Message: The attribs are forwarded from host to Linux in recend versions. The directory has SYSTEM and HIDDEN attribute set. I will look more, what this special file does. If you have problems, you can disable this new feature with "noattrib" in the Linux mount options, see cofs.txt in your installation or http://colinux.svn.sourceforge.net/viewvc/colinux/branches/devel/doc/cofs Thanks. ---------------------------------------------------------------------- Comment By: Xuefer (xuefer) Date: 2008-12-16 10:33 Message: FYI, SYSTEM account have full access to both c:\a d:\ ---------------------------------------------------------------------- Comment By: Xuefer (xuefer) Date: 2008-12-16 05:49 Message: btw, i'm using same set of kernel modules but different driver linux.sys/vmlinux/colinux-daemon.exe/colinux-ndis-net-daemon.exe ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2432504&group_id=98788 |