bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: updatedb issue


From: Bernhard Voelker
Subject: Re: updatedb issue
Date: Thu, 25 Oct 2018 13:17:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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

[Prev in Thread] Current Thread [Next in Thread]