Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I read that many people don't like the idea if Soft mounting due it's unreliability. However I'm writing sofware which uses NFS storage as back-up to a locally stored copy of a message file.
The software i'm writing is the only application that reads or writes to this partion. The partion will use the sync option when mounting.
If the write result has failed (i used fbopen(), then sendfile() to send the files) i know the file is in someway courrupted, however if function returns OK, can i guarentee that the file has been written OK?
I sure don't. Nah, just that I don't know much about programming, so I don't know what "If function returns OK" means. However, if once you write to the file, something tells you it's done and it does some sort of MD5 kind of check, and it turns out OK, then yeah, I'd say it's OK
I don't know about you though, but I've not had a lot of Linux servers crash on me for me to be too concerned with corruption from NFS transfers...
yeah, my assumption would be, since the write is synchronus, that if if returns OK (returns 0 rather then -1 ) then i could be fairly certertain that the file was written correctly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.