Slackware :: Updatedb Run By Itself Or Only Manually?
Jul 10, 2011
I want to use updatedb to index an external hard disk drive. I mount the drive under /media/external and removed '/media' from the PRUNEPATHS in /etc/updatedb.conf file.This works and I can search for files when the drive is not connected using slocate. However it takes sometime to index the drive and I do not want updatedb to run on its own (if it ran while external is disconnected well...) and seeing as the box in question is on 24/7 if it should run by itself it will most certainly ruin the slocate db.I was thinking of plugging the drive in and running updatedb again, once completed will this work
Code:
# slocate '/media/external' > ext_file_list
and then to find a file even when external is disconnected
[code]...
View 3 Replies
ADVERTISEMENT
Feb 1, 2010
when I opened /etc/updatedb.conf it says there in the file that one should make ones own updatedb.local. But how, exactly? Presumably I create /etc/updatedb.local but what do I put into that? With all those $-signs I'm pretty much lost. Could anyone post his/her example of a PRUNE_FS statement or point me to some reference where I can read up on this
View 10 Replies
View Related
Apr 11, 2011
I'm using Slackware 13.1. There are some software I need that not presented in repos (e.g GIS software and utilities), so I create SlackBuilds and build them manually.
When compiling some libraries I get problems with libdl - the dynamic linker library. As I understand, this library absolutely required by some other libs.
For some odd reason, it seems that this library is automatically supported on other distros (e.g. Debian), but not on Slackware. As result ./configure script can't find necessary libs and fails with messages like
Code:
checking for sqlite3_prepare_v2 in -lsqlite3... no
configure: error: 'libsqlite3' is required but it doesn't seems to be
installed on this system.
[Code]....
View 2 Replies
View Related
Nov 14, 2010
I'd like to be able to manually mount a USB stick in console (before X is started) and I can't seem to find a good way to do that. I'm not too smart about HAL and UDEV and I don't want to undo the auto mount feature when X is running but still be able to manually mount and unmount as necessary; like for installing patches and packages after an install or version upgrade. It seems like there should be an entry in /etc/fstab and a directory in /mnt or /media but danged if I can find something that points the way.
View 12 Replies
View Related
Aug 10, 2010
My Slackware64 13.1 system is running off a notebook that does not leave the desk often so I stay connected via a ethernet cable. Recently I set up the wireless configuration for my home network and while I would like to have it so that it automatically goes to the wireless interface when the wired is down, I do not think that is possible without wicd or some other network manager. Anyway, whenever I start up Slackware both the wired and wireless interfaces activate and acquire their own IP addresses. What I would like is for the wireless configuration to remain dormant so that all I would have to do is issue "ifconfig wlan0 up" to turn on the wireless interface/connection. Is this possible? As it stands I have to manually issue the "ifconfig wlan0 down" to turn it off once the system boots up and I log in.
View 4 Replies
View Related
Feb 1, 2011
I am trying to connect to the net wirelessly using Slax off my USB stick. I did the best I could using the wireless configure tool but Firefox will not surf - no connection. The configure tool shows that I am 'partly' connected in that it shows signal strength in green but I noticed that there is no entry for IP address. Am I suppose to know this and enter it? In LMDE, I see the IP as 192.168.2.10 and other addresses. Do I need to enter this stuff?
View 5 Replies
View Related
Mar 21, 2009
I have been trying to find a solution for my problem but I can't find it.
Does anyone know how I can add my external HD (USB 400GB) to the "updatedb" so I can find files in my hard drive? code...
View 5 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 26, 2010
kernel 2.6.21.5, GNU (Slackware 12.0).updatedb: Secure Locate 3.1 - Released March 7, 2006.
Cdrecord-ProDVD-Clone 2.01.01a23.Some script in my system runs updatedb (in the background) on a periodic basis. I am wondering what would happen if it runs while I am burning a CD/DVD, a thing I usually do with cdrecord. Cannot this cause a buffer underrun
View 2 Replies
View Related
Jan 21, 2010
I would like an NFS drive to be added to the drives that are updated by updatedb. Here is my update.conf (default values):
Code:
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".hg .svn"
PRUNEPATHS = "/afs /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp"
As far as I can see, there is no option explicitly excluding NFS drives. Neither, as far as my perusal of man updateddb.conf is there any way to telling updatedb to include a given path, only exclude one.getting it to include a path on an NFS drive?
View 1 Replies
View Related
May 17, 2010
I have a WebDav (davfs2) mounted in /home/myuser/mydavmountI would like to prevent updatedb from indexing the content of the mounted drive. I tried editing /etc/updatedb.conf and setting the following:
Code:
PRUNEPATHS="/tmp /var/spool /media /home/myuser/mydavmount"
also tried these:
[code]...
View 2 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
May 31, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
bash-3.1$ cat /etc/cron.daily/slocate
#!/bin/sh
[code]...
View 10 Replies
View Related
Apr 16, 2010
I've used updatedb to catalog a remote XP drive as follows:
Code:
sudo mkdir /mnt/xpcdrive
sudo mount //winxp/c$ /mnt/xpcdrive -o username=administrator,password=mypassword
[code]...
View 2 Replies
View Related
Mar 20, 2011
On fedora system I do a updatedb command and thereafter a simple locate to look for files and softwares. But on my ubuntu 10.10 install, when I do a updatedb, I get Quote:nishith@nishith-Aspire-4720:~$ updatedbupdatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'Also locate doesnot do anything, just gives back the shell prompt! what could be the issue here? BTW my install is on a usb 8 gb stick
View 2 Replies
View Related
Mar 8, 2010
I am trying to install the locate and the updatedb command as they were not intially installed during the desktop installation of linux. How do I do this
View 1 Replies
View Related
Aug 21, 2010
So when I upgraded to Slack64 13.1 on my asus MB homebrewed desktop and Slack 13.1 on my compaq presario a900 laptop, I started having issues with the xterm title (in Terminal--not Konsole) being too dynamic. By "too dynamic" I mean that I can't actually change the title. The dynamic title (from my .bashrc) is basically just pwd. Whenever I try to set the title (via terminal->set title (menu)), I changes it for a split second, and then reverts back to the dynamic title.
This is merely a petty annoyance, so to get around it, I added an xtitle function that I grabed somewhere online (just echos "�33]0;$*�07"). So for nano-ing some file, I'd type:xtitle some_file.txt; nano some_file.txt
That works just fine (kind of annoying to type though). running xtitle alone won't actually change the name either though (I'm pretty sure it's the same command as what terminal does anyway). That is, running: xtitle some_file.txt
changes the title for a split second, and the reverts back to my old pwd.What I really want is to have it dynamically name it "some_file.txt" whenever I use nano, but that appears to be a functionality of zsh (with the preexec() fxn).I'm wondering if anyone else has had this problem, and if you have a fix for it.
View 3 Replies
View Related
Aug 15, 2010
While I was installing some packages, the power in my street went out (uncleanly killing my system) ... unfortunately Kpackage was open at the time of the power outage. Now when I try to use KPackage, I get "Login Problem, Please Login Manually" ... which does not allow me to login using either the root or user's password. I have rebooted my computer many times and have even run a 'reiserfsck /dev/*** --fix-fixable' on my system, which did not repair the problem.
I have researched this error, but have only found responses that people suggest changing the KPackage behaviour from 'su' to 'sudo' ... ; while this does work, it feels like a 'putting-a-band-aid-over-a-warning-light-so-I-can't-see-the-warning-light-anymore' kind of 'fix?' which isn't good as it would enable anyone using the system to add or remove packages without thought or consequence. What I would prefer to do is actually fix the problem so that proper root password entering is again required to add or remove packages, so my question is:
1. Does anyone know if KPackage 'locks' out a file(s) on the system which may be preventing me from logging into the program correctly, and if so what and where the file(s) may be?
2. Can I delete any kpackage (profile?) file to gain normal login behaviour again?
3. Is this a permissions error?, has something in users/groups? been broken that I can look into?
4. how I may be able to properly repair this KPackage login problem on my system?
View 6 Replies
View Related
May 23, 2010
Can "locate" or "updatedb" be set to print file names with white space properly escaped? For example, I want it to print, "/home/USER/My Files" and not, "/home/USER/My Files". I've googled around, read the man pages, checked the forum, and I'm still stuck.
View 2 Replies
View Related
Feb 2, 2010
The Network Manager on KDE gets DNS configuration from DHCP and sets it automatically, but I would like to use the Google Public DNS. If I overwrite /etc/resolv.conf with nameserver 8.8.8.8 it still resolves names with the old DNS (probably cached in memory) and, of course, even if it worked, it would be annoying having to do that every time I connect to a network.
I've noticed the Network Manager lets you specify a fixed DNS with the rest being taken from DHCP, but that's on a per network basis, and I would like to set it once for whichever network I connect to (if you're on the go with a laptop that becomes an issue).
View 1 Replies
View Related
Mar 17, 2010
I'm running Windows 7 on my desktop (But Ubuntu 9.10 on two laptops), and I have an odd problem.I backed up my system from one HDD to another HDD, and in the process the MBR of the destination drive got fouled up and now sees Windows Vista and Ubuntu (even though I never used anything Ubuntu - I assume the backup program used an ubuntu build).Is there any way No, I know there is. I had the answer once but lost it.HOW do I manually edit my MBR to remove the Ubuntu reference and rename Windows Vista to Windows 7? Please note Ubuntu was never dual booted, let alone installed at all, on the HDD in question.
View 2 Replies
View Related
Apr 16, 2010
A. I want to manually set the Window Clamp for my experiment.I came to know we can do that in net/ipv4/tcp_output.c::tcp_grow_window. I'm really confused with the flow. Even i tried in net/ipv4/tcp_output.c::tcp_select_window, but things are asusual.
B. Can I really improve the throughput by increasing the buffer space ? Do i have to go for netfileters or altering the existing data structure will do ?
View 3 Replies
View Related
Jan 23, 2011
how can i manually mount kingston usb stick under red hat ?
View 4 Replies
View Related
May 3, 2010
How do I manually add networkmanager to my ubuntu 9.1
View 7 Replies
View Related
Jan 5, 2016
How can i install font manually? Where would i put the .ttf fonts?
View 2 Replies
View Related
Apr 3, 2010
[URL]I was going through this tutorial linked above, but then when I got to the dmesg | grep -i portion, I thought for a moment and said to myself, "Wait, I don't have that kind of output.Which is true,
dmesg | grep -i "SCSI device" outputs
nothing
where
[code].....
View 1 Replies
View Related
Jan 18, 2011
I have a very old laptop its Pentium II with 64 mb ram and 5gb HD . I want to put Debian 5 on it. The problem is that it does not has a Ethernet card so I can not go online with it. It has one USB port though .I want download .deb files from (URL... ) and using my other PC and put them on usb stick and copy to that laptop and dpkg -i .
the problem is that I am a new user so I am confused how to do that as can mishandle depencies .For example if you were to manually install VLC in that laptop how would you that.
View 5 Replies
View Related
Jun 19, 2009
When I try to install fedora 11 from the Live CD I get the hwaddress error and cannot continue. As far as I know there is no fix for that other than installing from the full DVD, but I don't have the facility to do that.What I would like to know is if it is possible to install fedora manually for eg. create the partitions with something like fdisk and copy all the files over from the live disc to the hdd and then install grub to start fedora and use it as if it had been installed normally.
Sorry if this is a stupid question. In my head I have this idea that anaconda is some helper program to install fedora and that it should be possible to do it yourself with the right commands.
View 8 Replies
View Related
Feb 17, 2011
I did a search here & on the web & can't find a "fix" that works. I tried the start order thing & the restart thing & one other I forgot, but nothing works.Funny the RESTART one didn't work as I CAN manually start it OK, unless I didn't put the command in the right spot.I DID notice that there are a few BUGS reported on this but they all go back far enough that I'd think they would be fixed by now.I don't have to manually start this thing every time I want to use it?
View 14 Replies
View Related