zfsonlinux/zfs — pull request #1312 by edillmann (2013-02-21 20:35:20+00:00)
Title: Add snapdev dataset property to control visibility of zvol snapshot devices

Version 2

The motivation of this patch is that I don't like cluttering a system with lot of devices that are not always needed.

With a few zvols and automated snapshots it's real easy to have a lots of block devices.

The property name is "snapdev", with values "hidden" or "visible".

This property is also a filesystem property so it can be properly inherited.

The device nodes are created and destroyed on demand.