代码搜索:scull
找到约 804 项符合「scull」的源代码
代码结果 804
www.eeworm.com/read/222087/14706092
txt ldd_ scull (scull.h).txt
1 /*
2 * scull.h -- definitions for the char module
3 *
4 * Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet
5 * Copyright (C) 2001 O'Reilly & Associates
6 *
7 * The
www.eeworm.com/read/189071/8491251
init scull.init
#!/bin/bash
# Sample init script for the a driver module
DEVICE="scull"
SECTION="misc"
# The list of filenames and minor numbers: $PREFIX is prefixed to all names
PREFIX="scull"
FI
www.eeworm.com/read/189071/8491252
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/189071/8491258
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/189071/8491261
h scull.h
/*
* scull.h -- definitions for the char module
*
* Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet
* Copyright (C) 2001 O'Reilly & Associates
*
* The source code in this file can be fr
www.eeworm.com/read/188898/8509492
init scull.init
#!/bin/bash
# Sample init script for the a driver module
DEVICE="scull"
SECTION="misc"
# The list of filenames and minor numbers: $PREFIX is prefixed to all names
PREFIX="scull"
FI
www.eeworm.com/read/188898/8509497
scull_load
#!/bin/sh
module="scull"
device="scull"
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/8509499
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/188898/8509502
h scull.h
/*
* scull.h -- definitions for the char module
*
* Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet
* Copyright (C) 2001 O'Reilly & Associates
*
* The source code in this file can be fr
www.eeworm.com/read/188490/8536955
init scull.init
#!/bin/bash
# Sample init script for the a driver module
DEVICE="scull"
SECTION="misc"
# The list of filenames and minor numbers: $PREFIX is prefixed to all names
PREFIX="scull"
FI