[mythtv-users] Mapping to a Windows share

Phill Edwards philledwards at gmail.com
Thu Jan 24 11:20:00 UTC 2008

> Just add the command into /etc/rc.local
> mount -t cifs -o username=Administrator,password=#######
> // /mnt/music

Or do it in /etc/fstab like this:

//ash/shared    /mnt/ash   cifs
credentials=/home/mythtv/.smbpasswd,uid=mythtv,gid=mythtv 0 0

This way you don't have to have the password in fstab where it could
be seen. The .smbpasswd file would like this this and you should make
it readable only by mythtv:

# .passwd file - better than putting pwd in world readable fstab file.

More information about the mythtv-users mailing list