Hi, I'm working on a custom arm embedded system and I would like to implement a "live" system update. The system is running from NAND flash and has two mtd partitions one to store the kernel and another one to store the filesystem (jffs2/mtd). To be able to gracefully update the file-system from a running state I would like to: - kill all the running processes - remount file system as read only - create a small rootfs in /var/tmp/update/ (in ram) with the required tools (mainly erase/write flash and reboot) - copy the updated filesystem (fs.jffs2) to /var/tmp/update/ - chroot in my small rootfs and execute o flash_eraseall /dev/mtdX o nandwrite -p /dev/mtdX fs.jffs2 o reboot The problem I have is with recreating the /dev inside my mini rootfs. I'm using udev and I don't know how to instruct udev to mirror the content of /dev in /var/tmp/update/dev/. Or maybe I can just create the devices (mtdX) I need using mknod ? Would that work (I'll be trying) ? Best regards, -- Christophe Aeschlimann Embedded Software Engineer Advanced Communications Networks S.A. Rue du Puits-Godet 8a 2000 Neuchâtel, Switzerland Tél. +41 32 724 74 31 c.aeschlimann@xxxxxxxxxxxx -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ