Hi, thank you all for the replies. Crystal, what command would I use to detach a USB drive? I tried eject, but it doesn't seem to work with the kind of devices I have.
Best, Vitor Em qua., 8 de fev. de 2023 às 09:55, Crystal Kolipe <[email protected]> escreveu: > > On Wed, Feb 08, 2023 at 09:27:08AM -0300, [email protected] 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.

