Page MenuHomeFreeBSD

bsdinstall mount: Replace dialog with bsddialog
ClosedPublic

Authored by asiciliano on Mar 24 2022, 1:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 18, 12:05 PM
Unknown Object (File)
Wed, Mar 18, 12:01 PM
Unknown Object (File)
Sun, Mar 15, 4:00 AM
Unknown Object (File)
Sun, Mar 8, 3:16 AM
Unknown Object (File)
Sat, Mar 7, 11:44 PM
Unknown Object (File)
Thu, Mar 5, 1:19 PM
Unknown Object (File)
Feb 26 2026, 10:44 AM
Unknown Object (File)
Feb 14 2026, 2:38 PM
Subscribers

Details

Summary

Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility.

Test Plan

it is just a --msgbox,
anyway bsddialog runs if an error occurs, to cause it I changed the first line:

#TMP_FSTAB=${TMPDIR:-"/tmp"}/bsdinstall-tmp-fstab
TMP_FSTAB="/etc/fstab"

then:

% sh ./mount
./mount: cannot create /etc/fstab: Permission denied
Ctrl-C

┌───────────────────┤Error├───────────────────┐
│ Error mounting partition /:                 │  
│ mount: /dev/ada0p4: Operation not permitted │  
├─────────────────────────────────────────────┤  
│                  [  OK  ]                   │  
└─────────────────────────────────────────────┘

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable