On Mon, May 09, 2011 at 08:49:17PM +0000, Stuart Henderson wrote:
> Why?

Whyt?++

.... Ken

> 
> On 2011-05-09, Ted Roby <ted.r...@gmail.com> wrote:
> > This patch enables MFS in RAMDISK_CD, adds the MFS flag to
> > distrib/special/newfs binary and creates the sbin/mount_mfs link for 
> > instbin.
> >
> > ted dot roby at gmail dot com
> >
> > Index: distrib/amd64/common/list
> >===================================================================
> > RCS file: /cvs/src/distrib/amd64/common/list,v
> > retrieving revision 1.24
> > diff -u -r1.24 list
> > --- distrib/amd64/common/list       18 Oct 2010 04:07:49 -0000      1.24
> > +++ distrib/amd64/common/list       7 May 2011 22:15:11 -0000
> > @@ -40,7 +40,7 @@
> >  LINK       instbin                                 sbin/mount_ffs
> >  LINK       instbin                                 sbin/reboot sbin/halt
> >  LINK       instbin                                 sbin/kbd
> > -LINK       instbin                                 sbin/newfs
> > +LINK       instbin                                 sbin/newfs 
> > sbin/mount_mfs
> >  LINK       instbin                                 sbin/ping
> >  LINK       instbin                                 sbin/restore
> >  LINK       instbin                                 sbin/route
> > Index: distrib/special/newfs/Makefile
> >===================================================================
> > RCS file: /cvs/src/distrib/special/newfs/Makefile,v
> > retrieving revision 1.2
> > diff -u -r1.2 Makefile
> > --- distrib/special/newfs/Makefile  28 Oct 2009 07:36:49 -0000      1.2
> > +++ distrib/special/newfs/Makefile  7 May 2011 22:15:11 -0000
> > @@ -3,7 +3,7 @@
> >  PROG=      newfs
> >  SRCS=      dkcksum.c getmntopts.c newfs.c mkfs.c
> >
> > -CFLAGS+= -I${.CURDIR}/../../../sbin/mount
> > +CFLAGS+=-DMFS -I${.CURDIR}/../../../sbin/mount
> 
> Some ramdisks for some arch are tight enough on space that this will
> be likely overflow them.
> 
> >  .PATH:  ${.CURDIR}/../../../sbin/newfs
> >  .PATH:  ${.CURDIR}/../../../sbin/mount
> >  .PATH:     ${.CURDIR}/../../../sbin/disklabel
> > Index: sys/arch/amd64/conf/RAMDISK_CD
> >===================================================================
> > RCS file: /cvs/src/sys/arch/amd64/conf/RAMDISK_CD,v
> > retrieving revision 1.116
> > diff -u -r1.116 RAMDISK_CD
> > --- sys/arch/amd64/conf/RAMDISK_CD  3 Apr 2011 12:32:05 -0000       1.116
> > +++ sys/arch/amd64/conf/RAMDISK_CD  7 May 2011 22:15:32 -0000
> > @@ -15,6 +15,7 @@
> >  option             FFS             # UFS
> >  option             FFS2            # UFS2
> >  #option            EXT2FS          # Linux ext2fs
> > +option             MFS
> >
> >  option             NFSCLIENT       # Network File System client

Reply via email to