mount (cc42ef5328963ee55c3305b136e9a86145f24594) mount (6a02539959cb36c4777f962d3d7ef4a76fbe0c24)
1#!/bin/sh
2#-
3# Copyright (c) 2011 Nathan Whitehorn
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 42 unchanged lines hidden (view full) ---

51 --msgbox "Error mounting partition $i:\n$MNTERROR" 0 0
52 exit 1
53 fi
54done
55
56# User might want a shell and require devfs, so mount it
57mkdir $BSDINSTALL_CHROOT/dev 2>/dev/null
58mount -t devfs devfs $BSDINSTALL_CHROOT/dev
1#!/bin/sh
2#-
3# Copyright (c) 2011 Nathan Whitehorn
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:

--- 42 unchanged lines hidden (view full) ---

51 --msgbox "Error mounting partition $i:\n$MNTERROR" 0 0
52 exit 1
53 fi
54done
55
56# User might want a shell and require devfs, so mount it
57mkdir $BSDINSTALL_CHROOT/dev 2>/dev/null
58mount -t devfs devfs $BSDINSTALL_CHROOT/dev
59
60# If installing from the DVD, mount packages where they'll be accessible
61if [ -d /packages ]; then
62 mkdir -p $BSDINSTALL_CHROOT/dist/packages
63 mount -t nullfs /packages $BSDINSTALL_CHROOT/dist/packages
64fi