Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Getting rid of pre-installed "bloat music" on Sansa
« previous next »
  • Print
Pages: [1]

Author Topic: Getting rid of pre-installed "bloat music" on Sansa  (Read 3372 times)

Offline tcrass

  • Member
  • *
  • Posts: 13
Getting rid of pre-installed "bloat music" on Sansa
« on: September 07, 2010, 04:37:08 AM »
Hi everyone,

meanwhile I've got my third Sansa player (all finally running Rockbox, of course), and all of them came with loads of pre-installed music and image/video files. Since I prefer to decide myself what to use the players' disk space for, I'd like to get rid of those files.

The funny thing is: both Rockbox and the original firmware allow to individually delete those files when browsing through the database, but I can't find them anywhere in the file system. (Even the 'find' command was unable to deliver what its name promises). Furthermore, even 'grep'ing through all files for, say, the title of one of those pre-installed songs didn't yield any result.

So I wonder whether anyone has a clue how SanDisk manages to hide their pre-installed files from being accessed through normal file system functions, and if there is a way to remove those files without formatting the whole disk.

Any ideas?

Best regards --

tcrass


P.S. In the root directory, the Rockbox file browser always displays folders with funny names like '##MUSIC##' and '##PORT##'. Any idea what these entries mean?
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #1 on: September 07, 2010, 05:26:32 AM »
Those funny named folders are put there by the Sansa firmware, I suspect your furtive files are in one of them with non obvious names (or extensions etc.)  You can just delete those directories (although the OF will recreate them if you boot it), maybe that'll flush out the songs too :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline tcrass

  • Member
  • *
  • Posts: 13
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #2 on: September 07, 2010, 05:36:37 AM »
Alex,

Quote from: AlexP on September 07, 2010, 05:26:32 AM
You can just delete those directories (although the OF will recreate them if you boot it), maybe that'll flush out the songs too :)

I'd love to delte those directories -- if only I could find them! But a "find . -name '*#*'" in the Sansa's root directory, which should detect all files/directories containing at least one hash character, doesn't reveal anything...

Regards --

tcrass
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #3 on: September 07, 2010, 05:40:06 AM »
Why not just delete them from in Rockbox?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline tcrass

  • Member
  • *
  • Posts: 13
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #4 on: September 07, 2010, 05:55:56 AM »
Quote from: AlexP on September 07, 2010, 05:40:06 AM
Why not just delete them from in Rockbox?

Know what? While you wrote your last reply, I renamed those funny directories using the Rockbox file browser, and voily! they suddenly showed up when accessing the Sansa as USB drive! Still I'm somewhat puzzled why they were initially hidden at all -- can't be the hash characters, can they? I mean, I can even manually create a directory like '##MUSIC#' (leading to two directories of this name after the OF has recreated their special folders)... Seems the Sansa is doing something really nasty to the poor FAT file system.

But you where right -- the original ##MUSIC# folder did contain the pre-installed music, and deleting it wiped that unwanted stuff off the disk.

Thanks for taking the time to discuss this issue.

Best regards --

tcrass
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #5 on: September 07, 2010, 06:14:09 AM »
They are deleted by the OF when USB is plugged and recreated when unplugged.

If you power off the OF while it's still plugged and start rockbox you won't see them.
Logged
a wise man said: "a wise man said"

Offline tcrass

  • Member
  • *
  • Posts: 13
Re: Getting rid of pre-installed "bloat music" on Sansa
« Reply #6 on: September 07, 2010, 06:48:56 AM »
Funman,

Quote from: funman on September 07, 2010, 06:14:09 AM
They are deleted by the OF when USB is plugged and recreated when unplugged.

If you power off the OF while it's still plugged and start rockbox you won't see them.

so far, so good -- but can you also tell me why those directories don't show up in a normal file browser (like Window Explorer or KDE Dolphin) or via ls -a /path/to/sansa/mountpoint?

Regards --

tcrass
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Getting rid of pre-installed "bloat music" on Sansa
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.074 seconds with 15 queries.