Thread: Embedded.
View Single Post
Old 29th March 2009
diw's Avatar
diw diw is offline
Port Guard
 
Join Date: Jul 2008
Posts: 45
Default

Hiya.

Rather than stuff around with symlinks - something I am not 100% comfortable with, I formed my own plan.

Code:
# cat /etc/fstab
/dev/wd0a / ffs ro 1 1
swap /dev mfs rw,-P=/populate/dev,-s=16384 0 0
swap /var mfs rw,-P=/populate/var,-s=32768 0 0
swap /tmp mfs rw,-s=16384 0 0
Code:
# df
Filesystem  512-blocks      Used     Avail Capacity  Mounted on
/dev/wd0a       491612    445080     21952    95%    /
mfs:12843        15710        44     14882     0%    /dev
mfs:27993        31582      8998     21006    30%    /var
mfs:20489        15710         2     14924     0%    /tmp
Does this make sense?
It seems to work.
What do you think of my sizes?
What do you think of my genius plan?

Do I really need to worry about noatime, nosuid, etcetera?

Best wishes.
Reply With Quote