Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove /zvol/ path component for zvol devices
As part of commit f162433 the /zvol/ path component was added for zvol devices. This ensured all zvol devices would be created by udev in /dev/zvol/<pool>/<dataset>, as opposed to the previous /dev/<pool>/<dataset> path. Logically, it was nice to organize them in a directory much like Solaris does. However, while initial testing showed this to work fine with modern kernels it does not appear to be supported under RHEL5. The extra path component triggers a NULL deref in create_dir(). Anyway, to avoid having different zvol path names based on your kernel version its more consistent simply to revert to the original naming convention. If you really want the zvol component you can always add custom udev rules to do exactly this. We can revisiting this change again once we are willing to drop support for RHEL5 and similar older distros.
- Loading branch information