Don't index /mnt/{c,wsl} in WSL

Bug #1947877 reported by Sandro
10
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.conf``.

Tags: fr-2257
Sandro (supersandro2000)
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
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mlocate (Ubuntu Jammy):
status: New → Confirmed
Changed in mlocate (Ubuntu):
status: New → Confirmed
Changed in plocate (Ubuntu Jammy):
status: New → Confirmed
Changed in plocate (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.