[disk][linux] Fix #555 for kernels >=2.6.26
This commit is contained in:
parent
2f74cb5178
commit
e4ec7b275a
|
@ -289,7 +289,7 @@ func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, erro
|
|||
|
||||
d = PartitionStat{
|
||||
Device: device,
|
||||
Mountpoint: mountPoint,
|
||||
Mountpoint: unescapeFstab(mountPoint),
|
||||
Fstype: fstype,
|
||||
Opts: mountOpts,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue