linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mount.nfs libmount support (v2)
@ 2011-03-03 13:43 Karel Zak
  2011-03-03 13:43 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Karel Zak @ 2011-03-03 13:43 UTC (permalink / raw)
  To: Chuck Lever; +Cc: linux-nfs


This is the second version of the mount.nfs with libmount support. The code
depends on util-linux >= v2.19 (e.g. Fedora 15).

Chnages:
  - move nfs_umount_do_umnt() to network.c
  - use union nfs_sockaddr
  - add missing GPL address paragraph
  - use abstract function the storing and retrieval mount options
  - use "static const" for struct option
  - use "strncmp() == 0" everywhere


The locale issue is not fixed. It seems that _() macro from nls.h is used on
many places in the package, but ENABLE_NLS macro is nowhere defined and 
setlocale() is not called at all.

I believe that this issue should be fixed independently on the libmount
patches.

^ permalink raw reply	[flat|nested] 18+ messages in thread
* mount.nfs libmount support (v3)
@ 2011-03-14 13:58 Karel Zak
  2011-03-14 13:58 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
  0 siblings, 1 reply; 18+ messages in thread
From: Karel Zak @ 2011-03-14 13:58 UTC (permalink / raw)
  To: Chuck Lever, Steve Dickson; +Cc: linux-nfs

This is the third version of the mount.nfs with libmount support. The code
depends on util-linux >= v2.19 (e.g. Fedora 15).

v3:
  - call umount_error() on mount(2) error

v2:
  - move nfs_umount_do_umnt() to network.c
  - use union nfs_sockaddr
  - add missing GPL address paragraph
  - use abstract function the storing and retrieval mount options
  - use "static const" for struct option
  - use "strncmp() == 0" everywhere



^ permalink raw reply	[flat|nested] 18+ messages in thread
* mount.nfs libmount support
@ 2011-02-08 13:45 Karel Zak
  2011-02-08 13:45 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
  0 siblings, 1 reply; 18+ messages in thread
From: Karel Zak @ 2011-02-08 13:45 UTC (permalink / raw)
  To: Chuck Lever; +Cc: linux-nfs

Hi Chuck,

this is the first version of the mount.nfs with libmount support. The code
depends on the latest util-linux code from upstream git tree, or you can 
wait few days for official 2.19 util-linux tarballs (and Fedora binary rpms).

I have tested:

	mount.nfs server://path /mountpoint
	mount.nfs server://path /mountpoint -o remount,ro
	mount.nfs server://path /mountpoint -o user

	umount.nfs server://path
	umount.nfs /mountpoint

.. works for me. For more information see the second patch.

	Karel


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-03-14 13:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03 13:43 mount.nfs libmount support (v2) Karel Zak
2011-03-03 13:43 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
2011-03-03 20:03   ` [PATCH 1.5/2] mount: Remove MOUNT_CONFIG warning Steve Dickson
     [not found]     ` <4D6FF3F4.8040602-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2011-03-05 21:24       ` Steve Dickson
2011-03-03 13:43 ` [PATCH 2/2] mount: add --enable-libmount-mount Karel Zak
2011-03-03 19:53   ` Steve Dickson
2011-03-04 10:18     ` Karel Zak
2011-03-04 16:23       ` Steve Dickson
2011-03-03 14:48 ` mount.nfs libmount support (v2) Chuck Lever
2011-03-03 20:04 ` [PATCH 3/2] mount: Allow 'port=0' to be a valid port value Steve Dickson
2011-03-03 20:12   ` Chuck Lever
2011-03-03 20:16     ` Chuck Lever
2011-03-03 20:38       ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2011-03-14 13:58 mount.nfs libmount support (v3) Karel Zak
2011-03-14 13:58 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
2011-02-08 13:45 mount.nfs libmount support Karel Zak
2011-02-08 13:45 ` [PATCH 1/2] mount: move generic functions to utils.c and network.c Karel Zak
2011-02-08 15:43   ` Chuck Lever
2011-02-08 16:08     ` Karel Zak
2011-02-15  0:08       ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).