On Mon, 12 Jan 2009, Karel Zak wrote: > 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 Would also be useful for 'df' style programs for getting a canonical list of filesystems to display. Especially when /etc/mtab is a symlink pointing to /proc/mounts the filesystem names reported by 'df' have "cosmetic" problems: root fs is always /dev/root, the source of bind mounts and loopback mounts are not shown correctly, etc... Thanks, Miklos -- 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