Repository navigation
devscan: priority 3; docs - units and rules are libsystemd's (follow-up to #75) - #77
Merged
Merged
Conversation
…md's README and the devscan README now say what a mounted card brings and who loads it: cfg/drivers -> dmdevfs (devscan, ioctl), cfg/services and cfg/rules -> libsystemd, by itself on the mount. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A mount's `remove` unit is waited for by the unmount (up to 20 s). At priority 0 a process gets the CPU only in the gaps, and with the car HMI running (a decoder at 2, a view at 1) devscan-remove did not get through for the whole 20 s. It does a few file operations and ends, so it runs above them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
JohnAmadis
approved these changes
Oct 26, 2026
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.
What
Follow-up to #75, which was merged before its last two commits:
devscanruns at priority 3 (was 0). The unmount waits for a mount'sremoveunit (up to 20 s); at priority 0 a process gets the CPU only in the gaps, and with the car HMI running (a decoder at 2, a view at 1)devscan-removedid not get through for the whole 20 s. It does a few file operations and ends.services/devscan/README.md: only the drivers are dmdevfs's -cfg/servicesandcfg/rulesof a mount point are loaded by libsystemd itself (choco-technologies/dmsystem, follow-up to Implement missing DMFSI interface functions for device driver file operations #9).Testing (STM32F746G-DISCO, choco-technologies/dmod-boot#148)
Unmounting the card with the car HMI running completes (25 s, no hang) together with choco-technologies/dmblock#6 (automount's stop timeout) and choco-technologies/carhmi-demo#15 (stops in 3.7 s instead of being killed).
🤖 Generated with Claude Code