mount_nfs01.diff

tuxillo, 02/24/2014 08:36 AM

Download (1.17 KB)

View differences:

sbin/mount_nfs/mount_nfs.c
288 288
		nfsproto = IPPROTO_UDP;
289 289
		nfsargsp->sotype = SOCK_DGRAM;
290 290
	}
291

  
292
	/* INTR by default */
293
	nfsargsp->flags |= NFSMNT_INT;
294

  
291 295
	while ((c = getopt(argc, argv,
292
	    "23a:bcdD:g:I:iKlm:No:PR:r:sTt:w:x:U")) != -1)
296
	    "23a:bcdD:g:I:iKlm:No:PR:r:sTt:w:x:uU")) != -1)
293 297
		switch (c) {
294 298
		case '2':
295 299
			mountmode = V2;
......
340 344
		case 'i':
341 345
			nfsargsp->flags |= NFSMNT_INT;
342 346
			break;
347
		case 'u':
348
			nfsargsp->flags &= ~NFSMNT_INT;
349
			break;
343 350
#ifdef NFSKERB
344 351
		case 'K':
345 352
			nfsargsp->flags |= NFSMNT_KERB;
......
1050 1057
usage(void)
1051 1058
{
1052 1059
	fprintf(stderr, "%s\n%s\n%s\n%s\n",
1053
"usage: mount_nfs [-23KNPTUbcdils] [-D deadthresh] [-I readdirsize]",
1060
"usage: mount_nfs [-23KNPTUbcdilus] [-D deadthresh] [-I readdirsize]",
1054 1061
"                 [-R retrycnt] [-a maxreadahead]",
1055 1062
"                 [-g maxgroups] [-m realm] [-o options] [-r readsize]",
1056 1063
"                 [-t timeout] [-w writesize] [-x retrans] rhost:path node");