Arla .27 on FreeBSD 4.0-CURRENT

Love lha at stacken.kth.se
Sat Aug 28 15:13:18 CEST 1999


Kenneth Wayne Culver <culverk at wam.umd.edu> writes:

> I just d/led Arla 0.27 and compiled for FreeBSD 4.0-CURRENT, and got this
> error:
> culverk:~> mount -t xfs /dev/xfs0 /afs
> WARNING: "(null)" is usurping "console"'s cdevsw[]
> WARNING: "(null)" is usurping "wd"'s bmaj
> xfs cdev loaded at 0
> 
> what's going on?

Same a last time, Assar never commited the patch to the CVS-tree.  I don't
know I have time setup a freebsd-current today to make sure it works.

Love

Index: xfs/bsd/xfs_dev-bsd.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_dev-bsd.c,v
retrieving revision 1.9
diff -u -w -r1.9 xfs_dev-bsd.c
--- xfs_dev-bsd.c       1999/06/03 00:11:02     1.9
+++ xfs_dev-bsd.c       1999/08/12 03:13:20
@@ -177,8 +177,14 @@
 #endif
     nommap,
     nostrategy,
-    NULL,
-    0
+    "xfs",
+    noparms,                   /* d_bogoparms */
+    128,                       /* XXX */
+    nodump,
+    nopsize,
+    0,                         /* flags */
+    0,                         /* maxio */
+    NODEV,                     /* bmaj */
 };
 
 #endif /* FreeBSD */
Index: xfs/bsd/xfs_wrap-bsd.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/xfs/bsd/xfs_wrap-bsd.c,v
retrieving revision 1.22
diff -u -w -r1.22 xfs_wrap-bsd.c
--- xfs_wrap-bsd.c      1999/06/08 08:21:10     1.22
+++ xfs_wrap-bsd.c      1999/08/12 02:59:34
@@ -154,9 +154,9 @@
 
 #ifdef DEV_MODULE
 
-#define XFS_DEV_NO NOMAJ
+#define XFS_DEV_NO 128
 
-DEV_MODULE(xfsdev, XFS_DEV_NO, NOMAJ, xfs_dev, xfs_load, NULL);
+DEV_MODULE(xfsdev, XFS_DEV_NO, NODEV, xfs_dev, xfs_load, NULL);
 
 #else /* DEV_MODULE */
 





More information about the Arla-drinkers mailing list