PS: This is a 2T drive... formatted as ext2 2016-04-17 18:56 GMT+02:00 Pau Amaro-Seoane <pau.amaro.seo...@gmail.com>: > not working... > > # mount_ext2fs /dev/sd1i /home/pau/mnt/ > # cd /home/pau/mnt/ > # cp Troya.avi /home/pau/ > cp: Troya.avi: Invalid argument > > > > > 2016-04-17 17:10 GMT+02:00 Maurice McCarthy <m...@mythic-beasts.com>: >> On 2016-04-17 11:39, Pau Amaro-Seoane wrote: >>> >>> PS: As an example, when I try to copy a directory with mp3 files in it, I >>> get >>> >>> $cp -r ./a_tickle_in_the_heart_mp3/ /home/pau/ >>> cp: a_tickle_in_the_heart_mp3/bei_mir_bistu_sheyn.mp3: Invalid argument >> >> >> Firstly I assume the mount command in your original post is a typo >> >> "mount -t ext2fs /dev/sdbi /mnt" would be invalid so you likely meant >> >> # mount -t ext2fs /dev/sd2i /mnt >> >> >> On mounting a foreign file system ownership of files is assumed (I think .. >> no OpenBSD box here) to be the same as the owner of the directory used for >> mounting. So /mnt files would be owned by root. >> >> Secondly, the option -r does not exist in OpenBSD. Unless you mean -R for >> recursive. Try >> >> $ mkdir ~/mnt >> $ doas mount_ext2fs /dev/sd2i /home/pau/mnt >> $ cp -R /home/pau/mnt/a_tickle_in_the_heart_mp3 /home/pau >> >> Regards >> and good luck! >> >> >> _______________________________________________ >> Openbsd-newbies mailing list >> Openbsd-newbies@sfobug.theapt.org >> http://mailman.theapt.org/listinfo/openbsd-newbies > > > > -- > Pau > --- > Group Leader of Theoretical Astrophysics > Max Planck Institute Gravitational Physics > Albert Einstein Institute http://astro-gr.org
-- Pau --- Group Leader of Theoretical Astrophysics Max Planck Institute Gravitational Physics Albert Einstein Institute http://astro-gr.org _______________________________________________ Openbsd-newbies mailing list Openbsd-newbies@sfobug.theapt.org http://mailman.theapt.org/listinfo/openbsd-newbies