[mythtv-users] What's the easiest way in 0.24 to add media from a Windows share?

cbeerse at gmail.com cbeerse at gmail.com
Mon Jan 17 21:31:58 UTC 2011


On 12-11-2010 15:45, Richard Morton wrote:
> there are GUI methods to do it, webmin can also do it, but the common
> denominator is fstab...
>
> R
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

For the commandline without fstab (which roughly uses the same options):

sudo mount -t cifs -o username=account at machine,password=password 
//machine/share /local/path

Details:

- add `sudo ` to the front if you are not runnng as root.
- the part "username=account at machine,password=password" should not 
contain spaces.
- if you donnot want to specify your windows password, just use 
"username=account at machine", the mount command will ask for your password.
- if you use a domain password, use 
"username=account at domain,password=password" where domain is the fully 
qualifyed domain.
- yep, use "//machine/share" with forward slashes!
- the local path can be any existing directory. I can imagine to use 
"/media/machine/share". Either way, the local directory needs to exist.

- the equivalent automatic mounting /etc/fstab line is (this needs the 
password in there):
//machine/share    /local/path    cifs    
username=account at machine,password=password    0    0

- the equivalent manual mounting /etc/fstab line is:
//machine/share    /local/path    cifs    
noauto,username=account at machine    0    0
- to mount the manual mounting line use: `mount /local/path` or `mount 
//machine/share`. Both will ask for the password of the account at the 
remote machine.

CBee


More information about the mythtv-users mailing list