mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
hfsprogs: initial import
Adds supports for hfsprogs, allowing the creation and verification of HFS/HFS+ filesystems. This creates two selectable packages: - hfsfsck - mkhfs A filesystem checking script is included with hfsfsck to allow OpenWrt to check/repair filesystem errors. Using Ubuntu's 332.25 sources plus their patches from debian/patches/. Signed-off-by: Florian Fainelli <florian@openwrt.org>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- diskdev_cmds-332.25/newfs_hfs.tproj/makehfs.c 2015-03-27 21:58:04.163171675 -0700
|
||||
+++ hfsprogs-332.25/newfs_hfs.tproj/makehfs.c 2015-03-27 21:56:03.687175020 -0700
|
||||
@@ -2119,10 +2119,12 @@
|
||||
sysctl(mib, 2, sysctlstring, &datalen, NULL, 0);
|
||||
SHA1_Update(&context, sysctlstring, datalen);
|
||||
#endif
|
||||
+#ifndef __UCLIBC__
|
||||
/* The system's load average: */
|
||||
datalen = sizeof(sysloadavg);
|
||||
getloadavg(sysloadavg, 3);
|
||||
SHA1_Update(&context, &sysloadavg, datalen);
|
||||
+#endif
|
||||
|
||||
/* The system's VM statistics: */
|
||||
#if !LINUX
|
||||
Reference in New Issue
Block a user