Actions
Bug #3207
closedbug/feature expansion: ufslabels.sh doesn't account for gmirror systems.
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/16/2013
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
Attempting to run ufslabels.sh on a system using gmirror gives the following:
sed: 1: "s/mirror/gm0s1a/ufsid\/ ...": bad flag in substitute command: 'u' FS: / on device mirror/gm0s1a with ufsid 46404044387e2bbf FS: Swap on device mirror/gm0s1b sed: 1: "s/mirror/gm0s1b/label\/ ...": bad flag in substitute command: 'l' ==================== Current fstab: # Device Mountpoint FStype Options Dump Pass# /dev/mirror/gm0s1a / ufs rw 1 1 /dev/mirror/gm0s1b none swap sw 0 0 ==================== New fstab: # Device Mountpoint FStype Options Dump Pass# /dev/mirror/gm0s1a / ufs rw 1 1 /dev/mirror/gm0s1b none swap sw 0 0 Commit changes? (y/n):
It might make sense to detect that it is a gmirror and to display a message accordingly vs spitting out errors.
At least if someone isn't paying attention, it doesn't appear to break things.. (though I didn't say yes to verify that)
Updated by Jim Pingle over 11 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset c4eeb1c472b978a3669a2564f9a1e3733965be99.
Updated by Jim Pingle over 11 years ago
Applied in changeset 336e899a3917bb4e68813c3852436cbda12128ff.
Updated by Chris Buechler about 10 years ago
- Status changed from Feedback to Resolved
Actions