Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 15:26:54 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        "Cordula's Web" <cpghost@cordula.ws>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Transferring the root filesystem to a ramdisk?
Message-ID:  <Pine.BSF.4.21.0401311525520.38031-100000@InterJet.elischer.org>
In-Reply-To: <20040131193525.9EA1740823@fw.farid-hajji.net>

next in thread | previous in thread | raw e-mail | index | archive | help
you could mount the replacement root device on '/'

alternatively you could make init do the chroot (you have source no? :-)


On Sat, 31 Jan 2004, Cordula's Web wrote:

> > > > in an attempt to save power on FreeBSD servers, I'm
> > > > trying to replace the hdd with a ramdisk. The idea is to:
> > >
> > > As for powering down the hdd I did find a page for this,
> > > but havent had time to play with it yet:
> > > http://www.cran.org.uk/bruce/software.php
> > 
> > there is a port "ataidle" that sets teh IDE drive's internal idle
> > timeout timer so it will spin down if you dont use it..
> 
> Yes, thank you. ataidle works like a charm.
> 
> > as for scsi, you can sent it a spin-down command with camcontrol but I
> > forget the actual command..
> > (it should be in the scsi .h files)
> 
> # camcontrol stop da0
> # camcontrol start da0
> works for me.
> 
> Now, all I need would be a syscall to switch the kernel's notion
> of the root device.
> 
> Or is there a way to umount root, and remount it on the md drive?
> 
> -- 
> Cordula's Web. http://www.cordula.ws/
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0401311525520.38031-100000>