Active Topics

 


Reply
Thread Tools
Posts: 23 | Thanked: 2 times | Joined on Jan 2008
#1
I read on the forums that disabling the default media players media scanning daemon (wow mouthfull) coupld improve device performance (and i dont see a need for the daemon, but thats probably just because i dont know what it does)

But I have been unable to find out how to disable it.

I tried the forum search but couldnt find anything
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#2
Originally Posted by Denvar View Post
I read on the forums that disabling the default media players media scanning daemon (wow mouthfull) coupld improve device performance (and i dont see a need for the daemon, but thats probably just because i dont know what it does)

But I have been unable to find out how to disable it.

I tried the forum search but couldnt find anything

/etc/init.d/metalayer-crawler0 stop


Then move /etc/init.d/metalayer-crawler0

mv /etc/init.d/metalayer-crawler0 /etc/init.d/metalayer-crawler0-disabled
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.
 
Posts: 23 | Thanked: 2 times | Joined on Jan 2008
#3
Thanks for that!

Is there any reason not to disable it? From what I can tell it is just indexing my media files for the media player, seems a bit of an overkill method however.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#4
Yeah, it's just indexing your media files for the built-in media player. If you don't use the built-in media player, disable it. If you do use the built-in media player, but don't put new media files on often, disable it and run it when there's something new.

But I think a more elegant technique for disabling it is:
Code:
mv /etc/rc2.d/S99metalayer-crawler0 /etc/rc2.d/K99metalayer-crawler0
This is a standard sysv rc setup, so that command just disables that service in runlevel 2. (Which is the default runlevel.)
 
brendan's Avatar
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#5
@benson,

to be more accurate, changing the filename to the K, from the S, tells the system to run that script when moving down the init levels into runlevel 2, say from RL3 or 5. on boot, or moving up the init levels from RL0,1 or 2, the script is ignored. just as effective, though.
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#6
Actually, I'm pretty sure the K scripts get run whether going up or down. That's standard behavior, and I don't know why they'd have changed it. Since reboot is runlevel 6, nothing would be stopped before a reboot if the K scripts were ignored.

In any case, it won't be started, and if it's running when going to that runlevel, it'll be stopped. That's what I'd call disabled.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:13.