def _get_mounts():
 mounts = {}
 with salt.utils.fopen('/proc/mounts') as fhr:
  for line in fhr.readlines():
   (device, mntpnt, fstype, options, fs_freq, fs_passno) = line.strip().split(' ')
   if (fstype != 'xfs'):
    continue
   mounts[device] = {'mount_point': mntpnt, 'options': options.split(',')}
 return mounts

def _get_mounts ( ) : mounts = { } with salt . utils . fopen ( '/proc/mounts' ) as fhr : for line in fhr . readlines ( ) : ( device , mntpnt , fstype , options , fs_freq , fs_passno ) = line . strip ( ) . split ( ' ' ) if ( fstype != 'xfs' ) : continue mounts [ device ] = { 'mount_point' : mntpnt , 'options' : options . split ( ',' ) } return mounts
list mounted filesystems .