[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
/dev/ram
How to the /dev/ram files work? I'd like to be able
to create multiple ram file systems of varying size.
Any ideas as to why using /dev/ram1 doesn't work for
me?
k6:/mnt1# emacs /mnt/root/livecd/makeboot.sh
k6:/mnt1# dd if=/dev/zero of=/dev/ram1 bs=1k count=1
dd: /dev/ram1: Operation not supported by device
k6:/mnt1# dd if=/dev/zero of=/dev/ram bs=1k count=1
1+0 records in
1+0 records out
k6:/mnt1# ls -al /dev/ram*
-rw-r--r-- 1 root root 1024 Aug 15 14:36 /dev/ram
brw-rw---- 1 root disk 1, 0 Jul 20 1998 /dev/ram0
brw-rw---- 1 root disk 1, 1 Jul 20 1998 /dev/ram1
brw-rw---- 1 root disk 1, 2 Jul 20 1998 /dev/ram2
brw-rw---- 1 root disk 1, 3 Jul 20 1998 /dev/ram3
brw-rw---- 1 root disk 1, 4 Jul 20 1998 /dev/ram4
brw-rw---- 1 root disk 1, 5 Jul 20 1998 /dev/ram5
brw-rw---- 1 root disk 1, 6 Jul 20 1998 /dev/ram6
brw-rw---- 1 root disk 1, 7 Jul 20 1998 /dev/ram7
lrwxrwxrwx 1 root root 4 Jul 10 20:22 /dev/ramdisk ->
ram0
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.
- Follow-Ups:
- Re: /dev/ram
- From: cloudmaster <cloudmaster@cloudmaster.com>