From 474b03eaf8753c41f0d980f8ce35bd7b35b469e7 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 22 Nov 2006 18:13:49 +0000 Subject: [PATCH] Add support for CIFS fs type. --- v7/src/microcode/uxfs.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/uxfs.c b/v7/src/microcode/uxfs.c index c6f9f08be..588294085 100644 --- a/v7/src/microcode/uxfs.c +++ b/v7/src/microcode/uxfs.c @@ -1,8 +1,9 @@ /* -*-C-*- -$Id: uxfs.c,v 1.25 2003/02/14 18:28:24 cph Exp $ +$Id: uxfs.c,v 1.26 2006/11/22 18:13:49 cph Exp $ -Copyright (c) 1990-2002 Massachusetts Institute of Technology +Copyright 1990,1991,1992,1995,1996,1997 Massachusetts Institute of Technology +Copyright 1998,1999,2000,2001,2002,2006 Massachusetts Institute of Technology This file is part of MIT/GNU Scheme. @@ -54,6 +55,9 @@ USA. # ifndef AFFS_SUPER_MAGIC # define AFFS_SUPER_MAGIC 0xadff # endif +# ifndef CIFS_MAGIC_NUMBER +# define CIFS_MAGIC_NUMBER 0xFF534D42 +# endif # ifndef COH_SUPER_MAGIC # define COH_SUPER_MAGIC 0x012FF7B7 # endif @@ -250,6 +254,7 @@ DEFUN (UX_file_system_type, (name), CONST char * name) #ifdef __linux__ switch (s . f_type) { + case CIFS_MAGIC_NUMBER: return ("cifs"); case COH_SUPER_MAGIC: return ("coherent"); case EXT_SUPER_MAGIC: return ("ext"); case EXT2_SUPER_MAGIC: return ("ext2"); -- 2.25.1