Ask Your Question
0

mlocate/updatedb doesn't include files /run/media.

asked 2014-01-19 16:36:57 -0600

sandeep gravatar image

updated 2014-01-19 16:37:17 -0600

Hi,

How can I direct mlocate/updatedb to include files on filesystem sdb2 mounted on /run/media/... to be included in the indexing. Currently, mlocated refuses to include those.

Thanks.
-Sandeep

edit retag flag offensive close merge delete

Comments

did so. works well.

sandeep gravatar imagesandeep ( 2014-01-19 17:55:38 -0600 )edit

You should use the tick mark to indicate that the answer is right if you found it useful

mether gravatar imagemether ( 2014-01-19 20:33:15 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-01-19 17:17:37 -0600

If you you want these files to be indexed and consistently available, why not just create an fstab entry for them? It doesn't make sense to add transient, temporary storage to the locate database.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-01-19 16:36:57 -0600

Seen: 188 times

Last updated: Jan 19 '14