projects
/
mapsector.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move library directory scan into 'load' function
[mapsector.git]
/
lib
/
10_scan_mountpoint.sh
1
detect_mountpoint()
2
{
3
true
4
}
5
6
describe_mountpoint()
7
{
8
true
9
}
10
11
do_mountpoint()
12
{
13
local devnums
14
devnums="`deviceid $device`"
15
16
while read dev dir opts; do
17
case "$dev" in
18
*:*) ;;
19
*)
20
if [ "$devnums" == "`deviceid $dev`" ]; then
21
echo "mountpoint $dir"
22
break
23
fi
24
;;
25
esac
26
done < /proc/mounts
27
28
return 1
29
}
30
31
register_scanner "mountpoint"