LinuxQuestions.org
Visit Jeremy's Blog.
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 08-26-2010, 04:21 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,383

Rep: Reputation: 76
Burning CD while updatedb is running.


kernel 2.6.21.5, GNU (Slackware 12.0).
updatedb: Secure Locate 3.1 - Released March 7, 2006.
Cdrecord-ProDVD-Clone 2.01.01a23.

Hi:
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? Thanks in advance.
 
Old 08-26-2010, 04:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400
Hi,

There's only one way to find out........

Seriously: This depends on how powerful your computer is, what is already running besides the 2 mentioned programs etc.

If underruns do occur you could change the updatedb script and nice the program (add something like nice -n 19 in front of the updatedb line).

And although it was meant to be funny, the only way to find out is indeed to just try and see.

Hope this helps.
 
1 members found this post helpful.
Old 08-26-2010, 01:23 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,383

Original Poster
Rep: Reputation: 76
I greped in /etc and found the script launching updatedb. It was in /etc/cron.daily. So I prefixed the line with 'nice -n 19'. One day, when I have a cheap DVD, I'll run cdrecord on one terminal and, in the middle of it, I'll run updatedb on another terminal and see what happens. On second thought, I can do this with any DVD, if I run cdrecord with the laser turned off. Thank you for your reply and please excuse the delay.
 
  


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
updatedb crashes: src/updatedb.c:730: scan_cwd: Assertion `name_size > 1' failed sumanc Fedora 3 07-11-2008 05:39 PM
updatedb running on boot Steve Riley Ubuntu 3 07-12-2006 04:31 PM
Why updatedb is running by itself ??? small_boy22 Slackware 2 05-30-2005 12:10 PM
updatedb running too frequently lel800 Linux - Newbie 10 05-06-2005 05:28 PM
Why is updatedb running? SheldonPlankton Linux - Newbie 8 12-29-2004 08:15 PM

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

All times are GMT -5. The time now is 05:10 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