[PD] ramdisk

Marc Lavallée odradek at videotron.ca
Mon Jun 2 01:57:18 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 1 Juin 2003 15:36, Tim Blechmann a écrit :
> to create a ramdisk under linux you need just a small script:
>
> dd if=/dev/zero of=/dev/ram bs=1k count=2048
> mke2fs -vm0 /dev/ram 2048
> mount /dev/ram /usr/local/patchdir

There's an article about ramdisks under Linux:
http://www.linuxfocus.org/English/July2001/article210.shtml

Another way to build a 2M ramdisk with a 2.4 kernel and ramfs support:
mkdir -p /mnt/ramdisk
mount -t ramfs none /mnt/ramdisk -o maxsize=2048

- -- 
Marc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+2pLeQdzoeKQ0PccRAjV/AJwOu7kyKC0gHH+Xvgfsrze8aAoVxQCeKxPU
G6KaWMK3BTmVxqUDK+JZcuQ=
=MsLB
-----END PGP SIGNATURE-----





More information about the Pd-list mailing list