search for: mount_cal

Displaying 7 results from an estimated 7 matches for "mount_cal".

Did you mean: mount_call
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/nfsmount/mount.c: In function ?...
2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
...nt.org.uk> --- usr/kinit/nfsmount/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index e0687a6f..ae48354b 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -34,13 +34,13 @@ struct mount_call { struct nfs_fh_wire { uint32_t size; char data[NFS_MAXFHSIZE_WIRE]; -} __attribute__ ((packed)); +} __attribute__ ((packed, aligned(4))); struct mount_reply { struct rpc_reply reply; uint32_t status; struct nfs_fh_wire fh; -} __attribute__ ((packed)); +} __attribute__ ((packed, alig...
2005 Jun 05
0
[PATCH] avoid spurious umount error message
In nfsmount, the function mount_call() is used to invoke both the mount and umount PRC's. These take identical arguments, but umount returns void rather than a file handle, so result should not be checked. This avoids a spurious 'incomplete reply' message if mount(2) system call fails. Signed-off-by: Erik van Konijnenb...
2008 Jul 13
1
bunch of small fixes
...- server replied: Permission denied. Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/kinit/nfsmount/mount.c b/usr/kinit/nfsmount/mount.c index 066f6cd..a55af91 100644 --- a/usr/kinit/nfsmount/mount.c +++ b/usr/kinit/nfsmount/mount.c @@ -187,8 +187,8 @@ static int mount_call(uint32_t proc, uint32_t version, } if (mnt_reply.status != 0) { - fprintf(stderr, "mount call failed: %d\n", - ntohl(mnt_reply.status)); + fprintf(stderr, "mount call failed - server replied: %s.\n", + strerror(ntohl(mnt_reply.status))); goto bail; } commit...
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
2004 Jan 06
1
[PATCH] possible bug in bindresvport
nfsmount doesnt work anymore for me. This patch fixes at least udp nfs mounts. tcp does still hang. client and server is 2.6. --- /dev/shm/bindresvport.c 2003-12-08 02:33:24.000000000 +0100 +++ klibc/inet/bindresvport.c 2004-01-06 21:05:02.283779072 +0100 @@ -23,7 +23,7 @@ int bindresvport(int sd, struct sockaddr if (sin == NULL) { sin = &me;
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up, I have a trouble to build that for Debian. currently I build depent on linux-libc-dev, I don't know what against I can build latest klibc, see klibc fails to build due too: make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install make[3]: *** No rule to make target `headers_install'. Stop. make[2]: ***