[dm-devel] [PATCH] Add name checks in dmsetup

Alasdair G Kergon agk at redhat.com
Wed Jan 7 01:49:10 UTC 2009


On Tue, Jan 06, 2009 at 11:19:12PM +0100, Peter Rajnoha wrote:
> 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.
 
Reviewed-by: Alasdair G Kergon <agk at redhat.com>

Alasdair
-- 
agk at redhat.com




More information about the dm-devel mailing list