diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-12-26 17:18:39 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-12-26 17:18:39 +0000 |
commit | feecfbabe33fe8ef15c2b800451a01c960754be3 (patch) | |
tree | 02e7e836b2882e93a2f4953ce0ffbd6f83985c42 /etc/rc.d/var | |
parent | bedbb443300070be4feac72118beec936cf41afb (diff) | |
download | FreeBSD-src-feecfbabe33fe8ef15c2b800451a01c960754be3.zip FreeBSD-src-feecfbabe33fe8ef15c2b800451a01c960754be3.tar.gz |
o Add a comment indicating that if /tmp==/var/tmp in rc.diskless2, the
md device and file system creation occurs *after* mtree is run, and
as such an /var/tmp/* or /tmp/* entries will be under the mountpoint
(or fail) rather than appearing in the md filesystems. This prevents
the creation of vi.recover, and might affect other localizations that
rely on the mtree calls affecting these directories.
Diffstat (limited to 'etc/rc.d/var')
-rw-r--r-- | etc/rc.d/var | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/rc.d/var b/etc/rc.d/var index 1c2e0c6..229a82e 100644 --- a/etc/rc.d/var +++ b/etc/rc.d/var @@ -78,6 +78,10 @@ if [ -d /conf/default/etc ]; then fi # +# XXX make sure to create one dir for each printer as requested by lpd +# + +# If /tmp is a symlink, assume it points to somewhere writable, like # /var/tmp, otherwise, use a small memory filesystem for /tmp. mount_md ${tmpsize:=20480} /tmp 2 # XXX: mtree runs too early to create any directories needed in /tmp, |