Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
feba4d40
Commit
feba4d40
authored
Apr 06, 2015
by
Mike Hibler
Browse files
Don't complain about "updating UFS1 FS" in the 99% of cases where we are not.
parent
a5386a06
Changes
2
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/freebsd/rc.frisbee
View file @
feba4d40
...
...
@@ -513,6 +513,18 @@ fixone() {
export
SLICEFIX_DOM0MEM
=
`
getvar DOM0MEM
"
$iline
"
unknown
`
export
SLICEFIX_DISABLEIF
=
`
getvar DISABLEIF
"
$iline
"
unknown
`
#
# XXX stop complaining about potential UFS1 problems
# unless we are loading old FBSD4xx image.
#
_os
=
`
getvar PARTOS
"
$iline
"
unknown
`
;
_osv
=
`
getvar OSVERSION
"
$iline
"
0
`
;
case
"
$_os
/
$_osv
"
in
FreeBSD/4.
*
)
export
SLICEFIX_OLDFBSD
=
1
;;
esac
$BINDIR
/slicefix
$PART
$DISK
return
$?
}
...
...
clientside/tmcc/freebsd/slicefix
View file @
feba4d40
...
...
@@ -59,6 +59,8 @@ esac
# Handle pseudo arguments in the environment.
#
OLDBSD
=
${
SLICEFIX_OLDBSD
:-
''
}
#
# Explicitly enable/disable ACPI (BSD only)
#
...
...
@@ -829,7 +831,7 @@ EOF1
umount
$rootdev
# XXX need to fixup FS, see big comment above
if
[
"x
$vers
"
!=
"x4"
]
;
then
if
[
"x
$vers
"
!=
"x4"
-a
-n
"
$OLDBSD
"
]
;
then
echo
"WARNING: FBSD
${
vers
}
may have modified the UFS1 root FS"
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment