Lost all Data

Matthew Dillon dillon at apollo.backplane.com
Tue Aug 11 20:38:51 PDT 2009

:Thanks matt for the long explanation. :-)
:Currently I update the contents of the second disk by mounting it
:under /mnt/2ndDisk and chrooting to it. So in future upgrades when I
:chroot should devfs be mounted on /mnt/2ndDisk/dev  inorder for
:buildworld and build kernel to suceed proprely?

    Yes.  The easiest way is to simply use 'mount_null /dev /mnt/2ndDisk/dev'
    after mounting the second disk.

    And, of course, to umount /mnt/2ndDisk/dev before umount /mnt/2ndDisk.

    Anything you chroot to will need its own devfs mount, either using
    mount_null of /dev onto the target dev or (more directly) mount_devfs
    on the target dev.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Users mailing list