I need to mount an NT smb network share from Linux that has special characters (ampersand & and spaces) in the name.
//server/a & bc
I can do this from a shell with quotes, as
mount -t smbfs "//server/a & bc" /mnt/mountat
but fstab will not accept such an entry:
"//server/a & bc" /mnt/mountat smbfs noauto 0 0
and I get a "bad line in fstab" error. The man page for fstab states that a space can be escaped with its octal ASCII code \040, but when leaving the ampersand or using its octal ASCII code \046, a browser pops up in KDE looking for navigation.realnames.com. ?? So neither of the following work in fstab:
//server/a\040&\040bc /mnt/mountat smbfs noauto 0 0
//server/a\040\046\040bc /mnt/mountat smbfs noauto 0 0
What format must I use in fstab to mount this share?? Thanks!