Deleted Added
full compact
rc.subr (132892) rc.subr (137451)
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $
1# $NetBSD: rc.subr,v 1.60 2003/07/26 05:13:47 lukem Exp $
2# $FreeBSD: head/etc/rc.subr 132892 2004-07-30 17:19:35Z mtm $
2# $FreeBSD: head/etc/rc.subr 137451 2004-11-09 10:03:17Z keramida $
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

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

1284 return 0
1285}
1286
1287# Provide a function for normalizing the mounting of memory
1288# filesystems. This should allow the rest of the code here to remain
1289# as close as possible between 5-current and 4-stable.
1290# $1 = size
1291# $2 = mount point
3#
4# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
5# All rights reserved.
6#
7# This code is derived from software contributed to The NetBSD Foundation
8# by Luke Mewburn.
9#
10# Redistribution and use in source and binary forms, with or without

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

1284 return 0
1285}
1286
1287# Provide a function for normalizing the mounting of memory
1288# filesystems. This should allow the rest of the code here to remain
1289# as close as possible between 5-current and 4-stable.
1290# $1 = size
1291# $2 = mount point
1292# $3 = (optional) bytes-per-inode
1292# $3 = (optional) extra mdmfs flags
1293mount_md() {
1294 if [ -n "$3" ]; then
1293mount_md() {
1294 if [ -n "$3" ]; then
1295 bpi="-i $3"
1295 flags="$3"
1296 fi
1296 fi
1297 /sbin/mdmfs $bpi -s $1 -M md $2
1297 /sbin/mdmfs $flags -s $1 -M md $2
1298}
1299
1300fi
1298}
1299
1300fi