Page MenuHomeFreeBSD

bsdinstall: Use TMPDIR if set
ClosedPublic

Authored by freqlabs on Dec 30 2019, 11:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 5:48 AM
Unknown Object (File)
Sun, Sep 21, 1:21 AM
Unknown Object (File)
Sat, Sep 20, 2:17 AM
Unknown Object (File)
Fri, Sep 19, 2:52 AM
Unknown Object (File)
Sep 18 2025, 4:41 PM
Unknown Object (File)
Sep 17 2025, 7:08 AM
Unknown Object (File)
Sep 16 2025, 12:23 AM
Unknown Object (File)
Sep 15 2025, 8:19 AM
Subscribers

Details

Reviewers
bcran
darkfiberiru_gmail.com
Group Reviewers
manpages
Summary

This allows separate bsdinstall workflows to run simultaneously without stomping on each other, by specifying different TMPDIR and BSDINSTALL_CHROOT paths for each installation. This is beneficial when using bsdinstall scripts to prepare several different VM volumes, for example.

If TMPDIR is unset, it defaults to /tmp, which preserves the existing behavior.

Sponsored by: iXsystems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Use $BSDINSTALL_CHROOT in place of /mnt for umount.

bcr added a subscriber: bcr.

Man page looks good to me.

Looks like a good change to me. Fixes my concern about doing parallel runs for things like vm's

This revision is now accepted and ready to land.Dec 31 2019, 7:59 PM

@bcran Thanks! Would you mind committing this for me? I don't have the bit.

In D22979#504080, @ryan_freqlabs.com wrote:

@bcran Thanks! Would you mind committing this for me? I don't have the bit.

Sure! I'll try and get it committed today.

Sure! I'll try and get it committed today.

Thank you! :)

In D22979#507973, @ryan_freqlabs.com wrote:

Thank you! :)

Sorry for the delay, I've been ill.