Philip Webb schrieb:
071020 b.n. wrote:
Philip Webb ha scritto:
Anyone have a suggestion why using 'cp -a' to copy a lot of subdirs
takes additional space on the USB stick (over the HDD space used) ?
It doesn't happen when copying a straight set of files.
It won't affect today's installation job,
but wb useful for the future, if there's some way of avoiding it.
I've seen similar effects on my fat32 USB sticks.
What filesystem do you use on them?

Another responder mentioned block sizes.  Yes, that mb the problem.
I'm new to USB sticks & haven't formatted them in any way:
they seem to have an existing file system on them,
but mb it's Fat32, which seems likely to be inefficient.
So are there any standard recommendations for formatting them ?
Do I simply do 'mke2fs' (the HDDs are formatted with ReiserFS) ?
How about block size ?  Thanks for the replies so far.


Ext2 is a good choice as long as you don't want to exchange data with Windows (except you can install the ext2 driver on the Windows machines). Don't use journalized file systems like Ext3 and Reiserfs since their journal causes additional write operations and flash media only last a limited number of them. (of course, you could disable reiserfs's journal but that's just additional trouble).

Blocksize for Ext2? As long as you don't transfer many very small files (<=3k), stick with the default.

If you want to continue using FAT, you should create zip or tar archives. That way, you can preserve file permissions and don't wast space on your stick.
--
[EMAIL PROTECTED] mailing list

Reply via email to