I'm "still run sync 3 times before removing an unmounted drive" years old.
My dad taught me to run sync, every time I want to unmount something
why do it three times though? I was always told just once is fine
@rose paranoia, mostly. "sync" typically blocks on the cache writes being complete. So the second one is to verify that the first one completed, which is indicated by it returning immediately.
The third one is basically saying "AND STAY DOWN" to the OS. 😆