[autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread Jeff Layton
I've been working on a patch for the userspace portion of autofs to change the way that replicated mounts are handled. This patch changes mount_nfs.c such that it parses all of the mounts in the list, sorts them, and then tries to mount each in turn. The existing code breaks (fails to mount) if it

Re: [autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread Jeff Layton
$ /* --- * * * mount_nfs.c - Module for Linux automountd to mount an NFS filesystem, @@ -6,6 +6,7 @@ * * Copyright 1997 Transmeta Corporation - All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge [EMAIL PROTECTED] + * Copyright 2005 Jeff Layton/Red

[autofs] replicated mounts patch

2005-04-18 Thread Jeff Layton
- Module for Linux automountd to mount an NFS filesystem, @@ -6,6 +6,7 @@ * * Copyright 1997 Transmeta Corporation - All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge [EMAIL PROTECTED] + * Copyright 2005 Jeff Layton/Red Hat [EMAIL PROTECTED] * * This program is free software

Re: [autofs] replicated mounts patch

2005-04-19 Thread Jeff Layton
On Wed, 2005-04-20 at 09:25 +0800, Ian Kent wrote: But, I've had complaints about it in the past. Call it an added feature. If we choose to not require it we will need to be clear about it in the doco. Personally, I like to be able to add a space after each comma for readability.

[autofs] Re: [NFS] making the 'addr=' mount option an address hint

2005-07-18 Thread Jeff Layton
and simple and simply make the addr= option be respected, but I'd certainly consider redoing it to add the stuff you mention above at a later time. My suggestion would be to consider this in conjunction with autofs v5 (or a later v4 version) so we don't end up duplicating so much functionality. -- Jeff

[autofs] [PATCH] mount_nfs replicated mounts patch (now sorts by subnet locality too)

2005-07-19 Thread Jeff Layton
@@ -6,6 +6,7 @@ * * Copyright 1997 Transmeta Corporation - All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge [EMAIL PROTECTED] + * Copyright 2005 Jeff Layton/Red Hat [EMAIL PROTECTED] * * This program is free software; you can redistribute it and/or modify * it under

[autofs] [PATCH] mount preferred address patch

2005-07-23 Thread Jeff Layton
Hi Adrian, Since the util-linux mailing list seems to be dead, I wasn't sure where to send this. I've been working on an overhaul of the mount_nfs code for autofs. While working on this, I've fixed the code that makes autofs prefer to mount via addresses that are on the same subnet as the client

[autofs] [PATCH] addr= hint for mount program

2005-07-23 Thread Jeff Layton
Here's my first stab at a patch for mount to make it treat the addr= option as a hint. I've done some very basic testing and it seems to do the right thing, but I need to dredge up a multi-homed NFS server here soon to verify that all is working. If anyone has one and wants to test this out for

[autofs] [PATCH] replicated mounts patch (local subnet mounts now get passed addr= option)

2005-08-01 Thread Jeff Layton
:00:53.0 -0400 +++ autofs/modules/mount_nfs.c 2005-08-01 11:00:08.0 -0400 @@ -6,6 +6,7 @@ * * Copyright 1997 Transmeta Corporation - All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge [EMAIL PROTECTED] + * Copyright 2005 Jeff Layton/Red Hat [EMAIL PROTECTED

Re: [autofs] Not correctly mount SMB shares ending in $

2008-09-16 Thread Jeff Layton
\ as a delimiter. Since you have that in quotes already, you shouldn't need to escape the trailing $. So I think this would be more likely to work: ://xp0/C$ Cheers, -- Jeff Layton [EMAIL PROTECTED] ___ autofs mailing list autofs@linux.kernel.org http

Re: [autofs] unable to automount windows C$

2009-05-13 Thread Jeff Layton
these characters before it calls mount. I don't think mount does any variable interpolation, and I know mount.cifs doesn't so there shouldn't be any need for escape chars before '$' signs, assuming you're not handing these off to a shell of some sort. -- Jeff Layton jlay...@redhat.com

Re: [autofs] BUG() in shrink_dcache_for_umount_subtree on nfs4 mount

2011-05-26 Thread Jeff Layton
On Wed, 25 May 2011 16:08:15 -0400 Jeff Layton jlay...@redhat.com wrote: On Wed, 27 Apr 2011 16:23:07 -0700 Mark Moseley moseleym...@gmail.com wrote: I posted this to bugzilla a while back but I figured I'd paste it here too

Re: [autofs] BUG() in shrink_dcache_for_umount_subtree on nfs4 mount

2011-05-26 Thread Jeff Layton
On Thu, 26 May 2011 23:02:32 +0800 Ian Kent ra...@themaw.net wrote: On Thu, 2011-05-26 at 09:49 -0400, Jeff Layton wrote: On Wed, 25 May 2011 16:08:15 -0400 Jeff Layton jlay...@redhat.com wrote: On Wed, 27 Apr 2011 16:23:07 -0700 Mark Moseley moseleym...@gmail.com wrote