Re: atari sysinst.fs overflow again
[email protected] (Christos Zoulas) Sat, 18 Nov 2017 19:16:11 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.ports.atari |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]>, Izumi Tsutsui <[email protected]> wrote: >http://mail-index.netbsd.org/source-changes/2017/11/15/msg089733.html >> Module Name: src >> Committed By: tsutsui >> Date: Wed Nov 15 16:37:00 UTC 2017 >> >> Modified Files: >> src/distrib/atari/floppies/install: list >> >> Log Message: >> Put back /bin/cp and /sbin/sysctl to installation binaries. >> >> - cp(1) is explicitly required by sysinst(8), cp_to_target() in >> src/usr.sbin/sysinst/target.c, to copy bootloader to targetroot >> - sysctl(8) is required by src/distrib/atari/floppies/common/dot.profile >> to detect the root device (fd or md) >> >> This might cause floppy overflow on HEAD again, but works on 8.0_BETA. >> >> Should be pulled up to netbsd-8. > >As I was afraid, this change causes -current sysinst.fs overflow again: > >https://releng.netbsd.org/builds/HEAD/201711180030Z/atari.build.failed >--- >Calculated size of `sysinst.fs.tmp': 1474560 bytes, 320 inodes >Extent size set to 4096 >sysinst.fs.tmp: 1.4MB (2880 sectors) block size 4096, fragment size 512 > using 1 cylinder groups of 1.41MB, 360 blks, 384 inodes. >super-block backups (for fsck -b #) at: > 32,nbmakefs: Writing inode 306 (work/./usr/mdec/milan/bootxx), bytes >4096 + 2560: No space left on device >Populating `sysinst.fs.tmp' >--- > >Removing /bin/df (MAKEDEV(8) has no longer required it) is not enough, >so I'm trying to remove sysctl(8) next since it's used only to get >root device, as noted in the commit log. > >With @s_mitu's help, I've managed to get root device from dmesg output >with sed(1): I don't think you need to specify the root device to remount root anymore: [2:15pm] 125#cp /dev/null /etc/fstab [2:15pm] 126#mount -u / christos