Project

General

Profile

« Previous | Next » 

Revision cdf97b13

Added by Scott Ullrich about 15 years ago

Generate a MFS partition for / since ZFS likes to mount its disk on /

View differences:

etc/rc.cdrom
39 39
mount /dev/${device} /home
40 40
echo "done."
41 41

  
42
echo -n "Generating a MFS / partition... "
43
device=$(mdconfig -a -t malloc -s ${partsize})
44
newfs /dev/${device} > /dev/null 2>&1
45
mount /dev/${device} /
46
echo "done."
47

  
42 48
# Create some needed directories
43 49
/bin/mkdir -p /var/db/pkg/
44 50
/bin/mkdir -p /var/tmp/vi.recover/

Also available in: Unified diff