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:
11
cmd/control/dev.go
Normal file
11
cmd/control/dev.go
Normal 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]))
|
||||
}
|
Reference in New Issue
Block a user