I was to use a raspberry Pi to collect syslog's from a number of devices. This has proved straight forward and works well. Which leads to a second concern.
There is the possibility of losing power and the Pi not being shutdown properly which can lead to corruption of the SD card in some cases. I have found a solution to that as well, using a union file system and mounting the root partition read only with the variable parts written to memory. This works well and prevents the SD card from getting corrupted.
The problem is when I want to do both. I can't just throw the syslog data away but writing it means making the SD card readable. One simple solution is to use an external USB device for capturing all the log data and we know that would work but it is not ideal.
One suggested solution has been to partition the SD card into a root and a data partition with the data partition read/write and root made read only.
The question I have is, Is there any danger of the read/write partition on the SD card corrupting the whole card in the event of power loss? Or SD cards don't work like that and like a hard disk the partitions are effectively isolated and worst case you can only corrupt the read/write partition?