Bug 160530 - [nanobsd] [patch] remove hardcoding of slice names
Summary: [nanobsd] [patch] remove hardcoding of slice names
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 9.0-BETA1
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-09-07 00:10 UTC by Enji Cooper
Modified: 2022-10-17 12:36 UTC (History)
0 users

See Also:


Attachments
file.diff (2.78 KB, patch)
2011-09-07 00:10 UTC, Enji Cooper
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2011-09-07 00:10:04 UTC
The current nanobsd updatep* scripts encourage hardcoding via hardcoded slice numbers, which makes it much more difficult to make maintainable scripts.

This patch takes a first step at cleaning up the scripts to use variables instead, s.t. the scripts can be broken up in the next patch to generalized functions called from the top-level script or the individual updatep* scripts.

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-09-07 01:27:20 UTC
Responsible Changed
From-To: freebsd-bugs->imp

Over to maintainer.
Comment 2 Enji Cooper freebsd_committer freebsd_triage 2011-10-27 00:28:01 UTC
Ping? We've been using a variant of this patch for ~2 months now at iX
without issue, so I think it's ok to commit...
Thanks,
-Garrett
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:11 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:08 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>