Don't index /mnt/{c,wsl} in WSL
Bug #1947877 reported by
Sandro
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mlocate (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned | ||
plocate (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
plocate by default indexes /mnt/{c,wsl}/ in WSL. /mnt/c contains the entire host filesystem which has includes your windows installation and all installed programs which you normally do not want to find with locate. Also /mnt/wsl is more or less a link to your wsl root filesystem which can be found under / already.
To ignore it ``/mnt/c`` needs to be added to ``PRUNEPATHS`` under /etc/updatedb.
summary: |
- Don't index /mnt/c in WSL + Don't index /mnt/{c,wsl} in WSL |
description: | updated |
tags: | added: rls-jj-incoming |
Changed in plocate (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
tags: | added: fr-2257 |
tags: | removed: rls-jj-incoming |
Changed in plocate (Ubuntu): | |
milestone: | ubuntu-22.04.1 → ubuntu-22.04.2 |
Changed in plocate (Ubuntu Jammy): | |
milestone: | ubuntu-22.04.1 → ubuntu-22.04.2 |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.