updatedb not updating to include external drive
On 05/04/2008, Nils Kassube <firstname.lastname@example.org> wrote:
> Jon Grant wrote:
> > I'm unable to get updatedb to index my external drive. Any ideas?
> > I edited /etc/updatedb.conf to not exclude /media :-
> > # paths which are pruned from updatedb database
> > PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs"
> > export PRUNEPATHS
> Check if your external drive uses one of the file systems mentioned for
> PRUNEFS in /etc/updatedb.conf.
Hmm, I don't think it is excluded:
Global options for invocations of find(1)
# filesystems which are pruned from updatedb database
PRUNEFS="NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs
coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs
# paths which are pruned from updatedb database
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs"
# netpaths which are added
# run find as this user
# cron.daily/find: run at this priority -- higher number means lower priority
# (this is relative to the default which cron sets, which is usually +5)
# cron.daily: I/O priority
# 1 for real time, 2 for best-effort (3 for idle is only allowed for root!)
# 0-7 (for IONICE_CLASS 1 and 2 only), 0=highest, 7=lowest
it is mounted as ext3
/dev/sdb1 on /media/external type ext3 (rw,noexec,nosuid,nodev,user=now3d)
iin /etc/fstab it is like this:
/dev/sdb1 /media/external auto defaults,user,noexec 0
^ but it doesn't mount automatically when I boot my laptop, is there a
way to get it to do that? Will that still work if the external USB2
drive is not plugged in?
thanks for the tips
Kind regards, Jon
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users