rc.subr (149050) | rc.subr (149421) |
---|---|
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 149050 2005-08-14 18:02:22Z pjd $ | 2# $FreeBSD: head/etc/rc.subr 149421 2005-08-24 16:25:47Z yar $ |
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 --- 1278 unchanged lines hidden (view full) --- 1289# $1 = size 1290# $2 = mount point 1291# $3 = (optional) extra mdmfs flags 1292mount_md() 1293{ 1294 if [ -n "$3" ]; then 1295 flags="$3" 1296 fi | 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 --- 1278 unchanged lines hidden (view full) --- 1289# $1 = size 1290# $2 = mount point 1291# $3 = (optional) extra mdmfs flags 1292mount_md() 1293{ 1294 if [ -n "$3" ]; then 1295 flags="$3" 1296 fi |
1297 /sbin/mdmfs $flags -s $1 -M md $2 | 1297 /sbin/mdmfs $flags -s $1 md $2 |
1298} 1299 1300# ltr str src dst 1301# Change every $src in $str to $dst. 1302# Useful when /usr is not yet mounted and we cannot use tr(1), sed(1) nor 1303# awk(1). 1304ltr() 1305{ --- 52 unchanged lines hidden --- | 1298} 1299 1300# ltr str src dst 1301# Change every $src in $str to $dst. 1302# Useful when /usr is not yet mounted and we cannot use tr(1), sed(1) nor 1303# awk(1). 1304ltr() 1305{ --- 52 unchanged lines hidden --- |