Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    22

    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.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,578
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •