Re: Trouble copying files to SanDisk m230



On Mon, 24 Apr 2006 16:30:33 +0000, Beef wrote:

On Sun, 23 Apr 2006 04:23:34 +0000, Robert M. Riches Jr. wrote:
What kind of filesystem is on the device? Does that kind of
filesystem have a limitation on the number of files, like
the inode limit on Unix-based filesystems? Unfortunately,
that's the extent of what I'm likely to be able to help
with, because I don't know much more detail about filesystem
internals.

I wondered if that might be the case.

It is a FAT filesystem, and with encoding at 48kbps, I have put 166 songs
on there. According to the device itself they occupy 492MB, leaving 133MB
still free.

I seem to remember that the File Allocation Table (FAT) is a fixed size,
determined when the filesystem is created; the size partition divided by a
block size (called a cluster?) determines the number of entries in the
FAT. Have I got that right?

So if the designers intended the 512MB to be used to hold files of around
1.8MB each, they might have set up the filesystem to have a FAT with
around 284 entries. If my 166 songs have filed the FAT, that means the
block size is set around the 3MB mark. That seems too high.


I suppose what I wrote just above sounds pretty silly to anybody who knows
how FAT works... At least I imagine it does, after looking with parted at
the filesystem on the device.

# parted /dev/sdb1 check
Partition number? 1
Warning: File system doesn't have expected sizes for Windows to like it.
Cluster size is 16k (8k expected);
number of clusters is 31542 (63069expected);
size of FATs is 124 sectors (247 expected).
Ignore/Cancel? i
Information: Don't forget to update /etc/fstab, if necessary.

Beef

.



Relevant Pages

  • Re: Windows and Maildir
    ... Windows NT with NTFS has both file streams and extended ... > NT whose performance with large directories is better than that of FAT. ... And there won't be much of a difference between FAT and NTFS. ... because the problem is in the filesystem format and not in the ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Why does copying files to a new hard drive not defragment it?
    ... then copied a third file. ... the third file was copied to cluster 4 rather than cluster 2 (the ... Well, a filesystem in an OS is not only the filesystem itself, ... I have had similar observations wuith HDDs under MS FAT. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: crash
    ... connected to my Ubuntu notebook through the USB port. ... But mounting it or running fsck on it as ext3 doesn't ... behind a FAT translation service. ... filesystem, ...
    (alt.os.linux)
  • Re: Filesystems
    ... of what a filesystem must do: free space book-keeping ... a filesystem will undoubtedly know this is where practically ... the FAT gets really too fat for ... Filesystems which use a bit per allocated cluster ...
    (comp.arch.embedded)
  • Re: fsck.vfat malloc trouble
    ... The data on that disk is safely backed up and rather useless anyway, ... Top shows it does indeed allocate all remaining memory. ... The filesystem is 153G. ... such a large FAT partition would be -- is there any reason that you can't ...
    (alt.os.linux)