On Wed, Feb 08, 2023 at 09:27:08AM -0300, vitmau...@gmail.com wrote: > quick and very basic question: is syncing and umounting a USB drive > enough to safely remove it or should I execute other commands before > unplugging these devices?
Unless you are doing something 'unusual' (*), then just unmounting it is fine, you don't even need to run sync. (*) Such as having it encrypted as a softraid device, in which case you'd need to detach that after unmounting it. Or writing to the raw device directly with tar, for example.