diff options
author | obrien <obrien@FreeBSD.org> | 2002-04-01 21:35:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-04-01 21:35:24 +0000 |
commit | 1f9ca3193732e910a1a2f6162841d6b3fab60a60 (patch) | |
tree | 8be7509f25eecde0b817510b46a17463663ec68d | |
parent | 0ddcf62ed59f8c10287786d52a41bd0772e9abdb (diff) | |
download | FreeBSD-src-1f9ca3193732e910a1a2f6162841d6b3fab60a60.zip FreeBSD-src-1f9ca3193732e910a1a2f6162841d6b3fab60a60.tar.gz |
Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp.
-rw-r--r-- | usr.sbin/sade/install.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/installUpgrade.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/media.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/package.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 9d69fca..892f8fa 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/install.c @@ -1115,7 +1115,7 @@ installVarDefaults(dialogMenuItem *self) variable_set2(VAR_FIXIT_TTY, "standard", 0); else variable_set2(VAR_FIXIT_TTY, "serial", 0); - variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0); + variable_set2(VAR_PKG_TMPDIR, "/var/tmp", 0); variable_set2(VAR_MEDIA_TIMEOUT, itoa(MEDIA_TIMEOUT), 0); if (getpid() != 1) variable_set2(SYSTEM_STATE, "update", 0); diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 9d69fca..892f8fa 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -1115,7 +1115,7 @@ installVarDefaults(dialogMenuItem *self) variable_set2(VAR_FIXIT_TTY, "standard", 0); else variable_set2(VAR_FIXIT_TTY, "serial", 0); - variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0); + variable_set2(VAR_PKG_TMPDIR, "/var/tmp", 0); variable_set2(VAR_MEDIA_TIMEOUT, itoa(MEDIA_TIMEOUT), 0); if (getpid() != 1) variable_set2(SYSTEM_STATE, "update", 0); diff --git a/usr.sbin/sysinstall/installUpgrade.c b/usr.sbin/sysinstall/installUpgrade.c index e32f11e..5b44b79 100644 --- a/usr.sbin/sysinstall/installUpgrade.c +++ b/usr.sbin/sysinstall/installUpgrade.c @@ -267,7 +267,7 @@ installUpgrade(dialogMenuItem *self) if (extractingBin) { while (!*saved_etc) { - char *cp = msgGetInput("/usr/tmp/etc", "Under which directory do you wish to save your current /etc?"); + char *cp = msgGetInput("/var/tmp/etc", "Under which directory do you wish to save your current /etc?"); if (!cp || !*cp || Mkdir(cp)) { if (msgYesNo("Directory was not specified, was invalid or user selected Cancel.\n\n" @@ -452,7 +452,7 @@ installUpgradeNonInteractive(dialogMenuItem *self) return DITEM_FAILURE; } - saved_etc = "/usr/tmp/etc"; + saved_etc = "/var/tmp/etc"; Mkdir(saved_etc); msgNotify("Preserving /etc directory.."); if (vsystem("tar -cpBf - -C /etc . | tar -xpBf - -C %s", saved_etc)) { diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c index 25dfac8..7577aac 100644 --- a/usr.sbin/sysinstall/media.c +++ b/usr.sbin/sysinstall/media.c @@ -294,7 +294,7 @@ mediaSetTape(dialogMenuItem *self) if (mediaDevice) { char *val; - val = msgGetInput("/usr/tmp", "Please enter the name of a temporary directory containing\n" + val = msgGetInput("/var/tmp", "Please enter the name of a temporary directory containing\n" "sufficient space for holding the contents of this tape (or\n" "tapes). The contents of this directory will be removed\n" "after installation, so be sure to specify a directory that\n" diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 5a21e32..f1a3b87 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -138,7 +138,7 @@ package_extract(Device *dev, char *name, Boolean depended) /* Make a couple of paranoid locations for temp files to live if user specified none */ if (!variable_get(VAR_PKG_TMPDIR)) { /* Set it to a location with as much space as possible */ - variable_set2(VAR_PKG_TMPDIR, "/usr/tmp", 0); + variable_set2(VAR_PKG_TMPDIR, "/var/tmp", 0); } Mkdir(variable_get(VAR_PKG_TMPDIR)); vsystem("chmod 1777 %s", variable_get(VAR_PKG_TMPDIR)); |