dd de decomp16 DESCRIBE dev2name devsize df dhcpd \
dhrystone diff dirname dis88 du dumpcore easypack \
ed eject elle elvis env expand factor file \
- find finger fingerd fix fold format fortune fsck \
+ find finger fingerd fix fold format fortune fsck.mfs \
fsck1 ftp101 ftpd200 getty grep gomoku head host \
hostaddr id ifconfig ifdef indent install \
intr ipcrm ipcs irdpd isoread join kill last leave \
less lex life loadkeys loadramdisk logger login look lp \
lpd ls lspci M m4 mail make MAKEDEV man \
- mdb mdocml mesg mined mkdep mkdir mkdist mkfifo mkfs mknod \
+ mdb mdocml mesg mined mkdep mkdir mkdist mkfifo mkfs.mfs mknod \
mkproto modem mount mt netconf newroot nice acknm nohup \
nonamed od packit packman passwd paste patch pax \
ping postinstall poweroff pr prep printf printroot \
-PROG= fsck
+PROG= fsck.mfs
+SRCS= fsck.c
CPPFLAGS+= -I${MINIXSRCDIR}/servers
-BINDIR= /bin
+BINDIR= /sbin
MAN=
.include <bsd.prog.mk>
-PROG= mkfs
+PROG= mkfs.mfs
+SRCS= mkfs.c
+BINDIR= /sbin
CPPFLAGS+= -I${MINIXSRCDIR}/servers
MAN=
exit 1
fi
-PATH=/bin:/usr/bin
+PATH=/bin:/sbin:/usr/bin
export PATH
partition /dev/$primary 1 81:${ROOTSECTS}* 81:$homesize 81:0+ > /dev/null || exit
echo "Creating /dev/$root for / .."
-mkfs /dev/$root || exit
+mkfs.mfs /dev/$root || exit
if [ "$nohome" = 0 ]
then
if [ ! "$auto" = r ]
then echo "Creating /dev/$home for /home .."
- mkfs -B $blocksizebytes /dev/$home || exit
+ mkfs.mfs -B $blocksizebytes /dev/$home || exit
fi
else echo "Skipping /home"
fi
echo "Creating /dev/$usr for /usr .."
-mkfs -B $blocksizebytes /dev/$usr || exit
+mkfs.mfs -B $blocksizebytes /dev/$usr || exit
if [ "$nohome" = 0 ]
then
$(CC) -o $@ bintoc.c
image: proto.gen mtab rc $(PROGRAMS) $(EXTRA)
- mkfs image proto.gen || { rm -f image; false; }
+ mkfs.mfs image proto.gen || { rm -f image; false; }
at_wini: ../at_wini/at_wini
install -s ../$@/$@ $@
# Favourite editor and pager, search path for binaries, etc.
export EDITOR=vi
export PAGER=more
-export PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/llvm/bin
+export PATH=$HOME/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/llvm/bin
} # End of no-repeat.
if [ "$fflag" ]
then
umount $usr
- echo "fsck / - $root"
- intr fsck $fsckopts $root
- echo "fsck /usr - $usr"
- intr fsck $fsckopts $usr
+ echo "fsck.mfs / - $root"
+ intr fsck.mfs $fsckopts $root
+ echo "fsck.mfs /usr - $usr"
+ intr fsck.mfs $fsckopts $usr
if [ ! -z "$home" ]
- then echo "fsck /home - $home"
- intr fsck $fsckopts $home
+ then echo "fsck.mfs /home - $home"
+ intr fsck.mfs $fsckopts $home
fi
mount $bin_img $usr /usr
fi
# Create a filesystem on the target ramdisk
ramdisk $kbs $ramdisk
- mkfs -B $BS -i $inodes $ramdisk
+ mkfs.mfs -B $BS -i $inodes $ramdisk
}
RELEASEDIR=/usr/r-staging
mkdir -p $RELEASEPACKAGESOURCES
echo " * Transfering bootstrap dirs to $RELEASEDIR"
-cp -p /bin/* /usr/bin/* $RELEASEDIR/$XBIN
+cp -p /bin/* /usr/bin/* /sbin/* $RELEASEDIR/$XBIN
cp -rp /usr/lib $RELEASEDIR/usr
cp -rp /bin/sh /bin/echo $RELEASEDIR/bin
cp -rp /usr/bin/make /usr/bin/install /usr/bin/yacc /usr/bin/lex /usr/bin/asmconv $RELEASEDIR/usr/bin