On 2006/09/15 17:59, Ray wrote:
> I'm using fstab to create /var /tmp and /dev in mfs using swap in fstab to 
> save writes to the CF card in our device.

mfs /dev won't save writes, it's mostly needed when you mount / ro
(as you might do if you want to recover from an unclean shutdown more
easily).

> swap /var mfs rw,-P=/template/var,-s=65535,noexec,nosuid,nodev 0 0
> swap /dev mfs rw,-P=/template/dev,-s=1200,-i=128,noexec,nosuid 0 0
> Warning: inode blocks/cyl group (132) >= data blocks (63) in last
>      cylinder group.  This implies 1022 sector(s) cannot be allocated.

that's from /var, increasing to 65536 or dropping to 64512
would waste less.

you might want to lower /var size and log to memory-buffers instead;
they are circular and avoid the risk of filling /var with logs.
See syslog.conf(5), syslogc(8).

Reply via email to