代码搜索:DEV
找到约 10,000 项符合「DEV」的源代码
代码结果 10,000
www.eeworm.com/read/188490/8536899
scullc_load
#!/bin/sh
module="scullc"
device="scullc"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staff"
else
www.eeworm.com/read/188490/8536920
scullv_load
#!/bin/sh
module="scullv"
device="scullv"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staff"
else
www.eeworm.com/read/188490/8536938
scullv_unload
#!/bin/sh
module="scullv"
device="scullv"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}
exit 0
www.eeworm.com/read/188490/8536960
scull_load
#!/bin/sh
# $Id: scull_load,v 1.4 2004/11/03 06:19:49 rubini Exp $
module="scull"
device="scull"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep -q '^st
www.eeworm.com/read/188490/8536965
scull_unload
#!/bin/sh
module="scull"
device="scull"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# Remove stale nodes
rm -f /dev/${device} /dev/${device}[0-3]
rm -f /dev/${device}
www.eeworm.com/read/188490/8537022
short_load
#!/bin/sh
module="short"
device="short"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staff"
else
www.eeworm.com/read/188490/8537025
short_unload
#!/bin/sh
module="short"
device="short"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# Remove stale nodes
rm -f /dev/${device}[0-7] /dev/${device}[0-7][ps] \
/dev/$
www.eeworm.com/read/188490/8537131
shortprint_load
#!/bin/sh
module="shortprint"
device="shortprint"
mode="666"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staf
www.eeworm.com/read/188490/8537165
scullp_load
#!/bin/sh
module="scullp"
device="scullp"
mode="664"
# Group: since distributions do it differently, look for wheel or use staff
if grep '^staff:' /etc/group > /dev/null; then
group="staff"
else
www.eeworm.com/read/188490/8537169
scullp_unload
#!/bin/sh
module="scullp"
device="scullp"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}
exit 0