Re: atari sysinst.fs overflow again

[email protected] (Christos Zoulas) Tue, 21 Nov 2017 17:47:10 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
In article <[email protected]>,
Izumi Tsutsui  <[email protected]> wrote:
>christos@ wrote:
>
>> all the sysctls to find the root device can be deleted and
>> the 'mount -u ${rootdev} /' can be changed to 'mount -u /'
>> or 'mount -u /kern/rootdev /'. All the atari kernels seem
>> to have kernfs.
>
>It requies /sbin/mount_kernfs in sysinst.fs instead,
>but it could be smaller than /sbin/sysctl?
>
>> Then to find the disks one can:
>> 
>>     sed -n -e 's/\(^[ws]d[0-9]\) at/\1/p' /kern/msgbuf
>
>Well, I'm not sure if src/distrib/atari/floppies/prepare
>is still necessary..
>(I don't know in which case it's used and I have never tried it)

It is smaller on x86:

[12:45pm] 139>ls -l /sbin/sysctl  /sbin/mount_kernfs
-r-xr-xr-x  1 root  wheel  14520 Feb 12  2017 /sbin/mount_kernfs*
-r-xr-xr-x  1 root  wheel  56288 Feb 12  2017 /sbin/sysctl*

Not only that, but if we are not using KERNFS during the installation
we should remove it from the kernels :-)

OTOH, I think leaving kernfs and changing sysctl to mount_kernfs is better.

christos