Hide Forgot
Created attachment 530075 [details] a mount plugin patch Sometimes it's useful to mount some devices or nfs shares into a mock chroot. I wrote a patch that enables this functionality. If you find any issues with the patch, please let me know so I can fix it.
Just took a quick look at it and it looks nice. Probably won't go into this release (mostly bugfixes) but we can work on getting it into the next one. I wonder though, if we shouldn't lift your Mount class into the main mock code and use it to maintain the "standard" mounts (proc, sys, pts, etc.). Then just have the plugin use it? Just a thought.
(In reply to comment #1) > I wonder though, if we shouldn't lift your Mount class into the main mock code > and use it to maintain the "standard" mounts (proc, sys, pts, etc.). Then just > have the plugin use it? Just a thought. I never thought it could be used this way, but yes -- it should work. Let me know if any changes in the patch are needed...
wups, forgot to add this bug to the latest update. Modified mount.py is now a plugin in mock-1.1.20