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

Re: [MiNT] NFS server



Hello David,

>> -findutils/updatedb: How can i exclude drive A:\ and P:\ and perhaps some
>> folders from the updatedb-scan? What's the correct input syntax here?
>>

> "updatedb --prunepaths='/a /p'" should work, what's exactly happening?
> why do you think it doesn't work?
>
> If you think it doesn't work because you're getting something like
> this when running updatdb:
>
> "find: /a Not a directory"
>
> This doesn't mean that updatedb is trying to add /a contents in the
> database. First "find"  tries to get information from /a but if no
> disc is inserted doesn't find any and complains. The decision to
> include /a contents comes later.

Yes, you're right. That is what i wondered about! Thank you for the
explanation!

> The problem that i have when including prunepaths is that i'm getting
> "bus error" when updatedb is finish, but i think the job is done with
> the database.

Same thing here. This was the main reason i thought there is a bug.
This should be fixed anyway.

> Another thing, don't trust locate to search in your gemdos partitions,
> updatedb uses "find" command without the "-noleaf" option so it
> doesn't include all files an directories in the database. For ext2
> partitions works fine.

Yes, i know. On GEMDOS partitions, i normally use TeraDesk's search or
FINDER.
Thank you again.

Lars