YohLee / Learning

学习资料
2 stars 0 forks source link

查看dm-0,dm-1目录 #14

Open YohLee opened 4 years ago

YohLee commented 4 years ago

lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}'