A new user interface for you!

File zvol-user-access.spec of Package zvol-udisk-ignore

# spec file for custom package virtualbox-custom

%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
%define _udevrulesdir /usr/lib/udev/rules.d
%define _udevrulesdir /lib/udev/rules.d

Name:           zvol-udisk-ignore
BuildRequires:  udev
Version:        1.0
Release:        0
Summary:        Hide zvol disks and partitions in desktop applications
License:        GPL-2.0+
Group:          System/Filesystems
Url:            http://example.org
Source0:        98-zvol-udisk-ignore.rules
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package include udev rules that tells udisk not to show zvol disks and partitions



%__install -D -m 644 %{S:0} %{buildroot}%{_udevrulesdir}/98-zvol-udisk-ignore.rules

[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"

%defattr(-, root, root)

* Wed Jul 8 2015 fwdsbs.to.11df@xoxy.net
- package created