Summary: | reduce requirements for zfs filesystems in zfsboot for unattended installations | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Willi Burmeister <wib+freebsd> | ||||
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | allanjude | ||||
Priority: | --- | ||||||
Version: | 10.1-RELEASE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: allanjude Date: Fri Apr 8 15:08:22 UTC 2016 New revision: 297713 URL: https://svnweb.freebsd.org/changeset/base/297713 Log: bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks Changes: head/usr.sbin/bsdinstall/scripts/zfsboot |
Created attachment 169025 [details] Patch for zfsboot adding a check for existing /tmp, /var/tmp The file /usr/libexec/bsdinstall/zfsboot contains the line: # NOTE: Requires /tmp, /var/tmp, /$ZFSBOOT_BOOTFS_NAME/$ZFSBOOT_BOOTFS_NAME The requirement for /tmp and /var/tmp is not really necessary if we apply a small patch to zfsboot (see attachment).