1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

mhddfs - Multi HDD [FUSE] File System

File system for unifying several mount points into one
This FUSE-based file system allows mount points (or directories) to be
combined, simulating a single big volume which can merge several hard
drives or remote file systems. It is like unionfs, but can choose the
drive with the most free space to create new files on, and can move
data transparently between drives.

WWW:	http://mhddfs.uvw.ru/

PR:		ports/136019
Submitted by:	Oleg Alexeenkov <proler at gmail.com>
Approved by:	tabthorpe (mentor)
This commit is contained in:
Alexander Logvinov 2009-06-26 12:31:27 +00:00
parent 111fcc280e
commit c19c33ab70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236658
5 changed files with 62 additions and 0 deletions

View File

@ -255,6 +255,7 @@
SUBDIR += fusefs-httpfs
SUBDIR += fusefs-kmod
SUBDIR += fusefs-libs
SUBDIR += fusefs-mhddfs
SUBDIR += fusefs-ntfs
SUBDIR += fusefs-pod
SUBDIR += fusefs-s3fs

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: fusefs-mhddfs
# Date created: 2009-06-25
# Whom: Oleg Alexeenkov <proler@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mhddfs
PORTVERSION= 0.1.19
CATEGORIES= sysutils
MASTER_SITES= http://mhddfs.uvw.ru/downloads/
PKGNAMEPREFIX= fusefs-
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= proler@gmail.com
COMMENT= Multi HDD [FUSE] File System
BUILD_DEPENDS= ${LOCALBASE}/include/fuse.h:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= README ChangeLog
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (mhddfs_0.1.19.tar.gz) = b96fc3bc16ca6c19106e57984c6e02ce
SHA256 (mhddfs_0.1.19.tar.gz) = aab80796364f9f17659e4cca8e95c0ac026754e15f16b2b46f28b92497fbc631
SIZE (mhddfs_0.1.19.tar.gz) = 32133

View File

@ -0,0 +1,11 @@
--- src/main.c.orig 2009-06-25 05:11:08.000000000 +0400
+++ src/main.c 2009-06-25 05:23:57.000000000 +0400
@@ -755,7 +755,7 @@
return -errno;
}
-#if _POSIX_SYNCHRONIZED_IO + 0 > 0
+#if _POSIX_SYNCHRONIZED_IO + 0 > 0 || defined(__FreeBSD__)
#undef HAVE_FDATASYNC
#else
#define HAVE_FDATASYNC 1

View File

@ -0,0 +1,10 @@
mhddfs - Multi HDD [FUSE] File System
File system for unifying several mount points into one
This FUSE-based file system allows mount points (or directories) to be
combined, simulating a single big volume which can merge several hard
drives or remote file systems. It is like unionfs, but can choose the
drive with the most free space to create new files on, and can move
data transparently between drives.
WWW: http://mhddfs.uvw.ru/