Results 1 to 2 of 2
good day
i have mounted a folder to a windows share.
mount -t cifs -o username=xxxxx,password=xxxxx //xxx.xxx.xx.xx/windowspath/ /path/to/linux/folder
however i am unable to view the files in the linux folder ...
- 01-17-2012 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 21
mount
good day
i have mounted a folder to a windows share.
mount -t cifs -o username=xxxxx,password=xxxxx //xxx.xxx.xx.xx/windowspath/ /path/to/linux/folder
however i am unable to view the files in the linux folder now. and the files that are present in the folder are not transfering to the windows path . why is that the case.
this is the setup i am trying to achieve. Each time a file is created in the linux folder it should automatically be transfered to the windows folder.
- 01-17-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
When you use a directory with files or sub-directories as a mount point, that data will not be visible until the remote share is unmounted. In any case, what you are trying to do doesn't work that way. The only means I know of to automatically mirror data placed in one directory to another (remote or not) is by using something like the inotify sub-system, where you can have it configured to trigger a copy when a file is created, updated, or moved in a specific directory space.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote