Re: atari sysinst.fs overflow again
David Ross <[email protected]> Tue, 21 Nov 2017 10:38:01 -0800
| Newsgroups | gmane.os.netbsd.ports.atari |
|---|---|
| Message-ID | <CAN0c_7Lh71vE6B=gyZfT3phV_-wSdTLZ-veOPVcEUxqTfPV0XA@mail.gmail.com> |
> 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) I believe the prepare floppy is ancient, and maybe had something to do with preparing a disk with AHDI compatible partitioning or something like that. I don't use the prepare floppy in my install process. Dave On Tue, Nov 21, 2017 at 9:47 AM, Christos Zoulas <[email protected]> wrote: > 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 >