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
fa56eaf5
Commit
fa56eaf5
authored
Oct 21, 2004
by
Mike Hibler
Browse files
Don't try /dev/MAKEDEV if that file doesn't exists
(i.e., for FreeBSD5)
parent
a94d17ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/mkextrafs.pl
View file @
fa56eaf5
...
...
@@ -175,7 +175,10 @@ close(DL);
mysystem
("
disklabel -R -r
$slicedev
$tmpfile
");
unlink
(
$tmpfile
);
mysystem
("
cd /dev; ./MAKEDEV
${slicedev}
c
");
# FreeBSD 5 doesn't have MAKEDEV
mysystem
("
cd /dev; ./MAKEDEV
${slicedev}
c
")
if
(
-
e
"
/dev/MAKEDEV
");
mysystem
("
newfs -U -i 25000
$fsdevice
");
mysystem
("
echo
\"
$fsdevice
$mountpoint
ufs rw 0 2
\"
>> /etc/fstab
");
...
...
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