Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dietpi/RPi Kernel not matching udev rule #10

Open
sistemicorp opened this issue Dec 20, 2022 · 1 comment
Open

Dietpi/RPi Kernel not matching udev rule #10

sistemicorp opened this issue Dec 20, 2022 · 1 comment

Comments

@sistemicorp
Copy link

OS: dietpi v8.12 (which is a debian distro, kernal v 5.15.76), 64bit version on RPi4.

The udev rule for the SD drive is set to sd[a-z]*[0-9], but on this system, the USB drive is detected as sda and therefore doesn't match and the USB mounting doesn't happen.

I haven't gone back to check, but I am 99% sure this was working with the 32bit version of the OS.

Changing the match to sd* resolved my problem. Note that changing it to sd[a-z]*[0-9]* did not solve the problem.

@clach04
Copy link

clach04 commented Jan 28, 2023

@sistemicorp if you need to ignore the numeric at the end, the regex modifer for zero or more is a question mark. E.g Something like:

sd[a-z]*[0-9]?

The above is untested, but if this works for you, you could manual patch.

If it doesn't break my use case I could add to my fork https://github.com/clach04/automount-usb/blob/mine/99-local.rules.usb-mount which has some other bug fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants