search for: nfs_mount

Displaying 14 results from an estimated 14 matches for "nfs_mount".

Did you mean: xfs_mount
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
...ls with an enum, the other does the same, but adds a self-define for every enumerated value. #define IPPROTO_IP IPPROTO_IP This means the two cannot be mixed, and since loads of include files refer to <netinet/in.h>, effectively <linux/in.h> cannot be used with glibc. Since <linux/nfs_mount.h> uses <linux/in.h>, that also is off-limits for anything that wants to be compatible with glibc. This uses the same workaround used by util-linux: just copy the relevant declarations. Ugly, but it's not like people are going to change the NFS mount interface from under us without w...
2008 Jun 05
2
RESEND [PATCH][BUGFIX] Fix termination of the spoofing portmapper
Hi, I'm resending since I got no feedback: I assume that the message was lost... The attached patch fixes a few bugs related to the spoofing portmapper used by nfsmount. Regards, Louis -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes -------------- next part
2006 Mar 06
1
6.1-PRERELEASE nfs root troubles
currently i'm trying to setup diskless client, which netboots 6.1-PRERELEASE kernel with help of etherboot. i've built custom kernel with `sudo make -j4 buildkernel KERNCONF=DISKLESS CPUTYPE=pentium-mmx -DNO_MODULES' and attached config. kernell loads off tftp server fine, detecting devices, but traps, when trying to mount root fs from nfs server. i've managed to get copy of
2005 May 22
0
[patch 03/12] make getopt visible
...====================== --- exec.orig/nfsmount/main.c 2004-10-10 20:02:39.000000000 +0200 +++ exec/nfsmount/main.c 2005-05-21 13:10:26.000000000 +0200 @@ -12,6 +12,7 @@ #include <string.h> #include <signal.h> #include <sys/wait.h> +#include <unistd.h> #include <linux/nfs_mount.h> --
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
...it/nfsmount/nfsmount.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/usr/kinit/nfsmount/nfsmount.h b/usr/kinit/nfsmount/nfsmount.h index 6d958bc..59c20cb 100644 --- a/usr/kinit/nfsmount/nfsmount.h +++ b/usr/kinit/nfsmount/nfsmount.h @@ -3,6 +3,9 @@ #include <linux/nfs_mount.h> +#define MNTPROC_MNT 1 +#define MNTPROC_UMNT 3 + extern int nfs_port; extern int nfsmount_main(int argc, char *argv[]); -- 1.6.6.1 --r5Pyd7+fXNt84Ff3 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0002-klibc-nfsmount-s...
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
...T, SOCK_DGRAM, 0); + int sock = socket(AF_INET, SOCK_DGRAM, 0); struct sockaddr_in sin; if (sock < 0) diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index a55af91..f18cffa 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -290,9 +290,9 @@ int nfs_mount(const char *pathname, const char *hostname, mounted = 1; if (data->flags & NFS_MOUNT_TCP) { - sock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); + sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); } else { - sock = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); + sock = socket(AF_INET,...
2012 Jun 28
0
[klibc:master] nfsmount: Fix wrong NFS umount path
...at stro.at> --- usr/kinit/nfsmount/mount.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index e3838f4..e0687a6 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -329,9 +329,9 @@ int nfs_mount(const char *pathname, const char *hostname, bail: if (mounted) { if (data->flags & NFS_MOUNT_VER3) - umount_v3(path, clnt); + umount_v3(rem_path, clnt); else - umount_v2(path, clnt); + umount_v2(rem_path, clnt); } ret = -1;
2005 May 22
1
[patch 00/12] ipconfig and nfsmount compatibility with glibc
...is one makes it possible to do a retry with UDP in kinit if TCP is unsupported. It also makes sense in a pure klibc context. ** new include file net/route.h This one touches library code rather than application code, so it has potentially larger impact. ** Unpleasantness in linux/nfs_mount.h Exceptionally ugly, but I don't see a better solution without touching the kernel includes. It's the same approach used in util-linux. The patches were made against 1.0.8 and compile-tested against 1.0.10. You mentioned working on kinit and ipconfig last week or so, but that'...
2009 Aug 21
2
anaconda and x86_64
...c/redhat/SOURCES/anaconda-11.1.2.168.tar.bz2 + tar -xf - ... for d in isys wlite stubs loader2 po textw utils scripts bootdisk installclasses iw pixmaps isomd5sum command-stubs ui fonts; do make -C $d depend; done make[1]: Entering directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/isys' grep NFS_MOUNT_VERSION /usr/include/linux/nfs_mount.h | sed -e 's/NFS/KERNEL_NFS/' > nfs_mountversion.h Package libdhcp6client was not found in the pkg-config search path. Perhaps you should add the directory containing `libdhcp6client.pc' to the PKG_CONFIG_PATH environment variable Package 'li...
2012 Jun 22
1
[PATCH] Fix wrong NFS umount path
...bretagne.eu> --- usr/kinit/nfsmount/mount.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index e3838f4..e0687a6 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -329,9 +329,9 @@ int nfs_mount(const char *pathname, const char *hostname, bail: if (mounted) { if (data->flags & NFS_MOUNT_VER3) - umount_v3(path, clnt); + umount_v3(rem_path, clnt); else - umount_v2(path, clnt); + umount_v2(rem_path, clnt); } ret = -1; -- Benjamin Cama <benjamin.cama at teleco...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about. The goal is not to be 100% checkpatch compliant, but to have more consistent coding style. As this is a trivial patch serie, will land in 24 hours in klibc git, unless of course ml review hits a bugger. Checked with size(3) that the generated kinit, fstype, ipconfig and nfsmount are the same. maximilian attems (4): [klibc] ipconfig: reduce
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...ddr, char *path, struct nfs_fh *fh, - int version, int protocol) -{ - struct rpc_clnt *mnt_clnt; - struct mnt_fhstatus result = { - .fh = fh - }; - struct rpc_message msg = { - .rpc_argp = path, - .rpc_resp = &result, - }; - char hostname[32]; - int status; - - dprintk("NFS: nfs_mount(%08x:%s)\n", - (unsigned)ntohl(addr->sin_addr.s_addr), path); - - sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(addr->sin_addr.s_addr)); - mnt_clnt = mnt_create(hostname, addr, version, protocol); - if (IS_ERR(mnt_clnt)) - return PTR_ERR(mnt_clnt); - - if (version == NFS_MNT3_VER...
2013 Dec 18
4
Linux client of the domain
Hello, I think I'm starting to understand how Linux client can be integrated into a samba domain. Tell me if I'm wrong : Linux clients don't need Samba for authentication, only the ldap part of samba. sssd through kerberos get information from ldap. If the user is known or get the right, he can log. So why should I need to install winbind and samba4 on the linux client ? Is it
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...he given host and path - */ -int -nfsroot_mount(struct sockaddr_in *addr, char *path, struct nfs_fh *fh, - int version, int protocol) -{ - struct rpc_clnt *mnt_clnt; - struct mnt_fhstatus result = { - .fh = fh - }; - char hostname[32]; - int status; - int call; - - dprintk("NFS: nfs_mount(%08x:%s)\n", - (unsigned)ntohl(addr->sin_addr.s_addr), path); - - sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(addr->sin_addr.s_addr)); - if (!(mnt_clnt = mnt_create(hostname, addr, version, protocol))) - return -EACCES; - - call = (version == NFS_MNT3_VERSION) ? MOUNTPROC3_MNT...