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

Support raid as well in devmon #28

Closed
ngoonee opened this issue Sep 18, 2013 · 3 comments
Closed

Support raid as well in devmon #28

ngoonee opened this issue Sep 18, 2013 · 3 comments

Comments

@ngoonee
Copy link

ngoonee commented Sep 18, 2013

Currently the partition list is generated using
grep " sd[a-z0-9]*$" /proc/partitions

A small change to
grep " [ms]d[a-z0-9]*$" /proc/partitions

and a similar change to the sed string which follows would allow devmon to automount removable RAID devices as well (such as the one I'm now using for external backup).

This would be entirely safe in my opinion and not cause any change in behaviour unless the user sets "--internal" in /etc/conf.d/devmon and sets allowed_internal_devices in /etc/udevil/udevil.conf

@ngoonee
Copy link
Author

ngoonee commented Sep 18, 2013

Hmm, not removed by devmon -r though. And looking at the logic, seems there's no easy way to fix that. In any case, would appreciate if it were possible.

@ngoonee
Copy link
Author

ngoonee commented Sep 19, 2013

Ah, I see that devmon -r doesn't respect the --internals settings of the currently running devmon instance. No problem, that's easily solvable by an alias in my shell. So the original request still stands, could the appropriate changes be made to the devmon script?

@IgnorantGuru
Copy link
Owner

Thanks for your input. This has been added to devmon 1.1.7 (due in udevil 0.4.2 release)

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

No branches or pull requests

2 participants