rc.subr (126556) | rc.subr (127345) |
---|---|
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 126556 2004-03-03 15:28:44Z mtm $ | 2# $FreeBSD: head/etc/rc.subr 127345 2004-03-23 23:22:35Z brooks $ |
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 --- 1257 unchanged lines hidden (view full) --- 1268 1269 devfs_init_rulesets 1270 if ! devfs_domount "$jdev" $rs ; then 1271 warn "$_me: devfs was not mounted on $jdev" 1272 return 1 1273 fi 1274 return 0 1275} | 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 --- 1257 unchanged lines hidden (view full) --- 1268 1269 devfs_init_rulesets 1270 if ! devfs_domount "$jdev" $rs ; then 1271 warn "$_me: devfs was not mounted on $jdev" 1272 return 1 1273 fi 1274 return 0 1275} |
1276 1277# Provide a function for normalizing the mounting of memory 1278# filesystems. This should allow the rest of the code here to remain 1279# as close as possible between 5-current and 4-stable. 1280# $1 = size 1281# $2 = mount point 1282# $3 = (optional) bytes-per-inode 1283mount_md() { 1284 if [ -n "$3" ]; then 1285 bpi="-i $3" 1286 fi 1287 /sbin/mdmfs $bpi -s $1 -M md $2 1288} |
|