1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/hosted
William Wilgus fdc3668a6a [BugFix] Multiboot Database duplicate files
When the sd card is mounted into the root namespace the database
picks up files through both paths

previously we hid the mounted drive but this causes issues with users
databases when the drive letter changes

Adds a way to keep track of volumes mounted in the root namespace

Hides the enumerated volume in root

Database:
we can just parse the root directory ('/') and get to any mounted
volume but we can also enumerate a volume in the root directory
when this occurs it leads to multiple entries since the files can
be reached through multiple paths ex, /Foo could also be /SD1/Foo
Instead we will attempt to rewrite the root with any non-hidden volumes
failing that just leave the paths alone

Change-Id: I7bdba8cfaf63902d2a3852d28484bcf8ca317ebd
2024-03-23 01:03:33 -04:00
..
agptek build: Get rid of suplerflous '-Os' references in linker calls 2021-03-25 12:20:15 -04:00
aigo build: Get rid of suplerflous '-Os' references in linker calls 2021-03-25 12:20:15 -04:00
android Fix Red SDL, Android mounting root directory, and all the yellow too 2022-03-03 20:38:57 -05:00
fiio fiiom3k_linux: Enable HAVE_TOUCHPAD and add in missing bits 2021-04-05 13:57:01 +00:00
ibasso add const to const * strings 2022-05-03 23:00:58 -04:00
maemo pcm: Remove unused function pcm_play_dma_get_peak_buffer() 2021-07-25 14:07:41 +00:00
samsungypr WIP: Samsung YPR0/1: switch to generic SI47xx polling 2021-11-18 16:53:57 -05:00
sdl buflib: Refactor various debugging features 2023-01-13 10:32:57 +00:00
sonynwz build: Get rid of suplerflous '-Os' references in linker calls 2021-03-25 12:20:15 -04:00
xduoo xduoox3ii: Ignore the remote events when headphones aren't plugged in 2021-11-03 13:16:40 -04:00
alsa-controls.c nwz/alsa: various improvements 2020-10-31 14:16:31 +00:00
alsa-controls.h nwz/alsa: various improvements 2020-10-31 14:16:31 +00:00
backlight-target.h New port: FiiO M3K 2020-10-09 12:41:18 -04:00
backlight-unix.c hosted: control buttonlights along with the display backlight. 2020-10-03 20:12:31 -04:00
backtrace-glibc.c Fix hosted glibc backtrace 2021-08-06 18:54:34 +01:00
button-devinput.c erosq: When mucking with the clickwheel, ensure we keep the screen awake! 2021-04-09 19:21:02 -04:00
cpufreq-linux.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
cpufreq-linux.h CPUFreq scaling governor interface for Linux/Android hosted devices. 2015-01-30 20:15:58 +01:00
cpuinfo-linux.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
cpuinfo-linux.h cleanup linux cpuinfo code 2017-10-06 18:31:35 +02:00
debug-hosted.c Include stdlib.h for atexit(). 2012-01-25 22:49:19 +01:00
filesystem-app.c [BugFix] Multiboot Database duplicate files 2024-03-23 01:03:33 -04:00
filesystem-app.h filesystem: implement os_modtime for unix 2021-07-11 12:40:08 +00:00
filesystem-hosted.h filesystem: implement os_modtime for unix 2021-07-11 12:40:08 +00:00
filesystem-unix.c filesystem: implement os_modtime for unix 2021-07-11 12:40:08 +00:00
filesystem-unix.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
filesystem-win32.c win32: Add a stub for os_modtime() to make sim builds happy 2021-09-26 09:31:58 -04:00
filesystem-win32.h Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
kernel-unix.c Hosted targets Fix timer cycle calculation overflow 2020-10-23 15:35:11 +00:00
kernel-unix.h android/ypr0: Merge kernel-*.c to generic kernel-unix.c. 2012-01-21 18:39:19 +01:00
lc-unix.c Agptek Rocker: Restrict root directory to SD only 2018-06-12 10:31:15 +02:00
lcd-linuxfb.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
pcm-alsa.c Eros Q Hosted: Apply DC Bias to PCM Data 2021-08-12 10:07:49 +00:00
pcm-alsa.h alsa: instead of per-target tests, use HAVE_ALSA_32BIT 2021-04-08 23:02:15 -04:00
power-linux.c fiiom3klinux: Fix a build warning. 2021-03-10 19:01:12 -05:00
rolo.c multiboot: Remove bad multiboot code from hosted RoLo 2022-03-11 10:58:20 -05:00
rtc.c hosted: Fix rtc_write_datetime() error handling 2021-08-05 13:44:11 +00:00
sysfs.c hosted: Use O_CLOEXEC for all open() and "e" for fopen() calls 2020-10-11 01:47:03 -04:00
sysfs.h xDuoo X3II and X20 port 2020-04-06 18:15:41 +02:00
system-hosted.c hosted: call 'sync' before poweroff 2022-03-31 21:40:04 -04:00
system-hosted.h Add normal alloca() definition and implement a strdupa and friends 2014-08-29 22:06:59 -04:00
usb-hiby.c add const to const * strings 2022-05-03 23:00:58 -04:00