Re: Find not working w/ Samba drive
Corinna Vinschen wrote: I've applied a patch to Cygwin which handles the remote file systems according to the above list now. Please test the next developers snapshot from http://cygwin.com/snapshots/ Corinna I've tried this patched dll, and the "cp from a Samba 2.x filesystem" problem has gone away. Thanks! -- Stefan Vorkoetter Maplesoft Aviation is proof, that given the will, we have the capacity to achieve the impossible. -- Eddie Rickenbacker -- 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/
Re: :Re: Find not working w/ Samba drive
On Apr 13 04:29, rowol wrote: > I tried compiling that program, but got the error message: > >C:\tmp>gcc -o stest samba.test.c >samba.test.c: In function `main': >samba.test.c:32: error: structure has no member named `d_ino' > >C:\tmp>gcc --version >gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) >Copyright (C) 2004 Free Software Foundation, Inc. > > > When I look at sys/dirent.h, instead of having a d_ino member, the dirent > structure's got an "__invalid_d_ino" member (?) with the note /* DO > NOT USE: No longer available since cygwin 1.5.19 */ > > Corrinna, if you can tell me how you'd like me to change your program so I > can compile it, I can run it on my older Samba share. Use a recent Cygwin snapshot from http://cygwin.com/snapshots/ It reenables d_ino. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
:Re: Find not working w/ Samba drive
Eric, thanks for forwarding that to me... I tried compiling that program, but got the error message: C:\tmp>gcc -o stest samba.test.c samba.test.c: In function `main': samba.test.c:32: error: structure has no member named `d_ino' C:\tmp>gcc --version gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. When I look at sys/dirent.h, instead of having a d_ino member, the dirent structure's got an "__invalid_d_ino" member (?) with the note /* DO NOT USE: No longer available since cygwin 1.5.19 */ Corrinna, if you can tell me how you'd like me to change your program so I can compile it, I can run it on my older Samba share. If you can cc your response to rowol at mysticind dot com, I will get it faster. Thanks, Ross = > > On Apr 12 11:48, Corinna Vinschen wrote: >> On Apr 11 15:45, Stefan Vorkoetter wrote: >> > And here's one from a Samba 2.2.3a share, repeated twice. Notice the >> inodes >> > are different each time. >> > >> > ~/sandboxes/main/internal/src [920] $ ls -i >> > v:/internal_html/2006-04-10/*.jpg >> > 3796172808 v:/internal_html/2006-04-10/17-50-56.jpg >> > [...] >> >> I have a vague hope. It really looks like the inode numbers sent by >> older Samba versions are 32 bit values, which would allow to distinguish >> between old and new versions. >> >> Would you or anybody with an older Samba version mind to look into >> more directories on the share and try to figure out if the inode number >> is always smaller than UINT_MAX (4294967295)? I just need a feedback >> of yes or no. > > Btw., I have hacked together a tiny testcase which lists a directory and > evaluates the inode numbers using readdir and lstat. I would be > interested to see the output for some smaller directories on shares > using pre-3.0 Samba versions. This should also simplify testing in > general. > > > Corinna > > > SNIP = > #include > #include > #include > #include > #include > > int > main(int argc, char **argv) > { > DIR *dirp; > int fd; > struct stat sb; > struct dirent *d; > > if (argc > 1) > { > dirp = opendir(argv[1]); > if (dirp) > { > while (d = readdir (dirp)) > { > char buf[256]; > struct stat st; > > strcpy (buf, argv[1]); > if (buf[strlen (buf) - 1] != '/') > strcat (buf, "/"); > strcat (buf, d->d_name); > lstat (buf, &st); > printf ("%24s d: %18.18llu, st: %18.18llu\n", > d->d_name, d->d_ino, st.st_ino); > } > closedir (dirp); > } > else > printf("dirp = NULL\n"); > } > return 0; > } > SNAP = > > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > -- 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/
Re: Find not working w/ Samba drive
> Can you send an `ls -i' output from a small directory on that share? > I'm still looking into some way to distinguish old and new versions of > Samba... Here's one from the root of the share: V:\>ls -i 3874166512 Mtn Bike Stuff 3867846400 Mystic.Industries 3877471064 app.data 3877337880 apt-cache 3876944672 bbtc 3877335048 clipart 3877161752 consulting 3877112600 datasheets 3877158920 davinci.winxp.save.080204 3877109768 downloads 3877363720 dvds to burn 3874903592 eagle.projects 3876961056 email 3877239568 embedded.tools 3877366544 find.trace.txt 3877468936 floppy.collection 3877111344 images 3877357080 linux.dev.documention 3877320232 malcolm.jpg 3867867944 mp3 3870878488 palm.stuff 3875819528 software.install.and.config.notes 3877303832 software.to.install.xls 3870197304 sounds 3877240840 stuff 3877361168 sygcheck.output.txt 3879189288 tmp 3870191624 utils 3876958216 vss.database And here's one from a subdirectory: V:\vss.database>ls -i 3775978248 data 3877471048 temp 3877153536 users.txt 3877175304 srcsafe.ini 3788795912 users Could you cc your response to rowol at mysticind dot com ? I'm not subscribed to the Cygwin list and sometimes haven't had time to look at the list archives. Thanks! Ross -- 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/
Re: Find not working w/ Samba drive
Eric, Thanks for the reply. I'm not subscribed to the list and have been really busy the last few days, so I haven't had time to look through the list archive and see if there was a reply. I'll send what Corinna asked for... Ross === > In case you aren't subscribed to the cygwin list, the maintainer of the > cygwin code that interacts with samba gave the following reply to the > list, asking for more information from you. I would really like to see > this problem resolved for you, as it probably affects other users of samba > and cygwin. > > ---- Original Message ---- > Subject: Re: Find not working w/ Samba drive > Date: Tue, 11 Apr 2006 11:30:27 +0200 > From: Corinna Vinschen > Reply-To: cygwin AT cygwin DOT com > To: cygwin AT cygwin DOT com > References: <[EMAIL PROTECTED]> > > On Apr 6 03:16, rowol wrote: >>C:\tmp>getvolinfo //maxwell/data.vault >>rootdir: \\maxwell\data.vault\ >>Volume Name: >>Serial Number : 304588959 >>Max Filenamelength : 255 >>Filesystemname : >>Flags: >> 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 : FALSE >> 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 >> >> >> ... >> >>%smbd -V >>Version 2.2.4 >> >> >> Yes, I know this is probably an extremely old Samba version. Updating >> the >> server is currently not an option due to time constraints (presently I >> have a workaround), but it might be in the future. > > Can you send an `ls -i' output from a small directory on that share? > I'm still looking into some way to distinguish old and new versions of > Samba... > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- 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/
RE: Find not working w/ Samba drive
Hi Corinna, Corinna Vinschen wrote on Tuesday, April 11, 2006 2:14 PM: > On Apr 11 12:45, J?rg Schaible wrote: >> Corinna Vinschen wrote on Tuesday, April 11, 2006 11:54 AM: >> >>> On Apr 11 11:40, J?rg Schaible wrote: Hi Corinna, Corinna Vinschen wrote on Tuesday, April 11, 2006 11:30 AM: > Can you send an `ls -i' output from a small directory on that > share? I'm still looking into some way to distinguish old and new > versions of Samba... Same situation here: >> >> [snip] >> >>> >>> Samba version? >> >> 3.0.14a > > Did you try a recent Cygwin snapshot? Does that happen for all > directories on the share or just for some? Which find version are > you using? Sorry to waste your time, find is working for me now. The problem has been located between the ears. So you have to wait for the original poster to respond. - Jörg -- 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/
Re: Find not working w/ Samba drive
On Apr 11 12:45, J?rg Schaible wrote: > Corinna Vinschen wrote on Tuesday, April 11, 2006 11:54 AM: > > > On Apr 11 11:40, J?rg Schaible wrote: > >> Hi Corinna, > >> > >> Corinna Vinschen wrote on Tuesday, April 11, 2006 11:30 AM: > >> > >>> Can you send an `ls -i' output from a small directory on that share? > >>> I'm still looking into some way to distinguish old and new versions > >>> of Samba... > >> > >> Same situation here: > >> > > [snip] > > > > > Samba version? > > 3.0.14a Did you try a recent Cygwin snapshot? Does that happen for all directories on the share or just for some? Which find version are you using? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
RE: Find not working w/ Samba drive
Corinna Vinschen wrote on Tuesday, April 11, 2006 11:54 AM: > On Apr 11 11:40, J?rg Schaible wrote: >> Hi Corinna, >> >> Corinna Vinschen wrote on Tuesday, April 11, 2006 11:30 AM: >> >>> Can you send an `ls -i' output from a small directory on that share? >>> I'm still looking into some way to distinguish old and new versions >>> of Samba... >> >> Same situation here: >> [snip] > > Samba version? 3.0.14a - Jörg -- 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/
Re: Find not working w/ Samba drive
On Apr 11 11:40, J?rg Schaible wrote: > Hi Corinna, > > Corinna Vinschen wrote on Tuesday, April 11, 2006 11:30 AM: > > > Can you send an `ls -i' output from a small directory on that share? > > I'm still looking into some way to distinguish old and new versions > > of Samba... > > Same situation here: > > [1] [EMAIL PROTECTED] ~/src/getvolinfo > $ getvolinfo //es3/maven > rootdir: \\es3\maven\ > Volume Name: > Serial Number : 5178559 > Max Filenamelength : 255 > Filesystemname : > Flags: > 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 : FALSE > 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 > > [1] [EMAIL PROTECTED] ~/src/getvolinfo > $ ls -ail //es3/maven > insgesamt 2048 >4937601777666309 drwxrwxr-x 6 0 Nov 9 09:03 . > 6561102569460228965 dr-xr-xr-x 1 jos users0 Apr 11 11:36 .. >1124173329991941 drwxrwxr-x 1 0 Mar 16 07:55 docs >1124169035024645 drwxrwxr-x 1 0 Mar 31 10:23 repo >4828329219721477 drwxrwxr-x 5 0 Apr 7 14:06 repo-m2 >7572358055332101 drwxrwxr-x 4 0 Apr 7 16:26 > repo-m2-snapshot Samba version? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
RE: Find not working w/ Samba drive
Hi Corinna, Corinna Vinschen wrote on Tuesday, April 11, 2006 11:30 AM: > Can you send an `ls -i' output from a small directory on that share? > I'm still looking into some way to distinguish old and new versions > of Samba... Same situation here: [1] [EMAIL PROTECTED] ~/src/getvolinfo $ getvolinfo //es3/maven rootdir: \\es3\maven\ Volume Name: Serial Number : 5178559 Max Filenamelength : 255 Filesystemname : Flags: 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 : FALSE 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 [1] [EMAIL PROTECTED] ~/src/getvolinfo $ ls -ail //es3/maven insgesamt 2048 4937601777666309 drwxrwxr-x 6 0 Nov 9 09:03 . 6561102569460228965 dr-xr-xr-x 1 jos users0 Apr 11 11:36 .. 1124173329991941 drwxrwxr-x 1 0 Mar 16 07:55 docs 1124169035024645 drwxrwxr-x 1 0 Mar 31 10:23 repo 4828329219721477 drwxrwxr-x 5 0 Apr 7 14:06 repo-m2 7572358055332101 drwxrwxr-x 4 0 Apr 7 16:26 repo-m2-snapshot - Jörg -- 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/
Re: Find not working w/ Samba drive
On Apr 6 03:16, rowol wrote: >C:\tmp>getvolinfo //maxwell/data.vault >rootdir: \\maxwell\data.vault\ >Volume Name: >Serial Number : 304588959 >Max Filenamelength : 255 >Filesystemname : >Flags: > 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 : FALSE > 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 > > > ... > >%smbd -V >Version 2.2.4 > > > Yes, I know this is probably an extremely old Samba version. Updating the > server is currently not an option due to time constraints (presently I > have a workaround), but it might be in the future. Can you send an `ls -i' output from a small directory on that share? I'm still looking into some way to distinguish old and new versions of Samba... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
Re: Find not working w/ Samba drive
> What is needed instead is the output of 'cygcheck -svr' > > See attachment below > Also, Corinna would like to see more details about the Samba drive > you are connecting to. What version is it, and what is the output > of the program mentioned in this email? > http://sourceware.org/ml/cygwin/2006-01/msg00818.html > > C:\tmp>getvolinfo //maxwell/data.vault rootdir: \\maxwell\data.vault\ Volume Name: Serial Number : 304588959 Max Filenamelength : 255 Filesystemname : Flags: 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 : FALSE 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 ... %smbd -V Version 2.2.4 Yes, I know this is probably an extremely old Samba version. Updating the server is currently not an option due to time constraints (presently I have a workaround), but it might be in the future. > This is because of the changing inode bug in older versions of > Samba. Corinna checked in a patch on March 31st that tries to > tell various Samba versions apart, have you tried the 20060403 > snapshot yet? Yep, as I mentioned in my previous email, I tried the cygwin1.dll from both the 3/29 and 4/3 snapshots. Both DLLs had the same problem as the current release. Ross Cygwin Configuration Diagnostics Current System Time: Mon Apr 03 21:24:25 2006 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: c:\gnuwin32\bin c:\cygwin\bin C:\Perl\bin\ C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem c:\bat c:\cygwin\bin c:\utils C:\OrCAD10\tools\pcb\bin C:\OrCAD10\tools\specctra\bin C:\OrCAD10\tools\bin C:\OrCAD10\tools\fet\bin C:\OrCAD10\tools\jre\bin C:\OrCAD10\tools\Capture c:\Xilinx\bin\nt C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin C:\Program Files\Microsoft Visual Studio\Common\Tools C:\Program Files\Microsoft Visual Studio\VC98\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 1003(rowol)GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1003(rowol)GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS Path = 'c:\gnuwin32\bin;c:\cygwin\bin;C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\bat;c:\cygwin\bin;c:\utils;C:\OrCAD10\tools\pcb\bin;C:\OrCAD10\tools\specctra\bin;C:\OrCAD10\tools\bin;C:\OrCAD10\tools\fet\bin;C:\OrCAD10\tools\jre\bin;C:\OrCAD10\tools\Capture;c:\Xilinx\bin\nt;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin' A2PS_CONFIG = 'c:\gnuwin32\etc\a2ps.cfg' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' APPDATA = 'C:\Documents and Settings\rowol\Application Data' CDSROOT = 'C:\OrCAD10' CDS_LICENSE_FILE = '[EMAIL PROTECTED]' CDS_LIC_FILE = '[EMAIL PROTECTED]' CLIENTNAME = 'Console' CommonProgramFiles = 'C:\Program Files\Common Files' COMPUTERNAME = 'DAVINCI' ComSpec = 'C:\WINDOWS\system32\cmd.exe' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Documents and Settings\rowol' include = 'C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual Studio\VC98\include' INFOPATH = 'c:/gnuwin32/info' LANG = 'EN' LANGUAGE = 'EN' lib = 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual Studio\VC98\lib' LMC_HOME = 'c:\Xilinx\smartmodel\nt\installed_nt' LOGONSERVER = '\\DAVINCI' MSDevDir = 'C:\Program Files\Microsoft Visual Studio\Common\MSDev98' NUMBER_OF_PROCESSORS = '2' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel' PROCESSOR_LEVEL = '15' PROCESSOR_REVISION = '0209' ProgramFiles = 'C:\Program Files' PROMPT = '$P$G' SESSIONNAME = 'Console' SystemDrive = 'C:' SystemRoot = 'C:\WINDOWS' TEMP = 'C:\DOCUME~1\rowol\LOCALS~1\Temp' TMP = 'C:\DOCUME~1\rowol\LOCALS~1\Temp' TMPDIR = 'c:\tmp' USERDOMAIN = 'DAVINCI' USERNAME = 'rowol' USERPROFILE = 'C:\Documents and Settings\rowol' WGET
Re: Find not working w/ Samba drive
mysticind.com> writes: > I'm having a problem with FIND not working on WinXP with a Samba drive on > an older FreeBSD server. Thank you for finally posting to cygwin (see http://lists.gnu.org/archive/html/bug-findutils/2006-04/msg2.html for the original thread at bug-findutils, and for my pleas to report this bug to the correct list). > > V:\>find --version > GNU find version 4.3.0 > Features enabled: O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS > > The cygwin1.dll is version 1.5.19-cr-0x5ef/2006-01-20 13:28 However, you are still missing some information. Attaching a huge strace without being asked by one of the cygwin developers is often a waste of bandwidth, since they already know about the changing inode bug present with some versions of remote Samba drives, and can already reproduce the problem. What is needed instead is the output of 'cygcheck -svr', as detailed here: > Problem reports: http://cygwin.com/problems.html Also, Corinna would like to see more details about the Samba drive you are connecting to. What version is it, and what is the output of the program mentioned in this email? http://sourceware.org/ml/cygwin/2006-01/msg00818.html > Find says the directories do not exist: > > V:\>find > . This is because of the changing inode bug in older versions of Samba. Corinna checked in a patch on March 31st that tries to tell various Samba versions apart, have you tried the 20060403 snapshot yet? Although I maintain the cygwin findutils port, I am unable to help further on this issue since I don't have access to a Samba drive. -- Eric Blake volunteer cygwin findutils maintainer -- 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/