代码搜索:DEV
找到约 10,000 项符合「DEV」的源代码
代码结果 10,000
www.eeworm.com/read/188898/8509558
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/188898/8509635
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/188898/8509664
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/188898/8509665
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
www.eeworm.com/read/290033/8510264
c yaffs_mtdif2.c
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Char
www.eeworm.com/read/290033/8510277
c yaffs_mtdif.c
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Char
www.eeworm.com/read/188490/8536810
sbull_unload
#!/bin/sh
module="sbull"
device="sbull"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# Remove stale nodes
rm -f /dev/${device}[a-d]* /dev/${device}
www.eeworm.com/read/188490/8536851
sculld_unload
#!/bin/sh
module="sculld"
device="sculld"
# 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/8536861
sculld_load
#!/bin/sh
module="sculld"
device="sculld"
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/8536880
scullc_unload
#!/bin/sh
module="scullc"
device="scullc"
# invoke rmmod with all arguments we got
/sbin/rmmod $module $* || exit 1
# remove nodes
rm -f /dev/${device}[0-3] /dev/${device}
exit 0