ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #19407
Re: how to unmount / format SD card
El día Tuesday, April 05, 2016 a las 10:26:24AM +0800, James Henstridge escribió:
> > Last question remains: What does the 'mediascan' exactly und what
> > will it do when I restore the 100.000 files again? Is there a way
> > to trimm 'mediascan' that it should ignore some dirs?
>
> This would be mediascanner-service (lsof is probably truncating the
> name), which is used to catalogue the music, photos, and videos on the
> phone's internal storage and SD cards, and provide a searchable index.
>
> We made some large improvements to the speed of this code, but I'm not
> sure if they are in the image you're testing or not. If you run "dpkg
> -l mediascanner2.0" on the phone and it shows you have version 0.111
> installed, then it should have the speed ups. If it shows an earlier
> version, then I guess it's in the next OTA release.
>
> Now for the specific issue of your OpenStreetMap tiles, you can ask
> mediascanner to ignore that directory. If you create a file called
> ".nomedia" (note the leading dot) in a directory, then all files in
> that directory and subdirectories will be ignored. So creating a file
> called "/media/phablet/7895-9F4B/Maps/OSM/.nomedia" should avoid
> scanning all the map tiles.
Thanks for responding. It works as described with the file ".nomedia".
The BQ E4.5 on nivel OTA-9.1 comes with version 0.110+15.04 of mediascanner2.0.
matthias
--
Matthias Apitz, ✉ guru@xxxxxxxxxxx, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
References