[dm-devel] [PATCH] Don't add 'p' delimiter when you shouldn't

Christophe Varoqui christophe.varoqui at gmail.com
Thu Feb 9 20:17:27 UTC 2012


On dim., 2012-01-08 at 22:08 -0500, Phillip Susi wrote:
> The 'p' delimiter is supposed to be added when the base disk name
> ends in a digit.  This decision was based on the name given on the
> command line, not the canonical device name, so giving /dev/dm-0
> instead of /dev/mapper/foo triggered the digit test and added the
> 'p'.  Changed test to use the canonical name rather than the given
> name. 

Rebased and merged.

Thanks.




More information about the dm-devel mailing list