Skip to main content.

2002-Mar-08

Added inittodr() at end of /usr/src/sys/isofs/cd9660/cd9660_vfsops.c so when root is cd9660 it will get a system time (instead of 1970!). This is fixed in current. With stable release, it will still log a warning.

My kernel reported:

ex0 at pci0 dev 18 function 0: can't map i/o space
I read a posting that said to turn off "PNP OS" on BIOS. Once I relearned that F10 gets into the BIOS on a Compaq Presario, I fixed this (and I could get on the net).

I learned about mount_null(8). Basically, it does nothing: I use it to make my writable /var/tmp/log look like /var/log. (Or in other words: be able to use my read-only directories because they are really bypassed to a writable directory.) For example:

swap            /var/tmp        mfs     rw,-s=5m       0 0
And: "mount -t null /var/tmp/root root". I may have problems with my mount_null on mount_mfs setup. My kernel reported I was out of space and when I deleted files, it wasn't reclaimed. Then I created and deleted more files (to test) and more space was used. (Well, really it wasn't: only 1445KB out of 4927KB was used.)
# ps auw -p 2023
USER  PID %CPU %MEM  VSZ  RSS TT STAT STARTED    TIME COMMAND
root 2023  0.0  5.4 5580 5096 ?? Ss    9:17AM 0:00.83 mount_mfs -s 5m swap
/var/tmp
# du -sk /var/tmp/
1445    /var/tmp/
# df | grep /var/tmp
mfs:2023               4927     4821     -141   103%    /var/tmp
/var/tmp/etc           4927     4821     -141   103%    /etc
/var/tmp/tmp           4927     4821     -141   103%    /tmp
/var/tmp/var/log       4927     4821     -141   103%    /var/log
/var/tmp/var/run       4927     4821     -141   103%    /var/run
/var/tmp/var/db        4927     4821     -141   103%    /var/db
/var/tmp/var/cron      4927     4821     -141   103%    /var/cron
/var/tmp/etc           4927     4821     -141   103%    /etc
/var/tmp/home          4927     4821     -141   103%    /home
/var/tmp/root          4927     4821     -141   103%    /root

I read Luke Mewburn's paper, "The Design and Implementation of the NetBSD rc.d system". I wanted to know if it is okay if multiple rc.d scripts have same PROVIDE keyword, like my script for "mountcritlocal". I think it is okay; anyways raidframe and ccd have same PROVIDE and so does postfix and sendmail.