File: DEV

package info (click to toggle)
cruft 0.9.16
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,308 kB
  • sloc: ansic: 803; perl: 315; sh: 178; makefile: 61
file content (9 lines) | stat: -rwxr-xr-x 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/dash
# If cruft is not entering /dev, then don't scan it here either
if mount | awk '$3 == "/dev" {print $1}' | egrep -q '^(proc|devpts|nfs[1234]?|ncp|coda|(a|smb|ci|ncp|usb|tmp|sys)fs)$'
then
	exit 0
else
: #	find /dev
# XXX maybe get a list from makedev?
fi