Skip to content

Commit fa27e5e

Browse files
committed
Merge pull request google#442 from arkadijs/xen
Also process /dev/xvd? partitions
2 parents 308f03f + f9e5b04 commit fa27e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import (
3939
"github.com/golang/glog"
4040
)
4141

42-
var partitionRegex = regexp.MustCompile("sd[a-z]+\\d")
42+
var partitionRegex = regexp.MustCompile("(:?s|xv)d[a-z]+\\d")
4343

4444
type partition struct {
4545
mountpoint string

0 commit comments

Comments
 (0)