[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB memory stick in Etch



a) please don't cc me - I read the list
b) please don't top post

-> I'm sorry.

So, back to your question:
> I'm using LG X TICK  USB memory stick (1GB) in Etch.
> In MS windows the USB memory stick can save 1GB data, but in my etch
> the device can save only 450MB data.
> When over 450MB data is to be copied to that disk, the error message
> "DISK FULL" is prompted.
> Is it driver problem?
> How can I fix it?

You seem to be saying, `df` gives the correct info for your USB drive
stick whereas File Manager doesn't Given there is more than 350 MB on
the stick is File Manager also not giving all the correct files (and
sizes)? I mean as it is now with the 900(ish) MB already on the stick -
what does File Manager report? And what is the output from (presuming
you have cd into the top level directory of the USB stick drive)
i) du -sm
ii) ls -altR

-> I think File Manager (or "du", "ls") gives the correct information on the size of USB disk contents, and "df" displays the usage of the disk as double. After copying file of which size is 440MB around, the result of "df", "du", "ls" is like this :

frog@frog1120:/media/USB DISK$ df /media/USB*
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb1               976996    945752     31244  97% /media/USB DISK

frog@frog1120:/media/USB DISK$ du -s
443576  .

frog@frog1120:/media/USB DISK$ du -sm
434     .

frog@frog1120:/media/USB DISK$ ls -altR
.:
total 443580
drwx------ 2 frog frog      4096 2008-10-09 23:59 .
-rw------- 1 frog frog 454215680 2008-10-09 23:58 test.tar
drwxr-xr-x 5 root root      4096 2008-10-09 23:40 ..


Reply to: