[Bootcd-user] A Different RAM Disk Approach...

Vlado Plaga news@vlado-do.de
Sun, 06 Jun 2004 09:58:53 +0200


Mark Clarkson wrote:
> Your fstab line for tmpfs reads:
> 
>   /dev/ram0   /ram1/tmp       tmpfs   defaults        0       2

[...]

>  I'm sure this
> is harmless but I just wanted to know _why_ you used it.

I just started from the way I'd mount a ramdisk with a file system on it 
and changed the file system type to tmpfs - but you are right: changing 
/dev/ram0 does work and it does look better, ideed. ;-)

Before (changing /dev/ram0 to tmpfs):

/dev/ram0             125M  456K  125M   1% /ram1/tmp

After:

tmpfs                 125M  456K  125M   1% /ram1/tmp

This output was produced with "df -h".

Cheers,

Vlado