diff options
author | phk <phk@FreeBSD.org> | 2002-09-22 09:48:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-09-22 09:48:02 +0000 |
commit | f9ed339e30af8ede557dea2684ba7e1b8696da0c (patch) | |
tree | d14fdd9dd21b6634f9136d93715345fb07ca6082 /etc/rc.d/resolv | |
parent | 1a1c831c079c1ee94f02ce7436727f9f3c5ff767 (diff) | |
download | FreeBSD-src-f9ed339e30af8ede557dea2684ba7e1b8696da0c.zip FreeBSD-src-f9ed339e30af8ede557dea2684ba7e1b8696da0c.tar.gz |
Use mdmfs(8) rather than rolling our own RAM-disks.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'etc/rc.d/resolv')
-rw-r--r-- | etc/rc.d/resolv | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index c5cffb0..6426caf 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -49,10 +49,7 @@ mount_md() if [ -n "$4" ]; then bpi="-i $4" fi - /sbin/mdconfig -a -t malloc -s $1 -u $3 - /sbin/disklabel -r -w md$3 auto - /sbin/newfs $bpi /dev/md$3c - /sbin/mount /dev/md$3c $2 + /sbin/mdmfs $bpi -s $1 -M md$3 $2 } # If there is a global system configuration file, suck it in. |