def probe(*devices):
 for device in devices:
  _validate_device(device)
 cmd = 'partprobe -- {0}'.format(' '.join(devices))
 out = __salt__['cmd.run'](cmd).splitlines()
 return out

def probe ( * devices ) : for device in devices : _validate_device ( device ) cmd = 'partprobe -- {0}' . format ( ' ' . join ( devices ) ) out = __salt__ [ 'cmd.run' ] ( cmd ) . splitlines ( ) return out
ask the kernel to update its local partition data .