Commit fa56eaf5 authored by Mike Hibler's avatar Mike Hibler

Don't try /dev/MAKEDEV if that file doesn't exists

(i.e., for FreeBSD5)
parent a94d17ab
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment