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)
Sun, Oct 12, 6:54 PM
Unknown Object (File)
Tue, Oct 7, 10:55 AM
Unknown Object (File)
Mon, Sep 15, 1:55 PM
Unknown Object (File)
Sep 15 2025, 1:28 AM
Unknown Object (File)
Sep 9 2025, 7:39 PM
Unknown Object (File)
Aug 18 2025, 3:29 PM
Unknown Object (File)
Aug 18 2025, 10:31 AM
Unknown Object (File)
Aug 16 2025, 1:56 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