def read_proc_mounts():
 with open('/proc/mounts') as mounts:
  return mounts.readlines()

def read_proc_mounts ( ) : with open ( '/proc/mounts' ) as mounts : return mounts . readlines ( )
read the /proc/mounts file .