LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake 10.0 find files option. (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-10-0-find-files-option-196914/)

daan0106 06-23-2004 03:32 PM

Mandrake 10.0 find files option.
 
I've been running Mandrake 10.0 for a week now and it has been a great experience.
Though the search/find option never seems to work for me, and it most cases using it ends up in a crash. I've used the command ´updatedb' as normal user or root and experiemented with the ´use index file' option but all no effect.

It isnt such a big deal, last few days i have re-installed a few times but a clean install doesnt take away the problem.

Right now however i really need to use it.
I installed wine with the Mandrake 10.0 RPMS located on the 2nd CD.
However i didn´t configure anything, and went straight to mounting a CD and installing counter-strike. The installation went fine and to play it i just mounted the CD and ran the game.
But i can't find the directory that wine installed counter-strike in. I´ve searched everywhere for it. The standard wine config file uses /mnt/windows as windows drive, however that is actualy my windows XP installation.
When i use ´whereis' wine it gives me a number of directories, i've checked them all but non have a windows dir, or drive_c that is normaly used by wine.
Space in my home dir is limited and i want to remove the game, just can't find it anywhere.
Everything was installed in c:\sierra.
/mnt/windows doesn´t have a sierra dir so i don't think its installed there.
If i could use the find file option in KDE i could try and located windows, drive_c or maybe the sierra dir and remove it, because its taking put like 1gb of space hehe.

If anyone has any ideas on how to fix my problem i would gladly appriciate help!
Thx in advance,

Daan

Micrll 06-23-2004 04:07 PM

Same here
 
I have the same problem with the find feature. But also how do i configure wine to run i cant seem to figure out the command? :scratch:

daan0106 06-23-2004 05:29 PM

wine [application name] without the [ ] of course.

when u download the wine rpms u can also download a proggy called winesetuptk, its a GUI config program, everything is available on sourceforge.net

Micrll 06-23-2004 05:55 PM

oh ok i just installed it via the second install disk for mandrake. Thanks

Also it seems like mandrake 10 is causing quite a few problems like the find file problems.

Micrll 06-23-2004 06:06 PM

This may help

start a console and type in
Code:

slocate
if it says that the database needs to be built start a root console and type in
Code:

updatedb
you may want to navagate to where the database is, i am not sure. It take a while but once it finishes go back to a normal console and type in
Code:

slocate sierra
From what i can tell it will not search a windows drive but the rest of the drive can be searched. Hope this helps. Let me know if it does.

daan0106 06-23-2004 07:10 PM

that worked :)

Found all the lost files, thx for the tip!
Is there a way to load the updatedb command in the kernel? Or to enable it everytime file system gets mounted at startup? that would be handy and i wouldnt mind the extra startup time, mdk is running really fast on my 2.4ghz laptop

Micrll 06-23-2004 09:42 PM

I actually don't know i read your post then i read a few more and found out about slocate and then tried it and reposted. I actually don't know but that is not a bad idea sense the find feature does not work. Mabye someone else knows?

scuzzman 06-23-2004 10:32 PM

you'll want to put it in your .bash_profile for root

as for the slocate command, very useful
you could've also used this:
Code:

[user@domain ~]$ find / sierra&
a whole bunch of information will scroll by without the & at the end, this tells it to do it in the background
to check its status, type
Code:

[user@domain ~]$ jobs
hope this helps!

lrt2003 06-24-2004 01:25 AM

Consider using:

find / -name [filename] 2 < /dev/null

in an xterm or similar.

man find


All times are GMT -5. The time now is 02:41 AM.