summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/tape.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/tape.c')
-rw-r--r--usr.sbin/sysinstall/tape.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/usr.sbin/sysinstall/tape.c b/usr.sbin/sysinstall/tape.c
index fd73da5..d5631d0 100644
--- a/usr.sbin/sysinstall/tape.c
+++ b/usr.sbin/sysinstall/tape.c
@@ -42,14 +42,6 @@
static Boolean tapeInitted;
-char *
-mediaTapeBlocksize(void)
-{
- char *cp = variable_get(VAR_TAPE_BLOCKSIZE);
-
- return cp ? cp : DEFAULT_TAPE_BLOCKSIZE;
-}
-
Boolean
mediaInitTape(Device *dev)
{
@@ -82,9 +74,9 @@ mediaGetTape(Device *dev, char *file, Boolean probe)
/* We know the tape is already in the drive, so go for it */
msgNotify("First extracting distributions from %s...", dev->description);
if (!strcmp(dev->name, "rft0"))
- i = vsystem("ft | cpio -idum %s --block-size %s", cpioVerbosity(), mediaTapeBlocksize());
+ i = vsystem("ft | cpio -idum %s", cpioVerbosity());
else
- i = vsystem("cpio -idum %s --block-size %s -I %s", cpioVerbosity(), mediaTapeBlocksize(), dev->devname);
+ i = vsystem("cpio -idum %s -I %s", cpioVerbosity(), dev->devname);
if (!i) {
tapeInitted = TRUE;
msgDebug("Tape initialized successfully.\n");
OpenPOWER on IntegriCloud