📄 multipath-tools.spec.in
字号:
%define _rpmdir rpms%define _builddir .Summary: Tools to manage multipathed devices with the device-mapper.Name: multipath-toolsVersion: __VERSION__Release: 1License: GPLGroup: Utilities/SystemURL: http://christophe.varoqui.free.frSource: /dev/nullBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildrootPackager: Christophe Varoqui <christophe.varoqui@free.fr>Prefix: /Vendor: Starving Linux Artists (tm Brian O'Sullivan)ExclusiveOS: linux%description%{name} provides the tools to manage multipathed devices byinstructing the device-mapper multipath module what to do. The toolsare :* multipath : scan the system for multipathed devices, assembles them and update the device-mapper's maps* multipathd : wait for maps events, then execs multipath* devmap-name : provides a meaningful device name to udev for devmaps* kpartx : maps linear devmaps upon device partitions, which makes multipath maps partionable%prepmkdir -p %{buildroot} %{_rpmdir}%buildmake%installrm -rf %{buildroot}make DESTDIR=%{buildroot} install%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root,-)%{prefix}/sbin/devmap_name%{prefix}/sbin/multipath%{prefix}/sbin/kpartx%{prefix}/sbin/mpath_prio_alua%{prefix}/sbin/mpath_prio_emc%{prefix}/sbin/mpath_prio_random%{prefix}/sbin/mpath_prio_balance_units%{prefix}/sbin/mpath_prio_netapp%{prefix}/sbin/mpath_prio_tpc%{prefix}/usr/share/man/man8/devmap_name.8.gz%{prefix}/usr/share/man/man8/multipath.8.gz%{prefix}/usr/share/man/man8/kpartx.8.gz%{prefix}/usr/share/man/man8/mpath_prio_alua.8.gz%{prefix}/usr/share/man/man8/multipathd.8.gz%{prefix}/sbin/multipathd%{prefix}/etc/udev/rules.d/multipath.rules%changelog* Sat May 14 2004 Christophe Varoqui- Initial build.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -