nilfs-utils: fsck: integrate fsck.nilfs2 utility into nilfs-utils package
Subsystems (2)
PATCH v4 15/15 nilfs-utils: fsck: integrate fsck.nilfs2 utility into nilfs-utils package
Hi,
This patch integrates fsck.nilfs2 utility into nilfs-utils package.
With the best regards,
Vyacheslav Dubeyko.
--
From: Vyacheslav Dubeyko <[email protected]>
Subject: [PATCH v4 15/15] nilfs-utils: fsck: integrate fsck.nilfs2 utility into nilfs-utils package
This patch integrates fsck.nilfs2 utility into nilfs-utils package.
Signed-off-by Vyacheslav Dubeyko <[email protected]>
--- configure.ac | 3 ++- include/Makefile.am | 3 ++- lib/Makefile.am | 18 +++++++++++++++--- sbin/Makefile.am | 2 +- sbin/fsck/ChangeLog.fsck | 44 ++++++++++++++++++++++++++++++++++++++++++++ sbin/fsck/Makefile.am | 18 ++++++++++++++++++ 6 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 sbin/fsck/ChangeLog.fsck create mode 100644 sbin/fsck/Makefile.am
configure.ac +2 -1
@@ -167,5 +167,6 @@ AC_CONFIG_FILES([Makefile sbin/mount/Makefile sbin/nilfs-tune/Makefile sbin/nilfs-clean/Makefile - sbin/nilfs-resize/Makefile]) + sbin/nilfs-resize/Makefile + sbin/fsck/Makefile]) AC_OUTPUT
include/Makefile.am +2 -1
@@ -3,4 +3,5 @@ include_HEADERS = nilfs.h nilfs2_fs.h nilfs_cleaner.h noinst_HEADERS = realpath.h nls.h cno.h nilfs_feature.h \ vector.h nilfs_gc.h cnoconv.h cleaner_msg.h cleaner_exec.h \ - pathnames.h + pathnames.h nilfs_messages.h nilfs_messages.def fsck_raw_ops.h \ + fsck_nilfs2.h
lib/Makefile.am +15 -3
@@ -2,7 +2,8 @@ lib_LTLIBRARIES = libnilfs.la libnilfsgc.la libnilfscleaner.la noinst_LTLIBRARIES = librealpath.la libnilfsfeature.la libcno.la \ - libmountchk.la libcrc32.la libcleanerexec.la + libmountchk.la libcrc32.la libcleanerexec.la \ + libnilfsmessages.la libfsck.la librealpath_la_SOURCES = realpath.c librealpath_la_CFLAGS = -Wall -fPIC
@@ -39,11 +40,11 @@ libnilfs_REVISION = 0 libnilfs_AGE = 1 libnilfs_VERSIONINFO = $(libnilfs_CURRENT):$(libnilfs_REVISION):$(libnilfs_AGE) -libnilfs_la_SOURCES = nilfs.c sb.c +libnilfs_la_SOURCES = nilfs.c sb.c segment.c libnilfs_la_CFLAGS = -Wall libnilfs_la_CPPFLAGS = -I$(top_srcdir)/include libnilfs_la_LDFLAGS = -version-info $(libnilfs_VERSIONINFO) -libnilfs_la_LIBADD = librealpath.la libcrc32.la $(LIB_POSIX_SEM) +libnilfs_la_LIBADD = librealpath.la libcrc32.la libnilfsmessages.la $(LIB_POSIX_SEM) nilfsgc_CURRENT = 0 nilfsgc_REVISION = 0
@@ -66,3 +67,14 @@ libnilfscleaner_la_CFLAGS = -Wall -fPIC libnilfscleaner_la_CPPFLAGS = -I$(top_srcdir)/include libnilfscleaner_la_LDFLAGS = -version-info $(cleanerctl_VERSIONINFO) libnilfscleaner_la_LIBADD = librealpath.la libcleanerexec.la $(LIB_POSIX_MQ) -luuid + +libnilfsmessages_la_SOURCES = nilfs_messages.c +libnilfsmessages_la_CFLAGS = -Wall -fPIC +libnilfsmessages_la_CPPFLAGS = -I$(top_srcdir)/include +libnilfsmessages_la_LDFLAGS = -static + +libfsck_la_SOURCES = fsck_raw_ops.c +libfsck_la_CFLAGS = -Wall -fPIC +libfsck_la_CPPFLAGS = -I$(top_srcdir)/include +libfsck_la_LDFLAGS = -static +libfsck_la_LIBADD = libnilfsmessages.la
sbin/Makefile.am +1 -1
@@ -1,3 +1,3 @@ ## Makefile.am -SUBDIRS = cleanerd mkfs mount nilfs-tune nilfs-clean nilfs-resize +SUBDIRS = cleanerd mkfs mount nilfs-tune nilfs-clean nilfs-resize fsck
sbin/fsck/ChangeLog.fsck new file +44 -0
44 lines not on this page · raw message
sbin/fsck/Makefile.am new file +18 -0
@@ -0,0 +1,18 @@ +## Makefile.am + +AM_CFLAGS = -Wall +AM_CPPFLAGS = -I$(top_srcdir)/include +LDADD = $(top_builddir)/lib/libnilfsmessages.la \ + $(top_builddir)/lib/libfsck.la \ + $(top_builddir)/lib/libmountchk.la \ + $(top_builddir)/lib/libcrc32.la \ + $(top_builddir)/lib/libnilfs.la + +sbin_PROGRAMS = fsck.nilfs2 + +fsck_nilfs2_SOURCES = fsck_common.h fsck_nilfs2.c \ + nilfs_superblock.h nilfs_superblock.c \ + nilfs_segment.h nilfs_segment.c \ + nilfs_checkpoint.h nilfs_checkpoint.c \ + nilfs_fs_hierarchy.h nilfs_fs_hierarchy.c \ + nilfs_volume_check.h nilfs_volume_check.c
Signature · 8 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html