Date: Mon, 28 Dec 1998 19:26:21 -0800 From: Mike Smith <mike@smith.net.au> To: John Aughey <jha@hub.freebsd.org> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Powering down disks Message-ID: <199812290326.TAA15076@dingo.cdrom.com> In-Reply-To: Your message of "Mon, 28 Dec 1998 19:23:21 PST." <199812290323.TAA06658@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812290326.TAA15076>