projects
/
mapsector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Some fixes for karmic
[mapsector.git]
/
lib
/
50_map_partition.sh
diff --git
a/lib/50_map_partition.sh
b/lib/50_map_partition.sh
index
ec5fc2b
..
76cae0f
100644
(file)
--- a/
lib/50_map_partition.sh
+++ b/
lib/50_map_partition.sh
@@
-1,6
+1,6
@@
detect_partition()
{
- [ -z "`fdisk -l $device 2>&1 >/dev/null`" ]
+ file -bks $device | grep -qF partition
}
describe_partition()