def _escape_fstab(v):
 if isinstance(v, int):
  return v
 else:
  return v.replace('\\', '\\134').replace(' ', '\\040').replace('&', '\\046')

def _escape_fstab ( v ) : if isinstance ( v , int ) : return v else : return v . replace ( '\\' , '\\134' ) . replace ( ' ' , '\\040' ) . replace ( '&' , '\\046' )
escape invalid characters in fstab fields .