what is wrong with updatedb

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: what is wrong with updatedb
On Thu, 1 Jan 2004, Michael Havens wrote:

> root@bmike1:/home/knoppix# updatedb
> /usr/bin/find: error in /etc/mtab: none: No such file or directory


Maybe try using updatedb options to choose which paths or filesystems
to skip.

> root@bmike1:/home/knoppix# jpico /etc/mtab
> /etc/mtab        Row 1    Col 1        0:22        Ctrl-G for help


Maybe just use "cat" next time.

> /dev/hda5 / ext3 rw,errors=remount-ro 0 0
> /dev/root.old /initrd ext2 rw 0 0
> none /proc proc rw 0 0
> devpts /dev/pts devpts rw,gid=5,mode=620 0 0
> /proc/bus/usb none usbfs rw 0 0
> capifs /dev/capi capifs rw,mode=0666 0 0
> /dev/hda1 /mnt/hda1 vfat rw 0 0
>
> This is probably where I make it so I can pull files out of hda1. Can I make
> it so I can copy files out of there but not write to the area?


Mount it read-only using "ro" instead of "rw". (Like in /etc/fstab.)

Jeremy C. Reed
http://www.reedmedia.net/