more than one ramdisk

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jun 24 13:12:11 UTC 2014


On 2014-06-24 15:08, Rohner Thomas wrote:
> Yes, I do mount 2 different filesystems (both FAT16)  on a RAM-Disk. Is this allowed?

The RAM disk count is limited only by your available RAM.

> The binary files are generated by makefile.
>
> @dd if=/dev/zero of=fatbin1 bs=1024 count 2048 > /dev/null
> /sbin/mkfs.vfat -n name1 -i DiskID1 -F 12 -S 512 -s 1 -r 512 -f -v fatbin1
> mcopy -b/ -i fatbin1 content/* ::/
>
> @dd if=/dev/zero of=fatbin2 bs=512 count 1024 > /dev/null
> /sbin/mkfs.vfat -n name2 -i DiskID2 -F 12 -S 512 -s 1 -r 512 -f -v fatbin2
> mcopy -b/ -i fatbin2 content/* ::/
>
> Should I use some more options?

Ok, but how do you create the RAM disk in RTEMS?

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list