[Libhugetlbfs-devel] [PATCH 2/2 V4] Check if directory is already mounted

2009-04-07 Thread Eric B Munson
Currently hugeadm will happily remount hugetlbfs to the same directory if --create-*-mounts is specified more than once with the same arguments. This is a problem because the newest mount of a directory will mask the previous one(s) causing confusion when applications attempt tp share segements. T

[Libhugetlbfs-devel] [PATCH 1/2] Separate hugetlbfs mount collection from printing

2009-04-07 Thread Eric B Munson
This patch separates the hugetlbfs mount point collection from the printing to pave the wave for a check in mount_dir to see if a specified directory is already mounted. Signed-off-by: Eric B Munson --- hugeadm.c | 41 + 1 files changed, 29 insertions(+)