shared/util.go
func EscapePathFstab(path string) string {
	r := strings.NewReplacer(
		" ", "\\040",
		"\t", "\\011",
		"\n", "\\012",
		"\\", "\\\\")
	return r.Replace(path)
}
func EscapePathFstab(path string) string {
	r := strings.NewReplacer(
		" ", "\\040",
		"\t", "\\011",
		"\n", "\\012",
		"\\", "\\\\")
	return r.Replace(path)
}
func EscapePathFstab ( path string ) string { r := strings . NewReplacer ( " " , " \\ " , " \t " , " \\ " , " \n " , " \\ " , " \\ " , " \\ \\ " ) return r . Replace ( path ) }
// EscapePathFstab escapes a path fstab-style.
// This ensures that getmntent_r() and friends can correctly parse stuff like
// /some/wacky path with spaces /some/wacky target with spaces
EscapePathFstab escapes a path fstab - style . This ensures that getmntent_r () and friends can correctly parse stuff like / some / wacky path with spaces / some / wacky target with spaces