2
I'm trying to copy a file to a USB flash drive. The drive does not have a write-protect switch.
df
gives the following:
$ df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sde1 1.9G 622M 1.3G 33% /media/lindenb/803C-078D
df -i
produces strange output to me (0 everywhere)
$ df -i .
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sde1 0 0 0 - /media/lindenb/803C-078D
Number of files on the drive:
$ find . |wc -l
170
But when I try to copy a file, I get this:
$ mv ~/file.txt ./
mv: cannot create regular file ‘./file.txt’: No space left on device
How can I fix this ?
do you have windows to test this before you format the USB drive? I'd want to know if this is OS dependent or not – Prasanna – 2014-12-20T14:59:09.733
@Prasanna no windows – Pierre – 2014-12-20T15:01:08.033
Every time I've seen it it was OS dependent, varying even with different flavors of Linux -- usually, I'll find antiX 13.2 can't write to the device, but Kubuntu 14.04 can. I'm pretty sure antiX uses different filesystem drivers from Kubuntu (antiX is heavily tailored for low-resource system), which may be part of the issue; as well, my two anitX computers are 32-bit only, while my Kubuntu is 64-bit. – Zeiss Ikon – 2014-12-20T15:05:51.020