[Q] EEpromWrityAnything and structure list

hi,
i'm using thefollowing to store a list of sensors:

typedef struct a_sensor{
  unsigned int id; // decimal RC code
  char name[32]; // readable name
  byte level;  // 0=always on, 1=nightmode, 2=full armed
  unsigned long lasttime;
  boolean      hastriggered;
  byte action;
  byte timedelay;
  a_sensor* nextsensor;
} a_sensor;

so the last part of the structure points to the next structure.

will the method described in Arduino Playground - EEPROMWriteAnything write/read the whole list, or only the first??

btw.. is there a similar way to read/write the same list to the sd card??

many thanks for any advice

*** WITHOUT SEEING THE WHOLE CODE, WE'LL HAVE TO MAKE SOME ASSUMPTIONS.... ***

That said:
The pointer "nextsensor" is most likely a pointer in memory when this list is first created. Writing this structure into EEPROM will render that pointer invalid/useless. You can write it like that, but you'll have to ignore the value of "nextsensor" once it's written.

You can restore this pointer if you read the list in sequentially and fill in the pointers again to make the list valid in memory.

Many thanks!!!!