add both sdev and mdev, it was so confused most time

ref: http://www.plug.org/pipermail/plug/2005-June/002144.html