Skip to content

Commit

Permalink
Merge pull request moby#11155 from coolljt0725/add_xfs_magic
Browse files Browse the repository at this point in the history
Fix docker info show unknown backing filesystem when use xfs
  • Loading branch information
estesp committed Mar 4, 2015
2 parents df7ba57 + dd56fa1 commit e2c79e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daemon/graphdriver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const (
FsMagicSmbFs = FsMagic(0x0000517B)
FsMagicJffs2Fs = FsMagic(0x000072b6)
FsMagicZfs = FsMagic(0x2fc12fc1)
FsMagicXfs = FsMagic(0x58465342)
FsMagicUnsupported = FsMagic(0x00000000)
)

Expand Down Expand Up @@ -60,6 +61,7 @@ var (
FsMagicSmbFs: "smb",
FsMagicJffs2Fs: "jffs2",
FsMagicZfs: "zfs",
FsMagicXfs: "xfs",
FsMagicUnsupported: "unsupported",
}
)
Expand Down

0 comments on commit e2c79e2

Please sign in to comment.