libmount project

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi,

 some of you already know about my old plan to write the libmount. The
 library should be useful for mount(8) and primarily for FS-depend
 /bin/mount.<type> helpers or autofs (or also for HAL?)

 I'd like to start with small and simple library that is useful for:

  - mtab, fstab, /proc/mounts and /proc/self/mountinfo parsing
  - mtab update (locking, ...)
  - mount options (-o <string> or fourth field in fstab/mtab) parsing
  - mount options evaluation and conversion to mount(2) flags and
    "mountdata" string

 The basic routines are already in the branch called "libmount" in the
 util-linux-ng git tree.

   git clone git://git.kernel.org/pub/scm/utils/util-linux-ng/util-linux-ng.git
   git checkout -f libmount

 The library should be available as an experimental stuff in
 util-linux-ng 2.15 (probably also with a new libblkid).


 Note that my original plan (two years ago?) was to write a modular
 library where FS-depend code is in .so object and mount(8) or autofs
 dlopen such objects on demand (rather than exec(/sbin/mount.<type>).
 I'm still not sure if this is a good idea...  sounds as
 over-engineering. We will see...


 Your comments, suggestions and requirements are welcomed.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux