I'm following a tutorial on how to install firmware on OpenBSD. The tutorial has me creating a new msdos file system on the usb with:
newfs_msdos -F 32 /dev/rsd2c then to take usb to a system with an internet connection, then move the firmware tarball into the USB. I have never moved data to a msdos fs via the command line before. The tutorial shows him using dolphin on a manajaro install, however I do not have any systems with gui's installed.
How can I move the tarball to the usb drive?
I've tried mounting it them moving to the mounted directory but it does not work.
failed to preserve ownership for '/mnt2/iwn-firmwae.tgz': Operation not permitted
Here's a link to the tutorial: https://www.youtube.com/watch?v=kUrUq2qfWiY
cpif you haven't done so. You can use the option
--no-preserveto select attributes which should not be preserved, like
mvsucceeded, and the error message is only about the failure to set the file's perms after it was moved (that's how it works on Linux with GNU
mv-- OpenBSD's implementation of
mvmay behave differently, like trying to set perms before the mv has completed. dunno). Also, as @polemon says, probably best to use cp rather than mv. You can always delete the original afterwards if needed.