Can I change the device of the "/" mount point at boot time.
Jeremy Chadwick
koitsu at FreeBSD.org
Mon Jul 14 18:40:30 UTC 2008
On Mon, Jul 14, 2008 at 11:36:52PM +0530, Tapan Chaudhari wrote:
> Hi All,
> I am new to FreeBSD and this mailing list as well.
> What I want to achieve is change the device of my mount point '/'(or any
> other mount point) after I reboot the machine. I have some knowledge about
> initrd in Linux in which I can change the device for '/' and than reboot the
> machine so that it takes a new device for '/'.
> How can I achieve this in FreeBSD? I am using the latest release 7.0. Any
> pointers will be helpful.
I think you're looking for the loader variables rootdev or
root.vfs.mountrootfsfrom.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
More information about the freebsd-hackers
mailing list