linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 00/11] e2fsprogs/mke2fs: add an option: -d root-directory
@ 2013-12-24  8:47 Robert Yang
  2013-12-24  8:47 ` [PATCH V2 01/11] mke2fs: add the ability to copy files from a given directory Robert Yang
                   ` (10 more replies)
  0 siblings, 11 replies; 15+ messages in thread
From: Robert Yang @ 2013-12-24  8:47 UTC (permalink / raw)
  To: tytso, dvhart; +Cc: linux-ext4

* Changes of V2:
  - Add the "-d" option when the code is ready rather than add it in the
    first commit.
  - Remove "name = name"
  - func_name -> __FUNCTION__
  - The size impact on mke2fs:
    a) Not stripped:
       1,837,440 -> 1,903,522 (64K increased)
    b) Stripped:
       329,464 -> 321,272 (8K increased) 
    No impact on tune2fs

* Changes from the RFC patches:
  - Move the common code of debugfs and mke2fs to misc/create_inode.c to
    avoid bloating the tune2fs binary
  - Fix the error of "make check"
  - Rebase to the up to date master branch

// Robert

Robert Yang (11):
  mke2fs: add the ability to copy files from a given directory
  misc/create_inode.c: copy files recursively
  misc/create_inode.c: create special file
  misc/create_inode.c: create symlink
  misc/create_inode.c: copy regular file
  misc/create_inode.c: create directory
  misc/create_inode.c: set owner/mode/time for the inode
  mke2fs.c: add an option: -d root-directory
  misc/create_inode.c: handle hardlinks
  debugfs: use the functions in misc/create_inode.c
  mke2fs.8.in: update the manual for the -d option

 debugfs/Makefile.in |   17 +-
 debugfs/debugfs.c   |  305 ++-------------------------
 debugfs/debugfs.h   |    1 +
 misc/Makefile.in    |   13 +-
 misc/create_inode.c |  565 +++++++++++++++++++++++++++++++++++++++++++++++++++
 misc/create_inode.h |   35 ++++
 misc/mke2fs.8.in    |    7 +
 misc/mke2fs.c       |   44 +++-
 8 files changed, 682 insertions(+), 305 deletions(-)
 create mode 100644 misc/create_inode.c
 create mode 100644 misc/create_inode.h

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH V3 00/11] e2fsprogs/mke2fs: add an option: -d root-directory
@ 2013-12-27  9:08 Robert Yang
  2013-12-27  9:09 ` [PATCH V3 09/11] misc/create_inode.c: handle hardlinks Robert Yang
  0 siblings, 1 reply; 15+ messages in thread
From: Robert Yang @ 2013-12-27  9:08 UTC (permalink / raw)
  To: tytso, dvhart; +Cc: linux-ext4

* Changes of V3:
  - __FUNCTION__ -> __func__
  - Rebase to the up to date master branch
  - Created a PULL on the github, so that I can update the patch easily.

* Changes of V2:
  - Add the "-d" option when the code is ready rather than add it in the
    first commit.
  - Remove "name = name"
  - func_name -> __FUNCTION__
  - The size impact on mke2fs:
    a) Not stripped:
       1,837,440 -> 1,903,522 (64K increased)
    b) Stripped:
       329,464 -> 321,272 (8K increased) 
    No impact on tune2fs

* Changes from the RFC patches:
  - Move the common code of debugfs and mke2fs to misc/create_inode.c to
    avoid bloating the tune2fs binary
  - Fix the error of "make check"
  - Rebase to the up to date master branch

// Robert

The following changes since commit 2ffccc82c4b9ed935e45118e325896b70e9e3eb0:

  Merge branch 'maint' into next (2013-12-26 00:30:56 -0500)

are available in the git repository at: 


  https://github.com/robertlinux/e2fsprogs.git master

for you to fetch changes up to 77449096c06dade289a582c34da1c21389c15725:

  mke2fs.8.in: update the manual for the -d option (2013-12-27 03:36:01 -0500)

----------------------------------------------------------------
Robert Yang (11):
      mke2fs: add the ability to copy files from a given directory
      misc/create_inode.c: copy files recursively
      misc/create_inode.c: create special file
      misc/create_inode.c: create symlink
      misc/create_inode.c: copy regular file
      misc/create_inode.c: create directory
      misc/create_inode.c: set owner/mode/time for the inode
      mke2fs.c: add an option: -d root-directory
      misc/create_inode.c: handle hardlinks
      debugfs: use the functions in misc/create_inode.c
      mke2fs.8.in: update the manual for the -d option

 debugfs/Makefile.in |   17 ++++-
 debugfs/debugfs.c   |  305 +++++---------------------------------------------------------------------------------
 debugfs/debugfs.h   |    1 + 
 misc/Makefile.in    |   13 ++--
 misc/create_inode.c |  574 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 misc/create_inode.h |   35 ++++++++++
 misc/mke2fs.8.in    |    7 ++
 misc/mke2fs.c       |   44 ++++++++++---
 8 files changed, 691 insertions(+), 305 deletions(-)
 create mode 100644 misc/create_inode.c
 create mode 100644 misc/create_inode.h

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-12-27  9:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-24  8:47 [PATCH V2 00/11] e2fsprogs/mke2fs: add an option: -d root-directory Robert Yang
2013-12-24  8:47 ` [PATCH V2 01/11] mke2fs: add the ability to copy files from a given directory Robert Yang
2013-12-24  8:47 ` [PATCH V2 02/11] misc/create_inode.c: copy files recursively Robert Yang
2013-12-24  8:47 ` [PATCH V2 03/11] misc/create_inode.c: create special file Robert Yang
2013-12-24  8:47 ` [PATCH V2 04/11] misc/create_inode.c: create symlink Robert Yang
2013-12-24  8:47 ` [PATCH V2 05/11] misc/create_inode.c: copy regular file Robert Yang
2013-12-24  8:47 ` [PATCH V2 06/11] misc/create_inode.c: create directory Robert Yang
2013-12-24  8:47 ` [PATCH V2 07/11] misc/create_inode.c: set owner/mode/time for the inode Robert Yang
2013-12-24  8:47 ` [PATCH V2 08/11] mke2fs.c: add an option: -d root-directory Robert Yang
2013-12-24  8:47 ` [PATCH V2 09/11] misc/create_inode.c: handle hardlinks Robert Yang
2013-12-25  3:14   ` Robert Yang
2013-12-25  3:21   ` [PATCH V3 " Robert Yang
2013-12-24  8:47 ` [PATCH V2 10/11] debugfs: use the functions in misc/create_inode.c Robert Yang
2013-12-24  8:47 ` [PATCH V2 11/11] mke2fs.8.in: update the manual for the -d option Robert Yang
  -- strict thread matches above, loose matches on Subject: below --
2013-12-27  9:08 [PATCH V3 00/11] e2fsprogs/mke2fs: add an option: -d root-directory Robert Yang
2013-12-27  9:09 ` [PATCH V3 09/11] misc/create_inode.c: handle hardlinks Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).