The other concern I have: If you have swap on an unpartitioned card that also contains valuable data... if you take out the card and forget to disable swap before you do, don't you risk corrupting the whole card - requiring a format?
it shouldn't corrupt the card, it will however crash everything that was using the swap and there's a good possibility the kernel will panic and halt the system.
because from the kernel's point of view you just yanked RAM out of the machine (in a way, swap is very slow ram)
laurencevde got a point that it might corrupt something if the swap shares an erase block and the FTL isn't journalled properly and interrupted mid-process while its copying data over to a newly erased block.
just don't unplug the SD with swap on
the more the reason to have it on the SD card you never remove
MLC NAND Flash memory (which is what's used in most, if not all, sd-cards) typically has ±10.000 erase-cycles. 100.000 is what the more expensive SLC does.
Assuming perfect wear-leveling, a 8GByte-card with 20MByte/s sequential write-speed can be killed in 8GByte*10000/(20MByte/s) = 4000000s = 46days, so yeah, continously writing to such a card can kill it in 1.5 months, and a 1GByte-card with 20MByte/s write-speed will last 6 days...
[...]
Of course, you'll never be writing to your card continously, so I doubt anyone ever managed to kill a 8+GB-card in less than a year...
yup, and SLC would take 15months of continuous 24/7 abuse.
to kill and MLC in 1.5 months with swap while using your Pandora means you'd have to sit in front of your pandora non-stop 24/7 waiting after firefox to be done swapping to start it on something else and making sure it doesn't stop accessing the swap, and that's only if that's all the app is doing (not spending time drawing, waiting on the internet connection, etc).
you might as well watch paint dry
me and my wife have two digital video cameras that save to SD, we use them as dashboard cameras, one for the car, and one for the van. we completely fill and reformat the cards at least once or twice a week, one card has been at it for 2 years and the other for a year now, they're both still working fine.
I think that's way more abuse than normal web browsing + swap would cause
as always, your mileage may vary.
and make backups of your important stuff (and you
really shouldn't use your very small, very easily lost or stolen Pandora to hold the only copy of whatever you hold dear
)