DragonFly users List (threaded) for 2009-08
DragonFly BSD
DragonFly users List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Lost all Data


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Aug 2009 20:35:23 -0700 (PDT)

: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?
:
:Thanks
:
:Siju

    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.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]