Baobab should not scan NFS mounted directories by default

Bug #585314 reported by Bermuda
This bug affects 18 people
Affects Status Importance Assigned to Milestone
baobab (Ubuntu)

Bug Description

Binary package hint: baobab

Binary: Baobab 2.28.1

Today, Ubuntu "introduced" me to baobab after the free space on my root partition went under ~500MB. I thought nice tool and let it analyze my "filesystem". However, my /home is mounted from an NFS server and contains the home directories of many students and teachers. Thus, I aborted the baobab analyzer after some minutes. Looking for a way to prevent this I checked the preferences - but there I cannot prevent baobab from scanning remote mounted directories.

1. Do not scan remote directories by default (similar to find -xdev ) and include an option in the preferences.
2. Give the user the ability to exclude certain directories

Tags: baobab nfs
Revision history for this message
Chris Moore (dooglus) wrote :

I have a similar problem. I have a remote windows share mounted inside my home directory. Whether I ask baobab to scan my home or my root filesystem (my /home is part of /, not its own partition), the scan always goes off into the remote windows share.

If I'm asking for a filesystem scan of /, it definitely shouldn't scan remote windows shares (mounted using smbfs).

An option like find's -xdev would be useful, and should be the default.

Revision history for this message
mattismyname (mattismyname) wrote :

Agreed. This behavior makes baobab nearly useless for anybody with cifs or other mounts inside the partition they want to scan. Ideally, the preferences window would show all mounts and allow you to de-select anything you didn't want scanned. As it is, the only device shown in the preferences window is my local disk.

Revision history for this message
mattismyname (mattismyname) wrote :

I found a workaround:
1) Run gconf-editor
2) Go to Apps->Baobab->Properties
3) Add a new item to skip_scan_uri_list: file:///path/to/mount/you/want/ignored

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in baobab (Ubuntu):
status: New → Confirmed
Revision history for this message
quadra (info06) wrote :

Thanks for the workaround, however on ** Xubuntu ** it doesn't work for me, as gconf-editor is not there and if I install it, the key does not exist :-(

Revision history for this message
vspider (sailorvspider) wrote :

Problem still exist on Linux Mint 9 & 12? based on ubuntu 10.04 & 11.10 respectively. Please fix!

Revision history for this message
Mikhail Glagolev (mike-glagolev) wrote :

Agree, the bug affects also Ubuntu 12.04 and there is no relevant key in gconf-editor.

Revision history for this message
Thierry B. (thierrybo2) wrote :

You have to use dconf editor now, not gconf editor :


excluded-uris : ['file:///media/']

Revision history for this message
Bert Vorenholt (bert-vorenholt-nl) wrote :

Thanks for the direction Thierry.

I had to type ['"file:///media/"'] tough (needed the extra double-quotes).
Running 14.04

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.