From owner-freebsd-questions Tue Dec 5 0: 0:16 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 00:00:12 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id DBCF537B400 for ; Tue, 5 Dec 2000 00:00:11 -0800 (PST) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id IAA07024 for ; Tue, 5 Dec 2000 08:59:53 +0100 From: Gilles.Guerrini@alcatel.fr Received: from frmail19.netfr.alcatel.fr (frmail19.netfr.alcatel.fr [155.132.251.19]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with SMTP id IAA10000 for ; Tue, 5 Dec 2000 08:56:26 +0100 (MET) Received: by frmail19.netfr.alcatel.fr(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id C12569AC.002BF34E ; Tue, 5 Dec 2000 09:00:03 +0100 X-Lotus-FromDomain: ALCATEL To: questions@FreeBSD.org Message-ID: Date: Tue, 5 Dec 2000 08:59:58 +0100 Subject: Re: RAM disk creation Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, I used the routine defined in 'man md' to initialised the ram disk: disklabel -r -w md0 auto && \ newfs /dev/md0c && \ mount /dev/md0c /ftp && \ chmod 1777 /ftp the response is : 'disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device disklabel: auto: unknown disk type' I have two files in the directory /ftp. I would like mount /ftp as a RAM disk containing my two files. Thanks for your help Gilles To: Gilles GUERRINI/FR/ALCATEL@ALCATEL cc: Subject: Re: RAM disk creation Use MFS - and MFS is a memory file system. It will still swap to disk if you dont have enough ram to hold it all. On Mon, 4 Dec 2000 Gilles.Guerrini@alcatel.fr wrote: > > > Hello, > I am running a FreeBSD machine. I would like to store > several files on a large ramdisk. These files will be used to perform > FTP transfer via the libfetch functions. > Is there any way to set up a ramdisk for this purpose ? > Thanks > Gilles > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message