> ka1ifq wrote:
>> On Saturday 08 December 2007 04:09:30 am Jake Conk wrote:
>>> Hello,
>>>
>>> I'm trying to my disk space information (total and used) of my RAM
>>> disk file system. I mounted the filesystem like so:
>>>
>>> $ mount -t ramfs ramfs /tmp -o size=150m

>From the man mount page

Mount options for ramfs

Ramfs is a memory based filesystem. Mount it and you have it. Unmount it
and it is gone. Present since Linux 2.3.99pre4. There are no mount options.

~~
I'm guessing what you really want to use is tmpfs which actually does have
a size option.  Ramdisks are of a defined size (at least they were in
kernel 2.4 or less, they have changed in 2.6 IIRC) and are only writeable
by root (in 2.6), tmpfs on the other hand is user-writeable and
size-defineable.

Cheers
Todd


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to