search for: nfsmount

Displaying 20 results from an estimated 106 matches for "nfsmount".

2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
linux-2.6 2ad780978b7c0c3e7877949f098cbd06e7c73839 cleaned up linux/nfsmount.h and thus a klibc build would produce this: > usr/kinit/nfsmount/mount.c:179: error: 'MNTPROC_MNT' undeclared (first use in this function) > usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once > usr/kinit/nfsmount/mount.c:179: error: for each...
2009 Aug 11
1
nfs MNT include cleanup
2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build MNTPROC_MNT and MNTPROC_UMNT no longer defined. usr/kinit/nfsmount/mount.c: In function ?mount_call?: usr/kinit/nfsmount/mount.c:179: error: ?MNTPROC_MNT? undeclared (first use in this function) usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once usr/kinit/nfsmount/mount.c:179: error: for each function it appears in.) usr/kinit...
2012 Jan 11
1
[PATCH] nfsmount: defeat dummypmap compiler warning
Without this patch gcc 4.6 warns: KLIBCCC usr/kinit/nfsmount/dummypmap.o usr/kinit/nfsmount/dummypmap.c: In function 'dummy_portmap': usr/kinit/nfsmount/dummypmap.c:191:13: warning: array subscript is below array bounds [-Warray-bounds] Signed-off-by: Greg Thelen <gthelen at google.com> --- usr/kinit/nfsmount/dummypmap.c | 2 +- 1 files ch...
2010 Feb 23
0
[PATCH 2/3] nfsmount: s/PF_INET/AF_INET/
use AF_INET directly. Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/nfsmount/dummypmap.c | 2 +- usr/kinit/nfsmount/mount.c | 4 ++-- usr/kinit/nfsmount/sunrpc.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/kinit/nfsmount/dummypmap.c b/usr/kinit/nfsmount/dummypmap.c index 43abe37..481e23b 100644 --- a/usr/kinit/nfsmount/dummyp...
2019 Jan 18
0
[klibc:master] nfsmount: support nfsvers= and vers= options
...l.org/?p=libs/klibc/klibc.git;a=commit;h=c4b811a1e4647224ddc717fac59900d16d0e9d4d Author: Baptiste Jonglez <baptiste.jonglez at imag.fr> AuthorDate: Thu, 14 Sep 2017 09:22:21 -0700 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Wed, 2 Jan 2019 03:08:04 +0000 [klibc] nfsmount: support nfsvers= and vers= options The standard mount option nowadays to specify NFS version is "nfsvers", as documented in nfs(5) on modern Linux systems. Up to now, nfsmount only supported the old "v2" or "v3" boolean options. Extend option parsing to support bot...
2017 Sep 14
0
[PATCH] nfsmount: support nfsvers= and vers= options
The standard mount option nowadays to specify NFS version is "nfsvers", as documented in nfs(5) on modern Linux systems. Up to now, nfsmount only supported the old "v2" or "v3" boolean options. Extend option parsing to support both "nfsvers=X" and "vers=X", with X being equal to either 2 or 3 (nfsmount does not support NFSv4 at present). If both the new option "nfsvers=X" and old option...
2003 Oct 04
0
klibc: kbuild improvements
...s is what I came up with. 1) No longer recompile on every invocation 2) Correct checking on dependencies 3) Simpler makefile syntax (almost all over the place) I compile-time tested it only. Two open issues: a) Do we realy use .a files for initramfs. I renemed that to the executable. b) I renamed nfsmount/main.c to nfsmount/nfsmount.c Similar for ipconfig. THIS IS NOT IN THE PATCH. I have it in bk, but this is mainly for review - whatever. I will push it when have made a few more changes. Are there any plans to upgrade to lastest -test soon? It may cause some problems in the top-level Makefile, a...
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
...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 warning. Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl> Index: exec/nfsmount/main.c =================================================================== --- exec.orig/nfsmount/main.c 2005-05-21 13:10:26.000000000 +0200 +++ exec/nfsmount/main.c 2005-05-21 14:32:12.000000000 +0200 @@ -14,8 +14,6 @@ #include <sys/wait.h> #include <unistd.h> -#include <linux/n...
2012 Jun 28
0
[klibc:master] nfsmount: Fix wrong NFS umount path
...rg/?p=libs/klibc/klibc.git;a=commit;h=029622dfbfe25203275a385a5bf33d44c2409b00 Author: Benjamin Cama <benjamin.cama at telecom-bretagne.eu> AuthorDate: Fri, 22 Jun 2012 12:17:01 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Thu, 28 Jun 2012 17:23:14 +0200 [klibc] nfsmount: Fix wrong NFS umount path Hi, When mounting a NFS share and an error occurs for some reason, the NFS share is not unmounted correctly: the local path is used instead of the remote path in the umount_v[23]() call. This patch fixes this. I found this while debugging some problems mounting the roo...
2020 Jun 17
1
[PATCH] Kbuild for klibc and nfsmount: add -fcommon
...0.7/usr/klibc/seed48.c:9: multiple definition of `__rand48_seed'; usr/klibc/lrand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/lrand48.c:8: first defined here make[2]: *** [usr/klibc/libc.so] Error 1 Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu> --- usr/kinit/nfsmount/Kbuild | 1 + usr/klibc/Kbuild | 1 + 2 files changed, 2 insertions(+) diff --git a/usr/kinit/nfsmount/Kbuild b/usr/kinit/nfsmount/Kbuild index 5f349500bf2d..83af8a253510 100644 --- a/usr/kinit/nfsmount/Kbuild +++ b/usr/kinit/nfsmount/Kbuild @@ -1,6 +1,7 @@ # # kbuild file for nfsmount...
2019 Oct 07
0
[klibc:master] nfsmount: Use kernel client's default value for timeo option
...git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=886783e7a10fb7a638bc6034e4cdcb6296cea6a1 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 7 Oct 2019 17:18:41 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 7 Oct 2019 17:27:49 +0100 [klibc] nfsmount: Use kernel client's default value for timeo option The current default of timeo=7 (0.7 seconds) is too short, especially on slow networks. We should not override the kernel client's default unless explicitly requested. This option is passed to the kernel through struct nfs_mount_data ra...
2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
...t.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=b4f1a2bfe64cd0d8dc58c0b7173745f3c1af0bb3 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sat, 28 Mar 2020 22:17:36 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 22:33:26 +0000 [klibc] nfsmount: Fix alignment of packet structures These structures should have alignment of exactly 4, since we want the 32-bit fields in them to have natural alignment but we don't want extra padding that would violate the wire protocols. This should be what happens by default, but for some reason it'...
2006 May 12
1
nfsmount inside kinit
Hey all, bug report time. I started tracking this down, but am at a bit of a loss for time, so I figured I'd report over this list to see if anyone else has the time to fix this or at least find the error. When calling nfsmount on it's own, say "nfsmount 1.2.3.4:/home/nfs /root" it works just fine, however, when calling nfsmount_main from within kinit (via nfsroot=), things get wonky. I have verified that argc is 3 and argv[1] == "1.2.3.4:/home/nfs", argv[2] == "/root", however, optind s...
2013 Dec 03
0
[klibc:master] nfsmount: memset uses sizeof pointer as length
...http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=71a849a7e2d5e73321e986fa91d1f34b387e71ba Author: Anton Blanchard <anton at samba.org> AuthorDate: Tue, 3 Dec 2013 18:14:58 +1100 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Tue, 3 Dec 2013 10:53:38 -0800 [klibc] nfsmount: memset uses sizeof pointer as length gcc picked up a couple of suspicious memset lengths which turned out to be real bugs. Signed-off-by: Anton Blanchard <anton at samba.org> Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/kinit/nfsmount/sunrpc.c | 4 ++-- 1 file changed,...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
...es 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 checkpatch noise [klibc] fstype: minor checkpatch fixes [klibc] nfsmount: various checkpatch fixes [klibc] kinit: checkpatch cleanup usr/kinit/devname.c | 6 +++- usr/kinit/do_mounts.c | 7 +++-- us...
2005 Jul 31
5
Shared versus static linked executables - and strip
I'm still pondering with kbuild and klibc. Next in line was to get ipconfig support in the kernel (build wise). A little challenge that is bigger than anticipated was to create a shared executable. This required a far bigger rewrite of Kbuild.klibc than originally planned. The good part is that I now managed to treat linking of objects with single and multiple .o files almost the same.
2005 Jun 05
0
fancy dump_fs for nfsmount
The dump_fh() function in nfsmount can be misleading: always mentions NFS_FHSIZE as size, but can print more, can print nothing if passed less than 8 bytes. This is a more robust implementation also suitable for printing datastructures other than the file handle, with ASCII rendering as bonus; output like so: stuff: 0xbfffe41c, le...
2011 Jun 10
0
[PATCH] nfsmount: free rem_name on errors
Missing unwrap on error path.. Signed-off-by: maximilian attems <max at stro.at> --- usr/kinit/nfsmount/main.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/usr/kinit/nfsmount/main.c b/usr/kinit/nfsmount/main.c index beda723..b85901a 100644 --- a/usr/kinit/nfsmount/main.c +++ b/usr/kinit/nfsmount/main.c @@ -214,6 +214,7 @@ int nfsmount_main(int argc, char *argv[])...
2013 Dec 03
0
[PATCH] nfsmount: memset uses sizeof pointer as length
gcc picked up a couple of suspicious memset lengths which turned out to be real bugs. Signed-off-by: Anton Blanchard <anton at samba.org> --- usr/kinit/nfsmount/sunrpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/nfsmount/sunrpc.c b/usr/kinit/nfsmount/sunrpc.c index 0628cef..0a7fcf5 100644 --- a/usr/kinit/nfsmount/sunrpc.c +++ b/usr/kinit/nfsmount/sunrpc.c @@ -149,7 +149,7 @@ struct client *tcp_client(uint32_t server,...
2005 May 22
1
[patch 05/12] make __constant_htons visible
...n both glibc and klibc. Perhaps __constant_htons should be dropped from the klibc version of netinet/in.h: it provides nothing that you cannot get via asm/byteorder, and gets in the way of porting between glibc and klibc. Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl> Index: exec/nfsmount/mount.c =================================================================== --- exec.orig/nfsmount/mount.c 2005-05-21 12:38:16.000000000 +0200 +++ exec/nfsmount/mount.c 2005-05-21 13:30:40.000000000 +0200 @@ -1,5 +1,6 @@ #include <sys/mount.h> #include <sys/types.h> +#include <asm/...