Hello, Eddie.
I'm stuck trying to understand how to mount the root filesystem read-only
for an embedded application. Section 3.5 in the TS-Linux Developers Guide
gives steps to do this, including creating two small read-write ramdisk
partitions with these lines in /etc/fstab:
tmp_log /var/log tmpfs size=512K 0 0
tmp_var /var/run tmpfs size=100K 0 0
What is tmpfs? I don't see it in /dev or, in fact, anywhere on TS-Linux's
filesystem. Is this the RAM disk? How is it created? Do I have to do this
myself? There's nothing in section 3.5 that explains this.
Looking at TS-Linux FAQ, I see this about making a RAM disk:
mke2fs -vm0 /dev/ram0 1024
cd /mnt
mkdir ramdisk
mount /dev/ram0 /mnt/ramdisk
However, I am unable to find mke2fs in TS-Linux. Can you tell me where to
find it? I see no mkfs or any other command that looks like it makes a
filesystem (except mkfs.minix).
Will you please clarify the steps I should take to create the RAM disk?
Also, once I get the root filesystem mounted read-only, how can I change it
back to read-write? Should I log in via the console and remount it r/w,
then edit sysinit to do that with every reboot?
Thanks for your help.
Mike
------
Mike Dodd - Montpelier, VA
http://www.mdodd.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|