That media is another hard disk in the computer. What is the way to locate things there?
Asked
Active
Viewed 48 times
1
Aquarius_Girl
- 1,235
- 6
- 27
- 48
-
`locate` uses a database that is usually updated once per day. When did you mount that drive? – n.st Oct 21 '16 at 03:54
-
Okay, @n.st I will use updatedb and then try again. Thanks. – Aquarius_Girl Oct 21 '16 at 03:56
1 Answers
3
locate uses a database that is usually updated once per day (e.g. by /etc/cron.daily/mlocate), so changes and newly mounted filesystems won't show up immediately.
Run updatedb to trigger an immediate re-scan.
Additionally, /media and similar "volatile" paths are usually excluded — look for PRUNEPATHS in /etc/updatedb.conf and adapt it to your needs.
n.st
- 7,918
- 4
- 35
- 53
