On 10/25/18 1:34 AM, Arnaud Jaspart wrote:
> Hello,
> 
> I use MobaXterm 10.8 b3652 (which is a cygwin client)
> 
> When I run updatedb, I get:
> [Arnaud Jaspart.DESKTOP-1ONLB8C] ➤ updatedb
> find: bad arg '-fstype'
> 
> I feel that it should successfully update the db of the local drive,
> correct?

Thanks for the report.

Something seems to be odd there. I cannot reproduce - here -fstype works fine:

  $ find . -maxdepth 0 -fstype ntfs
  .

  $ find --version | sed 2q
  find (GNU findutils) 4.6.0
  Packaged by Cygwin (4.6.0-1)

This is how 'updatedb' invokes 'find' here:

  /usr/bin/find / ( -fstype 9P -o -fstype NFS -o -fstype afs -o -fstype autofs 
-o -fstype cifs -o -fstype coda -o -fstype devfs -o -fstype devpts -o -fstype 
ftpfs -o -fstype iso9660 -o -fstype mfs -o
-fstype ncpfs -o -fstype nfs -o -fstype nfs4 -o -fstype proc -o -fstype shfs -o 
-fstype smbfs -o -fstype sysfs -o -type d -regex
\(^/afs$\)\|\(^/amd$\)\|\(^/proc$\)\|\(^/sfs$\)\|\(^/tmp$\)\|\(^/usr/tmp$\)\|\(^/var/tmp$\)
 ) -prune -o -print0

It seems that your 'updatedb' invokes another 'find'.
Would you check, please?

Have a nice day,
Berny

Reply via email to