From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 31 11:36:05 2004 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EA7F16A4CE for ; Sat, 31 Jan 2004 11:36:05 -0800 (PST) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F7D143D1D for ; Sat, 31 Jan 2004 11:36:04 -0800 (PST) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (Postfix) with ESMTP id 9EA1740823; Sat, 31 Jan 2004 20:35:25 +0100 (CET) From: Cordula's Web To: julian@elischer.org In-reply-to: (message from Julian Elischer on Sat, 31 Jan 2004 08:47:38 -0800 (PST)) X-Mailer: Emacs-21.3.1/FreeBSD-4.9-STABLE References: Message-Id: <20040131193525.9EA1740823@fw.farid-hajji.net> Date: Sat, 31 Jan 2004 20:35:25 +0100 (CET) cc: freebsd-multimedia@freebsd.org Subject: Re: Transferring the root filesystem to a ramdisk? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 19:36:05 -0000 > > > 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/