Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2000 08:59:58 +0100
From:      Gilles.Guerrini@alcatel.fr
To:        questions@FreeBSD.org
Subject:   Re: RAM disk creation
Message-ID:  <C12569AC.002BF1CE.00@frmail19.netfr.alcatel.fr>

next in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C12569AC.002BF1CE.00>