Some idle thoughts
I thought you had to run mkswap on whatever, file or partition
Given that there is some chance (10%,,5%,,1%??) that swap
will kill the flash, from excessive writes,
I think that it should not be in the middle of a card,
where it essentially kills the card if bad
mkswap has a -c parameter, and free will tell you
if you have any reason to worry
I make swap partitions at the end of the card, hoping it is telling the truth
as to what is the end, with priorities working in
That is, I use all the partitions, to p7
FAT32, ext2, 4 swap, all named to avoid confusion
Here is the for construct to append to fstab, with a little editing
for b in 0 1 2 3 4 ;do (for a in 1 2 3 4 ;do `echo LABEL=swap$a$b swap swap pri=$a$b 0 0 >> /tmp/fstab.add`; done);`echo \#Card$b $'\x0a'>> /tmp/fstab.add`; done;cat /tmp/fstab.add ;rm -f /tmp/fstab.add
Each card has a number
But the real problem is slow,(sometimes pathetic) write speeds
and dumb controllers, perhaps a bit mismatched to the nand,
and overly optimised for FAT32
And where to split the partitions????