lkml.org 
[lkml]   [1998]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.1.112/3 and smbmount
The main problem is /usr/include/linux/smb_mount.h

It should look like ...
/*
* smb_mount.h
*
* Copyright (C) 1995, 1996 by Paal-Kr. Engstad and Volker Lendecke
* Copyright (C) 1997 by Volker Lendecke
*
*/

#ifndef _LINUX_SMB_MOUNT_H
#define _LINUX_SMB_MOUNT_H

#include <linux/types.h>

#define SMB_MOUNT_VERSION 6

struct smb_mount_data {
int version;
__kernel_uid_t mounted_uid; /* Who may umount() this filesystem? */

__kernel_uid_t uid;
__kernel_gid_t gid;
__kernel_mode_t file_mode;
__kernel_mode_t dir_mode;
};

#endif

All the smb_mount_data SHOULD be __kernel_ types, it simply can't be used in
any other way.

There are a couple of other small patches needed. /usr/include/dirent.h and
/usr/include/linux/dirent.h are totally incompatible on libc-6 systems
but a couple of #ifdefs fix that.
smbumount still won't compile (thats a samba problem), but since it isn't needed
just comment it out in the Makefile.

Thanks to those who helped me sort this out.

At least if the kernel header was "sane" to start with, the problems would be
vastly reduced .

Peter
----------------------------------
E-Mail: Peter Waltenberg <peterw@dascom.com>
Date: 04-Aug-98
Time: 08:33:29

This message was sent by XFMail
----------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.022 / U:1.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site