On 11/7/18 4:06 PM, Paul Allen Newell wrote:
On 11/07/2018 03:04 PM, Ed Greshko wrote:
On 11/8/18 6:52 AM, Paul Allen Newell wrote:
On 11/07/2018 01:52 PM, ToddAndMargo via users wrote:
This is the dismount part of my script:
sync; sync umount $StickTarget
Calling sync twice?
Must be an "old" person. It was common practice back in the early 1980's to call sync twice before shutdown on Solaris. Don't ask me why. I was just "done that way".
Okay. I remember enough "don't ask, just do it this way" techniques from old days that I am certainly prepared to buy this one
Again, I believe it was to ensure any background tasks writing to system volumes were "done". The typical command was
sync;sync;shutdown -h now
or (if you're as ancient as I am)
sync;sync;init 0 ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - grep me no patterns and I'll tell you no lines - ----------------------------------------------------------------------