1

I am fairly new to Linux and have a general question. I have an Amazon AMI Linux EC2 instance that has a script that will copy files from many different remote computers to other computers, or to itself. The remote computers will mostly be windows but could also be Linux. Is it a good idea to mount the shared folder, copy the files, and then unmount it, or is it better to re-use shares and leave them mounted?

closed as primarily opinion-based by Jeff Schaller, don_crissti, thrig, Satō Katsura, dhag Feb 28 '17 at 15:25

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

1

You can unmount them, if you want extra safety use the command sync before unmounting

  • 2
    ..or add sync to the mount options. – Michael D. Feb 28 '17 at 14:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.