2
# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
4
# This copyrighted material is made available to anyone wishing to use,
5
# modify, copy, or redistribute it subject to the terms and conditions
6
# of the GNU General Public License v.2.
8
# You should have received a copy of the GNU General Public License
9
# along with this program; if not, write to the Free Software Foundation,
10
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
lvcreate -a n --zero n -l 1 -n foo $vg
16
lvchange $vg/foo -My --major=255 --minor=123
18
dmsetup info $vg-foo | tee info
19
egrep "^Major, minor: *[0-9]+, 123" info