pkgsrc/sysutils/xfsprogs/patches/patch-al
agc 8dc522478c Initial import of xfsprogs-2.7.3 into the Packages Collection.
XFS combines advanced journaling technology with full 64-bit
	addressing and scalable structures and algorithms.

	+ Journaled 64-bit filesystem with guaranteed filesystem consistency.

	+ XFS supports filesystem growth for mounted volumes, allows
	filesystem "freeze" and "thaw" operations to support volume level
	snapshots, and provides an online file defragmentation utility.

	+ XFS supports user and group quotas.  XFS considers quota information
	as filesystem metadata and uses journaling to avoid the need for
	lengthy quota consistency checks after a crash.

	+ For Linux 2.6 and beyond, when using 64 bit addressing in the block
	devices layer (CONFIG_LBD) and a 64 bit platform, filesystem size
	limit increases to 9 million terabytes (or the device limits).  For
	these later kernels on 32 bit platforms, 16TB is the current limit
	even with 64 bit addressing enabled in the block layer.

	This package contains filesystem manipulation and support programs.

Very loosely based on the FreeBSD port (I took the MASTER_SITES from there).
2005-12-30 23:03:05 +00:00

50 lines
1.7 KiB
Text

$NetBSD: patch-al,v 1.1.1.1 2005/12/30 23:03:06 agc Exp $
--- /dev/null 2005-12-30 11:15:43.000000000 +0000
+++ quota/netbsd.c 2005-12-30 11:16:48.000000000 +0000
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of version 2 of the GNU General Public License as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it would be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ * Further, this software is distributed without any warranty that it is
+ * free of the rightful claim of any third person regarding infringement
+ * or the like. Any license provided herein, whether implied or
+ * otherwise, applies only to this software file. Patent licenses, if
+ * any, provided herein do not apply to combinations of this program with
+ * other software, or any other product whatsoever.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write the Free Software Foundation, Inc., 59
+ * Temple Place - Suite 330, Boston MA 02111-1307, USA.
+ *
+ * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
+ * Mountain View, CA 94043, or:
+ *
+ * http://www.sgi.com
+ *
+ * For further information regarding this notice, see:
+ *
+ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
+ */
+
+#include "quota.h"
+
+int
+xfsquotactl(
+ int command,
+ const char *device,
+ uint type,
+ uint id,
+ void *addr)
+{
+ errno = -ENOSYS;
+ return -1;
+}