This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


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

Re: Compiling the current CVS of XFree86 with Cygwin


On Fri, 6 Apr 2001, Alan Hourihane wrote:

> As for CVS. I'm actually mounting the drive over samba from a linux server
> and I'd checked out the tree under linux's CVS, so I know the tree is o.k.
> 
> But, maybe cygwin can't handle networked drives ?
> 
Cygwin can. Samba is misconfigured.

The symlinks are stored as files with the system flag switched on. 
Samba can't map the flag to the unix filesystem.
Try the options "map archive", "map hidden" and "map system" for
samba. This will store these flags in the execute bits for owner, group
and others.

Or as i just did with the complete cygwin installation, search on linux
for all files containing the regexp "^!<symlink>\(.*\)" and create a 
linux symlink:

find /home/ago/cygwin -type f -exec grep -q '^!<symlink>' {} \; | \
   while read file; do 
	link=$(cat "$file"|sed  's/^!<symlink>\(.*\)/\1/)
	mv "$file" "$file.old"
	ln -sf "$link" $file
   done

I don't know what happens if the filename contains spaces, but if there
are none, everything works fine.

-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org
 +49 3752 349 80 80


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