Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764742AbYBZUEe (ORCPT ); Tue, 26 Feb 2008 15:04:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754469AbYBZUEZ (ORCPT ); Tue, 26 Feb 2008 15:04:25 -0500 Received: from mercury.sdinet.de ([193.103.161.30]:43612 "EHLO mercury.sdinet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752394AbYBZUEZ (ORCPT ); Tue, 26 Feb 2008 15:04:25 -0500 X-Greylist: delayed 907 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 Feb 2008 15:04:24 EST Date: Tue, 26 Feb 2008 20:49:15 +0100 (CET) From: Sven-Haegar Koch To: rzryyvzy cc: linux-kernel@vger.kernel.org Subject: Re: Is there a memory block device? In-Reply-To: <20080226185336.9771B58477AE1@trashmail.net> Message-ID: References: <20080226185336.9771B58477AE1@trashmail.net> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 880 Lines: 25 On Tue, 26 Feb 2008, rzryyvzy wrote: > I know that tmpfs is a memmory filesystem. Is there a possibility to > create also a memory block device? > Is there a possibility to create for example a 1 GB memory block device > (from the RAM)? There are the /dev/ram* devices, created through kernel config CONFIG_BLK_DEV_RAM (RAM disk support), kernel module rd.ko But I'm not sure how to configure their size besides setting the kernel config option, it's a long time ago that I used them last. c'ya sven -- The Internet treats censorship as a routing problem, and routes around it. (John Gilmore on http://www.cygnus.com/~gnu/) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/