SVN: geninitrd/trunk/functions
glen
glen at pld-linux.org
Wed Jul 27 08:59:14 CEST 2011
Author: glen
Date: Wed Jul 27 08:59:14 2011
New Revision: 12277
Modified:
geninitrd/trunk/functions
Log:
use stat format busybox understands too
Modified: geninitrd/trunk/functions
==============================================================================
--- geninitrd/trunk/functions (original)
+++ geninitrd/trunk/functions Wed Jul 27 08:59:14 2011
@@ -120,7 +120,7 @@
dm_minor=${node#/dev/dm-}
;;
/dev/mapper/*)
- stat=$(stat -L --format=%T "$node") || die "stat failed: $node"
+ stat=$(stat -L -c %T "$node") || die "stat failed: $node"
dm_minor=$((0x$stat))
;;
esac
More information about the pld-cvs-commit
mailing list