git: libfsid - A new library to determine filesystems.

Alex Hornung alexh at crater.dragonflybsd.org
Mon Dec 13 12:59:43 PST 2010


commit 1e642749c8bd45bb028f6631287095a2ba4cef6d
Author: �kos Kovács <akoskovacs at gmx.com>
Date:   Wed Dec 8 20:35:28 2010 +0100

    libfsid - A new library to determine filesystems.
    
    * The idea is extracted from the sbin/fsid tool. The library provides an
      interface to probe a given device for a file system and get its volume
      label.
    
    * fsid was changed to use libfsid functionality.
    
    Sponsored-by: Google Code-In

Summary of changes:
 lib/libfsid/Makefile  |   14 +++++
 lib/libfsid/cd9660.c  |   73 +++++++++++++++++++++++++
 lib/libfsid/ext2.c    |   74 +++++++++++++++++++++++++
 lib/libfsid/hammer.c  |   76 ++++++++++++++++++++++++++
 lib/libfsid/libfsid.3 |  128 +++++++++++++++++++++++++++++++++++++++++++
 lib/libfsid/libfsid.c |  144 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/libfsid/libfsid.h |   87 +++++++++++++++++++++++++++++
 lib/libfsid/msdosfs.c |  109 +++++++++++++++++++++++++++++++++++++
 lib/libfsid/ufs.c     |   79 +++++++++++++++++++++++++++
 sbin/fsid/Makefile    |    4 +-
 sbin/fsid/fsid.c      |   46 ++++++----------
 sbin/fsid/fsid.h      |   16 +-----
 sbin/fsid/hammer.c    |  102 ----------------------------------
 sbin/fsid/ufs.c       |  109 -------------------------------------
 14 files changed, 805 insertions(+), 256 deletions(-)
 create mode 100644 lib/libfsid/Makefile
 create mode 100644 lib/libfsid/cd9660.c
 create mode 100644 lib/libfsid/ext2.c
 create mode 100644 lib/libfsid/hammer.c
 create mode 100644 lib/libfsid/libfsid.3
 create mode 100644 lib/libfsid/libfsid.c
 create mode 100644 lib/libfsid/libfsid.h
 create mode 100644 lib/libfsid/msdosfs.c
 create mode 100644 lib/libfsid/ufs.c
 delete mode 100644 sbin/fsid/hammer.c
 delete mode 100644 sbin/fsid/ufs.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e642749c8bd45bb028f6631287095a2ba4cef6d


-- 
DragonFly BSD source repository





More information about the Commits mailing list