Page MenuHomeFreeBSD

rescue: add fetch
Needs ReviewPublic

Authored by kevans on Jan 30 2020, 2:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:51 AM
Unknown Object (File)
Oct 27 2023, 1:30 PM
Unknown Object (File)
Sep 3 2023, 9:15 PM
Unknown Object (File)
Jul 14 2023, 6:01 PM
Unknown Object (File)
May 14 2023, 6:47 PM
Unknown Object (File)
Apr 25 2023, 7:07 PM
Unknown Object (File)
Apr 25 2023, 2:20 PM
Unknown Object (File)
Jan 1 2023, 9:31 PM
Subscribers

Details

Summary

On a system where /usr/bin/fetch is hosed or missing, a /rescue/fetch could be incredibly handy to grab distribution set or cherry-pick single libs/binaries as needed to recover the system.

Obviously one may need to slap a --no-verify-peer or find an HTTP alternative depending on the level of destruction that's occurred, but this is much better than wasting time on reboots and more complete rescue media if one already knows what to fetch for recovery.

This adds about 500K to /rescue/rescue, but I think the tradeoff is worth it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29043