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.
Stating 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
mv
usecp
if you haven't done so. You can use the option--no-preserve
to select attributes which should not be preserved, likecp --no-preserve=mode
.mv
succeeded, 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 GNUmv
-- OpenBSD's implementation ofmv
may 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.