Updatedb include the path pointed by symbolic link
1
vote
1
answer
626
views
I have created
mlocate
database with the contents of a particular folder. I see that the updatedb
doesn't include the path pointed by the symbolic links in the database.
How can I include the path pointed by the symbolic links in the database?
**Surprisingly**: *mlocate* has a default option -L
or --follow
that follows trailing symbolic links when checking file existence (default).
> What purpose does it serves when *updatedb* doesn't include symlinks!
---
References:
- [updatedb(8): update database for mlocate - Linux man page](https://linux.die.net/man/8/updatedb)
- [mlocate - Gentoo Wiki](https://wiki.gentoo.org/wiki/Mlocate)
Asked by Porcupine
(2156 rep)
Jun 9, 2020, 09:33 AM
Last activity: Jun 18, 2024, 01:26 PM
Last activity: Jun 18, 2024, 01:26 PM