LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-31-2004, 10:52 AM   #1
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
updatedb for Win32


Does anyone know if their is an updatedb style file database that can be used on WinXP to search Linux file servers? My company has a linux file server that has about 40 Gigs of data. To search something they currently use the Windows Search. This causes a lot of extra strain on the file server and is S L O W!

Just seeing whats available? Thanks
 
Old 03-31-2004, 11:38 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, obviously they need a) either console access
to the file-server (e.g. via putty) or b) you'd have to
write a little daemon listening on Linux and an app
for Windows that talks to it.

I don't think there's an Off-the-shelf solution to this.


Cheers,
Tink
 
Old 03-31-2004, 11:44 AM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
Not 10 minutes after I posted I was sent this link.

Locate 3.0 Alpha

It works well once you figure how to get it setup!
 
Old 03-31-2004, 01:28 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
That's not the same thing, though. You'll still
cause network traffic when you update it. My
understanding was that you want to exploit
the locate-database on the samba system?



Cheers,
Tink
 
Old 03-31-2004, 01:58 PM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
That would be even better, but this may work for me, although its still unclear whether it "updates" the database everytime I run updatedb, or just start a new search. If it does just do a complete new search (which I'm finding it does in deed!) then its not going to help to its max potential. I do multiple searches on data sometimes in the thousands of separate file names. I don't want to have to search the entire server everytime I do a search and I can't very well put a thousand file names in the XP search reliably either.

It's not perfect, but it will still help becuase I can update it once, then run my searches, rather than running 100 full searches.

Thanks for your feedback.
 
Old 03-31-2004, 02:12 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, if you have a programmer who knows Qt
at hand, it would be a task of maybe 1 or 2 hours
of programming to write an interface for the samba
machine. All you need is to open a specific port
and use QT's web-server functionality ... then
the windows client could use IE http://samba-machine:<assigned-port>
and be presented with a query-field for a text string....

Use that string with a call to system() to find matching
files and display the matches ...



Cheers,
Tink
 
Old 03-31-2004, 02:23 PM   #7
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
You are right. Although I'm not a Qt programmer, you've okay'ed system() calls so a quick PHP script would suffice too. I have a feeling some paranoid OBSD user somewhere isn't going to like that idea though.

I just may check in to that anyway. I'm kind of kicking myself for not thinking of that earlier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why updatedb is running by itself ??? small_boy22 Slackware 2 05-30-2005 11:10 AM
What's the difference between 'updatedb' and 'updatedb&' ?? DreameR-X Linux - Newbie 4 12-18-2004 04:36 PM
updatedb mikedeatworld Linux - Software 21 09-16-2004 10:59 PM
updatedb? nexx_au Fedora 2 04-06-2004 10:17 PM
updatedb pezplaya Fedora 2 01-05-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration