Results 1 to 3 of 3

Thread: How To Stop updatedb.mlocat? (Stops umount)

  1. #1

    How To Stop updatedb.mlocat? (Stops umount)

    How can I stop updatedb.mlocat? It stopped me unmounting my SD card last night.

    (kill -9 did not work)

  2. #2
    Join Date
    Feb 2009
    Location
    Netherlands
    Beans
    784

    Re: How To Stop updatedb.mlocat? (Stops umount)

    Was it running as a cronjob? Check if updatedb is in /etc/cron.daily and either completely disable by 'sudo chmod -x /etc/cron.daily/updatedb' or make it run weekly by moving it into cron.weekly. It's not a bad idea to have it run regularly I guess.

  3. #3
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: How To Stop updatedb.mlocat? (Stops umount)

    "updatedb" (aka "updatedb.mlocate") is configured in the file /etc/updatedb.conf. In that file there is a PRUNEPATHS and a PRUNEFS variable that will allow you to control what directories or file systems are searched by updatedb. If you are mounting your SD card under /media, then the PRUNEPATHS variable should contain /media.

    The 10.04 Lucid default /etc/updatedb.conf contains:
    Code:
    PRUNE_BIND_MOUNTS="yes"
    # PRUNENAMES=".git .bzr .hg .svn"
    PRUNEPATHS="/tmp /var/spool /media"
    PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.
    glusterfs fuse.sshfs ecryptfs fusesmb devtmpfs"

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •