Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: atari sysinst.fs overflow again



In article <171122002316.M0107051%mirage.ceres.dti.ne.jp@localhost>,
Izumi Tsutsui  <tsutsui%ceres.dti.ne.jp@localhost> 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



Home | Main Index | Thread Index | Old Index