Matthew Jurgens wrote: > >> I bet that: >> mount -t cifs -o username=USER,password=PASS \ >> '//xp0/C\$' /mnt/C\$ >> fails. >> >> > Good bet. > It certainly does fail. The output of mount for that is now: > > //xp0/C/$ on /mnt/C$ type cifs (rw,mand) > > Reading ahead in the thread Jeff says "'\' is a valid character in posix > path components" which does explain this behaviour > > Do you really need the \ in front of the $ when it is already quoted? > > Reading ahead again I comment out the gsub in /etc/auto.smb which > changes the output from > -fstype=cifs,username=USER,password=PASS \ > /C "://xp0/C" \ > /ADMIN\$ "://xp0/ADMIN\$" \ > /C\$ "://xp0/C\$" > > to > > -fstype=cifs,username=USER,password=PASS \ > /C "://xp0/C" \ > /ADMIN$ "://xp0/ADMIN$" \ > /C$ "://xp0/C$" Of course, it then doesn't escape $ in the offsets. But, it looks like your script isn't up to date. I'm fairly sure the current script should output: -fstype=cifs,username=USER,password=PASS \ "/C" "://xp0/C" \ "/ADMIN$" "://xp0/ADMIN$" \ "/C$" "://xp0/C$" which is why I thought we shouldn't need the "\" escapes. Can you check your auto.smb against the one attached please, in particular the last line at the bottom of the "/Disk/" block should be: print " \\\n\t \"/" dir "\"", "\"://" key "/" loc "\"" Ian