Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759315AbYHUD12 (ORCPT ); Wed, 20 Aug 2008 23:27:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757563AbYHUDTF (ORCPT ); Wed, 20 Aug 2008 23:19:05 -0400 Received: from msr15.hinet.net ([168.95.4.115]:54285 "EHLO msr15.hinet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758153AbYHUDTD (ORCPT ); Wed, 20 Aug 2008 23:19:03 -0400 From: "Chen Pei Chao" To: "'David Newall'" Cc: , Subject: =?windows-1255?Q?Re:_Is_there_linux_RAM_filesystem_with_a_fixed_amount_of?= =?windows-1255?Q?_memory=3F=FE?= Date: Thu, 21 Aug 2008 11:16:33 +0800 Message-ID: <01c301c9033c$5e881ef0$4901a8c0@tc.nsbg.efoxconn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AckDPFAiu0z8TShZTGundBXm5ubX4Q== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 24 >> Is there any RAM file system that use a fixed amount of memory at all times >> and will not grow and shrink dynamically like tmpfs? >ramfs I mounted a ramfs filesystem with 10M size, and have a check of /proc/meminfo. I find the ramfs also did not have the memory preallocation. I just add one line into /etc/fstab none /tmp ramfs size=10m 0 0 Any wrong in my steps? Regards, Jackie -- 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/