OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Kondou on July 01, 2005, 10:19:05 am
-
I have 1gb sd how to creat a 128m
next 2 example can get best performance swapfile?
example:
dd if=.......... bs=32m count=4
or
dd if=........... bs=1k count= 131072
please tell me how to get best?
-
The resulting files would be the same size and after you format them with mkswap would be identical in perfomance as swapfile.
One of the dd commands may be slightly faster than the other on a SD card, but not sure which. On reiserfs filesystem on a desktop linux system the first one take around 0.56secs and the second takes 1.8secs
A hexdump of the 2 file differs only in the files UUID which is stored around 0x400 bytes into the file.
Stu