Repository navigation
ssd bağlı değilken sd karta indirmeyi durdur / stop downloads to the sd card when the ssd is not mounted - #38
Open
d0ukan wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/libraryiçin ssd ayarlıysa ama disk açılışta bağlanmazsa indirme betiği uyarı verip arşivleri sd karta yazmaya devam ediyordu. varsayılan içerik listesi yaklaşık 160 gb.artık
/etc/fstabiçinde/librarykaydı varsa ve disk bağlı değilse betik dosya oluşturmadan ve ağ isteği göndermeden duruyor. sadece sd kart kullanacak şekilde kurulan sistemlerde indirme yine çalışıyor.arm64 qemu’da ayrı bir ext4 disk imajıyla denedim. eski betiğin kök dosya sistemine yazdığını gördüm. düzeltmeyle disk bağlıyken indirme doğru yere gitti, diski ayırınca indirme başlamadı. shellcheck ve bash sözdizimi kontrolleri geçti. pi 5 üzerinde henüz denemedim.
English
if an ssd is configured for
/librarybut doesn't mount at boot, the downloader warns and then writes the archives to the sd card anyway. the default content list is about 160 gb.now it stops before creating files or making network requests when
/etc/fstabhas a/libraryentry but the disk isn't mounted. sd-only setups can still download content.i reproduced the issue in arm64 qemu with a separate ext4 disk image. after the fix, the downloader wrote to the mounted disk and stopped before downloading when the disk was unmounted. shellcheck and bash syntax checks passed. i haven't tested on a pi 5.