[devmon 1.1.7] support raid /dev/mda in partition detection #28
This commit is contained in:
parent
12a3cf4a0c
commit
7c5f44d968
|
@ -6,6 +6,7 @@
|
||||||
autogen.sh ensure pot not deleted
|
autogen.sh ensure pot not deleted
|
||||||
improve denied 94 msg #24
|
improve denied 94 msg #24
|
||||||
default fmask=0133 for vfat ntfs msdos umsdos #25
|
default fmask=0133 for vfat ntfs msdos umsdos #25
|
||||||
|
[devmon 1.1.7] support raid /dev/mda in partition detection #28
|
||||||
0.4.1 2013-03-17:
|
0.4.1 2013-03-17:
|
||||||
update Russian translation
|
update Russian translation
|
||||||
added translation files to transifex.com
|
added translation files to transifex.com
|
||||||
|
|
10
src/devmon
10
src/devmon
|
@ -15,7 +15,7 @@ defaultmountoptions="noexec,nosuid,nodev,noatime"
|
||||||
help()
|
help()
|
||||||
{
|
{
|
||||||
cat << EOF
|
cat << EOF
|
||||||
devmon version 1.1.6 (distributed with udevil)
|
devmon version 1.1.7 (distributed with udevil)
|
||||||
Automounts and unmounts optical and removable drives
|
Automounts and unmounts optical and removable drives
|
||||||
Requires: udevil bash>=4 Also Recommended: eject spacefm|zenity
|
Requires: udevil bash>=4 Also Recommended: eject spacefm|zenity
|
||||||
Optional: udisks v1 may be substituted for udevil
|
Optional: udisks v1 may be substituted for udevil
|
||||||
|
@ -714,7 +714,7 @@ mountalldrives()
|
||||||
# Mount removable drives, no exec
|
# Mount removable drives, no exec
|
||||||
IFSOLD="$IFS"
|
IFSOLD="$IFS"
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
partlist=`grep " sd[a-z0-9]*$" /proc/partitions | sed 's/.* \(sd[a-z0-9]*\)/\1/'`
|
partlist=`grep " [ms]d[a-z0-9]*$" /proc/partitions | sed 's/.* \([ms]d[a-z0-9]*\)/\1/'`
|
||||||
for p in $partlist; do
|
for p in $partlist; do
|
||||||
if ( ignoredevice "/dev/$p" ); then
|
if ( ignoredevice "/dev/$p" ); then
|
||||||
continue
|
continue
|
||||||
|
@ -748,8 +748,8 @@ trapexit()
|
||||||
IFSOLD="$IFS"
|
IFSOLD="$IFS"
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
uerr=0
|
uerr=0
|
||||||
partlist=`grep " sd[a-z0-9]*$" /proc/partitions | \
|
partlist=`grep " [ms]d[a-z0-9]*$" /proc/partitions | \
|
||||||
sed 's/.* \(sd[a-z0-9]*\)/\1/'`
|
sed 's/.* \([ms]d[a-z0-9]*\)/\1/'`
|
||||||
for p in $partlist; do
|
for p in $partlist; do
|
||||||
if ( ignoredevice "/dev/$p" ); then
|
if ( ignoredevice "/dev/$p" ); then
|
||||||
continue
|
continue
|
||||||
|
@ -793,7 +793,7 @@ if (( mountmode != 0 )); then
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
if (( unmountrem == 1 )); then
|
if (( unmountrem == 1 )); then
|
||||||
# Unmount All Removable Drives
|
# Unmount All Removable Drives
|
||||||
partlist=`grep " sd[a-z0-9]*$" /proc/partitions | sed 's/.* \(sd[a-z0-9]*\)/\1/'`
|
partlist=`grep " [ms]d[a-z0-9]*$" /proc/partitions | sed 's/.* \([ms]d[a-z0-9]*\)/\1/'`
|
||||||
msgtitle="devmon unmount"
|
msgtitle="devmon unmount"
|
||||||
else
|
else
|
||||||
# Unmount Recent
|
# Unmount Recent
|
||||||
|
|
Loading…
Reference in New Issue
Block a user