From owner-freebsd-questions Wed Dec 2 16:39:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA29335 for freebsd-questions-outgoing; Wed, 2 Dec 1998 16:39:33 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailgw1.lmco.com (mailgw1.lmco.com [192.31.106.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA29330 for ; Wed, 2 Dec 1998 16:39:31 -0800 (PST) (envelope-from augusto.pasimio@lmco.com) Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com [198.7.15.39]) by mailgw1.lmco.com (8.8.8/8.8.8) with ESMTP id RAA08917 for ; Wed, 2 Dec 1998 17:39:18 -0700 (MST) Received: from emss08m01.ems.lmco.com ([144.197.176.1]) by lmco.com (PMDF V5.1-10 #20543) with ESMTP id <0F3D00LM75THXX@lmco.com> for freebsd-questions@FreeBSD.ORG; Wed, 2 Dec 1998 17:39:18 -0700 (MST) Received: from skunkworks.ladc.lockheed.com (skunkworks.lmsw.lmco.com [144.197.7.2]) by emss08m01.ems.lmco.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2232.9) id YC3SFKP0; Wed, 02 Dec 1998 16:37:29 -0800 Received: from lmco.com ([144.197.180.61]) by skunkworks.ladc.lockheed.com (post.office MTA v2.0 0813 ID# 0-11530) with ESMTP id AAA1120 for ; Wed, 02 Dec 1998 16:45:06 -0800 Date: Wed, 02 Dec 1998 16:38:21 -0800 From: August Pasimio Subject: Ramdisk To: freebsd-questions@FreeBSD.ORG Message-id: <3665DD7D.E5785DC2@lmco.com> Organization: Lockheed Martin MIME-version: 1.0 X-Mailer: Mozilla 4.06 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, guys - I am designing a system that consists of a laptop (Pentium 166Mhz), VME chassis, label printer, and an EEPROM Programmer. We are using FreeBSD as the OS on the laptop. The laptop will be controlling the cards in the VME chassis, the printer, and the EEPROM Programmer. We have 64 MBytes RAM on the laptop. One of the requirements for this system is for it to run without a hard disk. This is for security reasons. I am considering setting up a ramdisk of 32 MBytes. I plan to create a new file system into the ramdisk. Then somehow copy the / partition into the ramdisk. I will also make a mount point for the usr partition. Our application code will reside on the CD. The CD will be mounted on to the /usr mount point. My questions: * What will happen when the OS tries to do memory swapping and it does not find a hard disk? * Is there a way to tell the OS not to do any memory swapping? * How do set up the ramdisk? * How do I copy files from the CD to the ramdisk? * Is this a do-able design? If not, do you have any suggestions on how I can satisfy the "diskless" requirement? Thanks, August Pasimio email: augusto.pasimio@lmco.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message