I need to create a small RAM disk on the TS7250. I have found much material
relating to doing that in Linux, but they all require the utility 'mke2fs' or
'mkfs.' These do not appear to exist in the standard Linux load of the TS7250
which I bought in August 2009 (I have ts_linux v1.03--uses Busybox).
Does anyone know how I can create a RAM disk in this environment? I would
prefer not to have to boot Debian--which uses GNU instead of Busybox and might
have mkfs command. I have seen references in the 'arm-linux-ts72xx' July 2009
manual (page 24) to using a ram disk to boot to a USB, but it begs the question
of creating the RAM disk.
Here is what I have found in Linux literature:
mkdir /mnt/ramdisk
mknod -m 660 /dev/ram b 1 1
dd if=/dev/zero of=/dev/ram bs=1k count=4k
mkfs.ext2 /dev/ram (or mke2fs -t ext2 /dev/ram)
mount -t ext2 /dev/ram /mnt/ramdisk
then 'ls /mnt/ram' should show a directory of the ram disk.
This works on Knoppix Linux.
The first three steps appear to work on the TS7250, but the command for
creating the file structure on the 'disk' (mkfs) does not as mkfs does not
exist. I can't very well format the native RAM of the TS7250 on another Linux
system and port it over.
Any suggestions?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|