1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

ros dev spec

find device using blkid spec
This commit is contained in:
Ivan Mikushin
2015-07-21 12:56:55 +05:00
parent 2efba7cca5
commit b7b52c65a1
2 changed files with 19 additions and 0 deletions

11
cmd/control/dev.go Normal file
View File

@@ -0,0 +1,11 @@
package control
import (
"fmt"
"github.com/codegangsta/cli"
"github.com/rancherio/os/util"
)
func devAction(c *cli.Context) {
fmt.Println(util.ResolveDevice(c.Args()[0]))
}