Hi, I'm not using my drives for anything more than copying files, dd etc. I just got curious because you mentioned the act of detaching a device after umounting it and I don't know how to do that on OpenBSD. On Fedora I would issue "udisks --detach /dev/sdX" (older versions) or "udisksctl poweroff -b /dev/sdX" (newer versions).
Best, Vitor Em qua., 8 de fev. de 2023 às 10:24, Crystal Kolipe <kolip...@exoticsilicon.com> escreveu: > > Hi, > > On Wed, Feb 08, 2023 at 10:13:59AM -0300, vitmau...@gmail.com wrote: > > 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. > > Can you explain exactly what you are trying to do, and what devices > you are using? > > If you are just writing files to a usb flash drive from the command line, > then you mount it, copy the files, and umount, nothing more. > > (Actually, umount automatically does a sync as soon as you invoke it.) > > If you are doing something more complicated or using a usb device > other than a flash drive or external HD, then let us know so that we > can give you accurate advice.