[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /dev/ram
For one thing, it looks like you made/overwrote /dev/ram, /dev/ram0's not
necessarily working for you either (it's a symlink on my system to
/dev/ram0, just like /dev/ramdisk).
Try looking into man ramsize, that might be marginally helpful... I'm not
coming up with anything useful about ramdisks so far, but ramsize has
something to do with the initial ramdisk size upon booting or something.
it apparently fills in teh value for the initial ramdisk if there's no
ramdisk parameter in lilo.conf. I came across something that claimed the
ramdisk had been changed to dynamically grow or shrink - but it was talking
about 1.3 kernels so take that as you may... :) If its dynamic, that may
possibly help with worrying about multiples, eh?
--Danny, who wants to know why there are more than one too
Mark Blunier wrote:
>
> 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.
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.
- References:
- /dev/ram
- From: Mark Blunier <blunier@ocslink.com>