> Why is need to mount_mfs in /etc/rc and in /etc/fstab ?
It should be /usr/livecd/backups/etc/fstab
--------
Thus it only gets mounted once because it will be the fstab of the later root
directory, I will fix all this next week when I have time to look into it!
But thanks for the hint :)
>
> I made bootable cdrom you described.
Does it work otherwise ?
>
> There is output of df and mount - all filesystems mounted twice (but
> different in sizes) - is this correct behavior?
>
>
> openbsd# df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> /dev/cd0a 249976 249976 0 100% /
> mfs:12881 5631 1 5349 0% /dev
> mfs:4450 126463 1 120139 0% /tmp
> mfs:13817 126463 1 120139 0% /var
> mfs:25494 126463 1 120139 0% /root
> mfs:18595 126463 1 120139 0% /home
> mfs:766 62799 2074 57586 3% /etc
> mfs:28715 24783 5993 17551 25% /var
> mfs:13657 511 33 453 7% /dev
> mfs:13714 2959 1 2811 0% /tmp
> mfs:2250 3951 6 3748 0% /home
> mfs:25859 3951 5 3749 0% /root
>
> openbsd# mount
> /dev/cd0a on / type cd9660 (local, noatime, read-only)
> mfs:12881 on /dev type mfs (asynchronous, local, noatime, size=6000
> 1K-blocks)
> mfs:4450 on /tmp type mfs (asynchronous, local, noatime, size=130560
> 1K-blocks)
> mfs:13817 on /var type mfs (asynchronous, local, noatime, size=130560
> 1K-blocks)
>
> mfs:25494 on /root type mfs (asynchronous, local, noatime, size=130560
> 1K-blocks
> )
> mfs:18595 on /home type mfs (asynchronous, local, noatime, size=130560
> 1K-blocks
> )
> mfs:766 on /etc type mfs (asynchronous, local, noatime, size=65536
> 1K-blocks)
> mfs:28715 on /var type mfs (asynchronous, local, noatime, nodev, nosuid,
> size=25
> 600 1K-blocks)
> mfs:13657 on /dev type mfs (asynchronous, local, noatime, size=1024
> 1K-blocks)
> mfs:13714 on /tmp type mfs (asynchronous, local, noatime, nodev, nosuid,
> size=30
> 72 1K-blocks)
> mfs:2250 on /home type mfs (asynchronous, local, noatime, nodev, nosuid,
> size=40
> 96 1K-blocks)
> mfs:25859 on /root type mfs (asynchronous, local, noatime, nodev,
> nosuid, size=4
> 096 1K-blocks)
> ># ...
> ># After: rm -f /fastboot # XXX
> >(root now writeable)
> >
> >echo 'mounting mfs'
> >mount_mfs -s 51200 -o async,nosuid,nodev,noatime swap /var
> >mount_mfs -i 4096 -s 6144 -o async,nosuid,nodev,noatime swap /etc
> >mount_mfs -i 128 -s 2048 -o async,noatime swap /dev
> >mount_mfs -s 6144 -o async,nosuid,nodev,noatime swap /tmp
> >mount_mfs -s 8192 -o async,nosuid,nodev,noatime swap /home
> >mount_mfs -s 8192 -o async,nosuid,nodev,noatime swap /root
> >----------------------- /usr/livecd/etc/fstab
See above this should be /usr/livecd/backups/etc/fstab
> >----------------------------------
> >/dev/cd0a / cd9660 ro,noatime 0 0
> >/dev/cd0a / cd9660 ro,noatime 0 0
> >swap /dev mfs rw,noatime,-s=12000 0 0
> >swap /tmp mfs rw,noatime,-s=262144 0 0
> >swap /var mfs rw,noatime,-s=262144 0 0
> >swap /root mfs rw,noatime,-s=262144 0 0
> >swap /home mfs rw,noatime,-s=262144 0 0
> >swap /etc mfs rw,noatime,-s=131072 0 0
Regards,
ahb