Remove the minix 'cpdir' command alias.

Change-Id: If51dcc8cb2f46e375638f1e2e4e8baddb790ab2c
This commit is contained in:
Zachary Storer 2014-07-26 14:52:16 -06:00 committed by Lionel Sambuc
parent aa42023c44
commit 9abd355d6b
6 changed files with 6 additions and 12 deletions

View file

@ -4,6 +4,4 @@ PROG= cp
BINDIR= /bin
MAN=
LINKS+= ${BINDIR}/cp ${BINDIR}/cpdir
.include <bsd.prog.mk>

View file

@ -697,7 +697,7 @@ mount /dev/$usr /mnt >/dev/null || exit # Mount the intended /usr.
list="`ls | fgrep -v install`"
for d in $list
do
cpdir -v $d /mnt/$d
cp -psmr -v $d /mnt/$d
done
) | progressbar "$USRFILES" || exit # Copy the usr floppy.
@ -705,7 +705,7 @@ umount /dev/$usr >/dev/null || exit # Unmount the intended /usr.
mount /dev/$root /mnt >/dev/null || exit
# Running from the installation CD.
cpdir -vx / /mnt | progressbar "$ROOTFILES" || exit
cp -psmr -vx / /mnt | progressbar "$ROOTFILES" || exit
chmod o-w /mnt/usr
cp /mnt/etc/motd.install /mnt/etc/motd
@ -753,7 +753,7 @@ then if mount /dev/$home /home 2>/dev/null
do h=`eval echo "~$u"`
if mkdir $h
then echo " * Creating home directory for $u in $h"
cpdir /usr/ast $h
cp -psmr /usr/ast $h
chown -R $u:operator $h
else echo " * Couldn't create $h"
fi

View file

@ -15,7 +15,6 @@
./bin/chmod minix-sys
./bin/command minix-sys
./bin/cp minix-sys
./bin/cpdir minix-sys
./bin/cpio minix-sys
./bin/date minix-sys
./bin/df minix-sys
@ -2243,7 +2242,6 @@
./usr/man/man1/compress.1 minix-sys
./usr/man/man1/continue.1 minix-sys
./usr/man/man1/cp.1 minix-sys
./usr/man/man1/cpdir.1 minix-sys
./usr/man/man1/cpio.1 minix-sys
./usr/man/man1/cpp.1 minix-sys gcccmds
./usr/man/man1/crc.1 minix-sys

View file

@ -49,7 +49,6 @@ MLINKS += ash.1 umask.1
MLINKS += ash.1 unset.1
MLINKS += ash.1 wait.1
MLINKS += compress.1 uncompress.1
MLINKS += cp.1 cpdir.1
MLINKS += svc.1 ci.1
MLINKS += svc.1 co.1

View file

@ -45,7 +45,6 @@ Only install newer files, i.e. merge the directory trees.
Don't ask, think 'yes' on any question.
.SH "SEE ALSO"
.BR remsync (1),
.BR cpdir (1),
.BR rsh (1),
.BR rcp (1),
.BR perror (3).

View file

@ -311,7 +311,7 @@ Next make a file system for on-disk /usr and copy the floppy /usr on to it.
.PP
.XB "mkfs\0/dev/c0d0p1s2"
.XB "mount\0/dev/c0d0p1s2\0/mnt"
.XB "cpdir\0\-v\0/usr\0/mnt"
.XB "cp -psmr\0\-v\0/usr\0/mnt"
.PP
This will create a file system on /dev/c0d0p1s2, mount it on /mnt, and copy the
contents of the \s-2USR\s+2 floppy onto it.
@ -330,7 +330,7 @@ fill it from the floppy:
.XB "mkfs\0\-i\0512\0/dev/c0d0p1s0"
.XB "mount\0/dev/fd0\0/fd0"
.XB "mount\0/dev/c0d0p1s0\0/mnt"
.XB "cpdir\0\-v\0/fd0\0/mnt"
.XB "cp -psmr\0\-v\0/fd0\0/mnt"
.XB "umount\0/dev/fd0"
.PP
Remove
@ -646,7 +646,7 @@ This is slower then a RAM disk, but saves a lot of memory.
The automatic installation script knows how to handle this new situation.
If you install manually then you have to use
.PP
.XB "cpdir\0\-vx\0/\0/mnt"
.XB "cp -psmr\0\-vx\0/\0/mnt"
.PP
to copy the root device to disk. When it is time to fill /usr and you only
have one floppy drive then hit DEL to get out of the installation script and