I would appreciate any donations. Wishlist or send e-mail type donations to maekawa AT daemon-systems.org.

Thank you.

MDSETIMAGE(8)               System Manager's Manual              MDSETIMAGE(8)

     mdsetimage - set kernel RAM disk image

     mdsetimage [-svx] [-b bfdname] [-I image_symbol] [-S size_symbol]
                [-T address] kernel image

     The mdsetimage command copies the disk image specified by image into the
     memory disk storage area in kernel.  The file system present in image
     will typically be used by the kernel as the root file system.

     To recognize kernel executable format, the -b flag specifies BFD name of

     The -I and -S flags specify the symbol names of image and size of memory
     disk drivers respectively.

     For a.out kernels only, the -T flag specifies the starting address of
     kernel text.  This flag is ignored for other kernel executable formats.

     If the -s flags is given, mdsetimage will write back the actual disk
     image size back into kernel.

     If the -v flag is given, mdsetimage will print out status information as
     it is copying the image.

     If the -x flag is given, mdsetimage will extract the disk image from
     kernel into the file image.  This is the opposite of the default

     md(4), mdconfig(8)

NetBSD 8.0                    September 21, 2016                    NetBSD 8.0