1
0
mirror of https://github.com/rancher/os.git synced 2025-06-19 11:41:55 +00:00
os/cmd/control/dev.go
Ivan Mikushin b7b52c65a1 ros dev spec
find device using blkid spec
2015-07-21 13:34:55 +05:00

12 lines
179 B
Go

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]))
}