Re: increasing ramdisk size

Hisashi T Fujinaka <[email protected]>
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <[email protected]>
Never mind. I'm not sure of the math but I didn't crank IMAGESIZE up
enough.

On Thu, 16 Mar 2017, Hisashi T Fujinaka wrote:

> I'm building with debug, which makes things too big for the instkernel
> ramdisk. I edited the Makefile and increased the size of IMAGESIZE but I
> still get this error:
>
> --- ramdisk.fs ---
> [ "work.built" = work.built -a -f ramdisk.fs -a ! ramdisk.fs -ot work.built ] 
> || {  echo '#  ' " create " ramdisk/ramdisk.fs;  rm -f ramdisk.fs 
> ramdisk.fs.tmp;  /usr/obj/tools.mac68k/bin/nbmakefs -t ffs -B be -s 2188k -F 
> work.spec   -N /usr/src/etc -o bsize=4096,fsize=512  -o 
> optimization=space,minfree=0  -f 15 ramdisk.fs.tmp work  && mv -f 
> ramdisk.fs.tmp ramdisk.fs;  }
> #    create  ramdisk/ramdisk.fs
> Calculated size of `ramdisk.fs.tmp': 2240512 bytes, 293 inodes
> Extent size set to 4096
> ramdisk.fs.tmp: 2.1MB (4376 sectors) block size 4096, fragment size 512
>        using 1 cylinder groups of 2.14MB, 547 blks, 320 inodes.
> super-block backups (for fsck -b #) at:
> 32,nbmakefs: Writing inode 277 (dir), bytes 0 + 512: No space left on device
> Populating `ramdisk.fs.tmp'
> *** [ramdisk.fs] Error code 1
>
> What else do I have to change?
>
> Thanks.
>
>

-- 
Hisashi T Fujinaka - [email protected]
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.