LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where does Fedora 17 mount the samba shares automatically by default? (https://www.linuxquestions.org/questions/linux-newbie-8/where-does-fedora-17-mount-the-samba-shares-automatically-by-default-4175445144/)

dahweeds 01-11-2013 09:49 AM

Where does Fedora 17 mount the samba shares automatically by default?
 
I did not find the answer right away on searching the internet. But I eventually found where. So I simply put this here in case anyone else needs to rsync their data to or from a samba share using Fedora 17.

When I browse the network in my gui desktop, I can mount the public share from my little nas. However, the string name for the location in the desktop browser is

Code:

smb://o6o1.local/storage/
This is not rsync friendly. Example:
Code:

[auser@Fedora17 ~]$ rsync smb://o6o1.local/storage ./ -rvn
ssh: Could not resolve hostname smb: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]

There is probably some way to tell rsync that I am using that smb: host but that is not what I wanted to do at the moment.

I found by mount command that Fedora used the fuse-daemon to connect the share on a far off folder in a /run directory that I did not know about before.

Code:

[auser@Fedora17 ~]$ mount
....
gvfs-fuse-daemon on /run/user/auser/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=500,group_id=500)
...
[auser@Fedora17 ~]$  ls /run/user/auser/gvfs/
storage on o6o1.local
[auser@Fedora17 ~]$

With that I was able to use rsync the way I previously have done.
Code:

[auser@Fedora17 ~]$ rsync /run/user/auser/gvfs/storage\ on\ o6o1.local/ ./ -rv
sending incremental file list
....
sent 2009352292 bytes  received 2199492 bytes  1332594.76 bytes/sec
total size is 2001876702  speedup is 1.00
[auser@Fedora17 ~]$

Yay!

acid_kewpie 01-11-2013 09:51 AM

not a networking question, moved to Newbie


All times are GMT -5. The time now is 06:11 PM.