1 #!/bin/sh 2 module="device-mapper"3 major=`sed -n -e "/$module\$/p" /proc/devices | awk '{print $1}'`4 echo $major
posted on 2012-09-29 12:44 阿加 阅读(147) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 阿加 Powered by .NET 9.0 on Kubernetes