]> sourceware.org Git - lvm2.git/commit
Add checks for device names in dmsetup and show proper error messages.
authorprajnoha <prajnoha>
Wed, 7 Jan 2009 12:17:40 +0000 (12:17 +0000)
committerprajnoha <prajnoha>
Wed, 7 Jan 2009 12:17:40 +0000 (12:17 +0000)
commita479761be5f0c51dbd70f634911b3fff904a193a
treedcd826e323548dbde8838befad0f49438c5cadbb
parent6d7265d9666e075e4f6fada05ed5eab74a05797d
Add checks for device names in dmsetup and show proper error messages.

Checks added for DM device names to allow only names < DM_NAME_LEN,
otherwise a part of lengthy name would be silently ignored and could
cause confusion while using dmsetup. Also, the name should not contain
'/' character, if it is used in context of creating a new device
or renaming the existing one (because we do not consider full path
to devices, they do not exist in filesystem yet) and appropriate error
messages are shown.
WHATS_NEW_DM
libdm/ioctl/libdm-iface.c
libdm/libdm-common.c
This page took 0.035756 seconds and 5 git commands to generate.