maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia 770 (https://talk.maemo.org/forumdisplay.php?f=24)
-   -   Browse the directories using inbuilt file manager (https://talk.maemo.org/showthread.php?t=7512)

tama 2007-07-10 17:26

Browse the directories using inbuilt file manager
 
I haven't read this tip any where hence I thought I should put it here.

1. Start an xterm
2. insert following command in xterm
ln -s / /home/user/Mydocs/root
3. exit xterm

Now you can browse all directories using file manager, just tap on "root" in file manager and you will be taken to root.

For non unix guys, the above command creats a symbolic link to root.

Joschi 2007-07-10 18:20

Re: Browse the directories using inbuilt file manager
 
thnx for this feature!!

But the path must be "MyDocs" with capital D:
ln -s / /home/user/MyDocs/root

maybe only in my (german) version !?

Joschi

adammelancon 2007-07-10 18:21

Re: Browse the directories using inbuilt file manager
 
Great tip!
I don't know why I didn't think about using ln on my n800 before.
Thanks!

fnordianslip 2007-07-10 18:43

Re: Browse the directories using inbuilt file manager
 
I'm only wondering, but are there any issues doing backups? I'd be concerned about backing up the whole filesystem by mistake, possibly recursively. Is there any risk of this? If not, are symbolic or hard links preferable?

ukki 2007-07-10 18:47

Re: Browse the directories using inbuilt file manager
 
If I'm not mistaken, this can cause metalayer-crawler to go in some sort of loop and use all your cpu power. Anyone else noticed similar?

adammelancon 2007-07-10 19:50

Re: Browse the directories using inbuilt file manager
 
Quote:

Originally Posted by ukki (Post 58737)
If I'm not mistaken, this can cause metalayer-crawler to go in some sort of loop and use all your cpu power. Anyone else noticed similar?

HA! I JUST found that problem!
https://bugs.maemo.org/show_bug.cgi?id=978#c4

Was wondering why my N800 was so slow, the metalayer-crawler was going balistic searching through the root folder... oh well, would have been a neat hack.
Perhaps you can exclude that /home/user/MyDocs/root folder somewhere in the Dameon config for metalayer-crawler?

tama 2007-07-10 20:04

Re: Browse the directories using inbuilt file manager
 
What is metalayer-crawler ? I do not see any such process when I do "ps ax| grep meta".

I also do not see any difference in memory/cpu usage.

Is metalayer-crawler some n800 feature ? (Mine is n770).

aflegg 2007-07-10 21:28

Re: Browse the directories using inbuilt file manager
 
It's a "feature" of the OS2007 media player which indexes the metadata (e.g. ID3 tags on MP3 files) of media files and presents a library-based, rather than file-based view of your songs/videos etc.

amigokin 2007-07-10 21:43

Re: Browse the directories using inbuilt file manager
 
Oh... NOW I understand why the N800 is acting so slow and the battery charge is disappearing!

What I have to do to undo this command?

Regards

EDIT: Solved! Go to xterm and inside MyDocs remove the root file...

tama 2007-07-11 01:43

Re: Browse the directories using inbuilt file manager
 
Is there a way to stop/disable metacrawler ?

I will be buying a 2GB mmc and make it dual boot with IT2007. So I will need to either disable the metacrawler or not have this link. I will prefer to keep the link and remove/disable the metacrawler.

TA-t3 2007-07-11 10:59

Re: Browse the directories using inbuilt file manager
 
I'm not a big metcrawler fan either.. I don't have any mp3s and when I pop in a card with video snippets or pictures I simply use the file manager, which is the logical way for me to do it. I can't really see why I would want a robot crawling over my cards at all. Hmm.. I see two immediate brute-force methods to prevent starting it.
1) as root do:
cd /usr/bin
mv metalayer-crawler metalayer-crawler.disabled
and reboot.
(to re-enable, simply rename to original name, then either do /etc/init.d/metalayer-crawler0 start (note spelling) or reboot)

This will work because the startup script tests for the existence of the executable and exits cleanly if not found.

2) Nah, 1) is better anyway.

Note that I haven't tried to run without metacrawler yet, so I don't know what kind of sideeffects this could create (e.g. is any other functionality depending critically on the metacrawler?)

tama 2007-07-11 15:08

Re: Browse the directories using inbuilt file manager
 
TA-t3.
Thanks for the tip.

steffen800 2007-07-11 18:57

Re: Browse the directories using inbuilt file manager
 
yes on my n800 this process is running. it seems to be a program for tracking multimedia files, to be able to offer you some kind playlists e.g. in media player

steffen800 2007-07-11 19:01

Re: Browse the directories using inbuilt file manager
 
ooops sorry my browser showed up the web site wehre stopped reading it yesterday

ILAMtitan 2007-07-12 14:21

Re: Browse the directories using inbuilt file manager
 
If you want to remove the link rather than force the crawler to not run, use the command:

rm /home/user/MyDocs/root

Don't worry, this will only remove the symbolic link and not your whole root file system.

maxilogan 2007-07-12 14:31

Re: Browse the directories using inbuilt file manager
 
Quote:

Originally Posted by TA-t3 (Post 58977)
I'm not a big metcrawler fan either.. I don't have any mp3s and when I pop in a card with video snippets or pictures I simply use the file manager, which is the logical way for me to do it. I can't really see why I would want a robot crawling over my cards at all.

Will this in any manner affect canola / UKMP working? Are they using the same robot as the inbuilt player? (guess no because sometimes I find their database are not matching at the same moment)

RioT 2007-07-29 13:32

Re: Browse the directories using inbuilt file manager
 
Quote:

Originally Posted by ukki (Post 58737)
If I'm not mistaken, this can cause metalayer-crawler to go in some sort of loop and use all your cpu power. Anyone else noticed similar?


dmn after i flashed it cause i had no internet.....

paulkoan 2008-03-20 21:54

Re: Browse the directories using inbuilt file manager
 
Ok.. so how /do/ you browse the whole file system with the file manager?

Benson 2008-03-20 22:02

Re: Browse the directories using inbuilt file manager
 
Install a real file manager, like emelfm2 or GPE filemanager. Or do the symlink, but be sure to disable metalayer-crawler.

qwerty12 2008-03-20 22:05

Re: Browse the directories using inbuilt file manager
 
Thanks :D

Works ok for me.

Its MyDocs not mydocs.

GeraldKo 2008-03-21 03:55

Re: Browse the directories using inbuilt file manager
 
Quote:

Originally Posted by TA-t3 (Post 58977)
[T]o prevent starting [metacrawler].
1) as root do:
cd /usr/bin
mv metalayer-crawler metalayer-crawler.disabled
and reboot.

...

Note that I haven't tried to run without metacrawler yet, so I don't know what kind of sideeffects this could create (e.g. is any other functionality depending critically on the metacrawler?)

TA-t3, please report back after running without metacrawler. Does it screw anything up? Also, as has already been asked, should stopping metacrawler impact Canola? Thanks!


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

vBulletin® Version 3.8.8