mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Generate a MFS partition for / since ZFS likes to mount its disk on /
This commit is contained in:
parent
a57d617019
commit
cdf97b133a
@ -39,6 +39,12 @@ newfs /dev/${device} > /dev/null 2>&1
|
||||
mount /dev/${device} /home
|
||||
echo "done."
|
||||
|
||||
echo -n "Generating a MFS / partition... "
|
||||
device=$(mdconfig -a -t malloc -s ${partsize})
|
||||
newfs /dev/${device} > /dev/null 2>&1
|
||||
mount /dev/${device} /
|
||||
echo "done."
|
||||
|
||||
# Create some needed directories
|
||||
/bin/mkdir -p /var/db/pkg/
|
||||
/bin/mkdir -p /var/tmp/vi.recover/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user