remove obsolete comment
This commit is contained in:
parent
5e1770d1f2
commit
e346d3829a
|
@ -214,8 +214,6 @@ var fsTypeMap = map[int64]string{
|
|||
// Partitions returns disk partitions. If all is false, returns
|
||||
// physical devices only (e.g. hard disks, cd-rom drives, USB keys)
|
||||
// and ignore all others (e.g. memory partitions such as /dev/shm)
|
||||
//
|
||||
// should use setmntent(3) but this implement use /etc/mtab file
|
||||
func Partitions(all bool) ([]PartitionStat, error) {
|
||||
filename := common.HostProc("mounts")
|
||||
lines, err := common.ReadLines(filename)
|
||||
|
|
Loading…
Reference in New Issue