From owner-freebsd-mobile Mon Dec 28 19:29:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA07154 for freebsd-mobile-outgoing; Mon, 28 Dec 1998 19:29:21 -0800 (PST) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from dingo.cdrom.com (castles205.castles.com [208.214.165.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA07148; Mon, 28 Dec 1998 19:29:17 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id TAA15076; Mon, 28 Dec 1998 19:26:27 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812290326.TAA15076@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: John Aughey cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Powering down disks In-reply-to: Your message of "Mon, 28 Dec 1998 19:23:21 PST." <199812290323.TAA06658@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Dec 1998 19:26:21 -0800 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I'm wanting to use my laptop in a mobile environment where I will > want to power down the disks to prevent disk damage. I'm not > concerned with daemons writing to the disk periodically because I > plan to boot using a memory file system and transfer information > from the hard disk once at bootup time and then unmount and power > down the disks. > > How can I power down my disks when they are not in use? This will > be a disk that is not mounted anywhere, so there will not be any > problems with syncing file systems and other problems commonly > encountered with demand devices. You'll need to look into the ATA documentation and add an ioctl to the 'wd' driver to issue power-management commands to the disk. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message