Page MenuHomeFreeBSD

bsdinstall: Use TMPDIR if set
ClosedPublic

Authored by freqlabs on Dec 30 2019, 11:57 PM.

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
Lint
Lint Skipped
Unit
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.