While playing with ipodlinux, I accidentally deleted the partition table of my /home disk (/dev/sda, while / is on /dev/sdb and the ipod was /dev/sdc, I did a dd if=something of=/dev/sda instead of of=/dev/sdc, kind of stupid, no ?).
/dev/sda was still mounted (/dev/sda5 as home, /dev/sda6 as /media/sda6), while the partition table of /dev/sda was replaced with that of the ipod

. I made an emergency backup of all the files on /dev/sda5 and /dev/sda6 (on the hard disk of the ipod

) and rewrote a new partition table on /dev/sda, but here is my question, out of curiosity and in prevision of my next mistake :
given that all the partitions on the disk were still mounted, was there anyway to get the correct partition table out of some place (the kernel ?) ?
I'm not asking here for gpart or testdisk (both of which failed to restore the partition table, by the way), but of a way to squeeze the partition table out of the kernel.
Thanks in advance for your help
