OSDN Git Service

libparted: add nilfs2 module
authorJiro SEKIBA <jir@unicus.jp>
Fri, 9 Jul 2010 09:51:56 +0000 (18:51 +0900)
committerJim Meyering <meyering@redhat.com>
Sat, 26 Feb 2011 10:47:48 +0000 (11:47 +0100)
commitd463e7ded8d486c95977f4501969056600a73501
tree1142048f0091c4e66108c20250df386aaab034e4
parentdff6b96b551bec36dfe1c4783184755da72b2901
libparted: add nilfs2 module

* libparted/fs/nilfs2/Makefile.am: New file.
* libparted/fs/nilfs2/nilfs2.c: New file.
(is_valid_nilfs_sb, nilfs2_probe, nilfs2_clobber): New functions.
(ped_file_system_nilfs2_init, ped_file_system_nilfs2_done): Likewise.
(nilfs2_ops, nilfs2_type): Define.
* libparted/fs/Makefile.am (SUBDIRS): Add nilfs2.
* configure.ac (AC_OUTPUT): Add the new Makefile.
* libparted/libparted.c: Declare and use the _init and _done functions.

Add a new fs module to provide following:
- probe nilfs2 filesystem partition
- clobber nilfs2 filesystem partition

The is_valid_nilfs_sb function came from the grub nilfs2 module,
which is written by me and assigned to FSF.
configure.ac
libparted/fs/Makefile.am
libparted/fs/nilfs2/Makefile.am [new file with mode: 0644]
libparted/fs/nilfs2/nilfs2.c [new file with mode: 0644]
libparted/libparted.c