diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2007-06-01 12:33:52 +0000 |
---|---|---|
committer | martin f. krafft <madduck@madduck.net> | 2007-10-07 21:19:09 +0100 |
commit | 7e04cea5482dae26156ec270d84e7599f87b6713 (patch) | |
tree | 5722d72ebb7ca452c21df48f2371c7295453d62a /debian/mdadm.config | |
parent | 5d361d90f2de3437b3161abae104efce3309e10b (diff) |
use --portability for df call, thanks frans
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r-- | debian/mdadm.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config index 47278ab1..b06c21e5 100644 --- a/debian/mdadm.config +++ b/debian/mdadm.config @@ -62,7 +62,7 @@ chrooted() { get_root_raiddev() { local rootraiddev; - rootraiddev="$(df / | sed -rne 's,^(/dev/[^[:space:]]+).*,\1,p')" + rootraiddev="$(df --portability / | sed -rne 's,^(/dev/[^[:space:]]+).*,\1,p')" if ! mdadm --detail $rootraiddev >/dev/null 2>&1; then return 1 fi |