Skip to content
GitLab
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-stable
Commits
69618b7a
Commit
69618b7a
authored
Dec 09, 2014
by
Mike Hibler
Browse files
Tweaks to "force a BSD filesystem" option (-b).
parent
11c03801
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/os/imagezip/ffs/ffs.c
View file @
69618b7a
...
...
@@ -113,11 +113,11 @@ read_bsdslice(int slice, int bsdtype, u_int32_t start, u_int32_t size,
* memory or vnode disk. We cons up a disklabel
* and let it rip.
*/
if
(
s
iz
e
==
0
)
{
if
(
s
lic
e
==
-
1
)
{
fprintf
(
stderr
,
"P%d: WARNING: No disklabel, "
"assuming single partition
\n
"
,
slice
+
1
);
dlabel
.
label
.
d_partitions
[
0
].
p_offset
=
0
;
dlabel
.
label
.
d_partitions
[
0
].
p_size
=
0
;
dlabel
.
label
.
d_partitions
[
0
].
p_size
=
size
;
dlabel
.
label
.
d_partitions
[
0
].
p_fstype
=
FS_BSDFFS
;
return
read_bsdpartition
(
infd
,
&
dlabel
.
label
,
0
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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