• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/fstools/libblkid-tiny/jffs2.c

  1 /*
  2  * Copyright (C) 2008 Karel Zak <kzak@redhat.com>
  3  *
  4  * Inspired by libvolume_id by
  5  *     Kay Sievers <kay.sievers@vrfy.org>
  6  *
  7  * This file may be redistributed under the terms of the
  8  * GNU Lesser General Public License.
  9  */
 10 #include <stdio.h>
 11 #include <stdlib.h>
 12 #include <unistd.h>
 13 #include <string.h>
 14 #include <stdint.h>
 15 
 16 #include "bitops.h"     /* swab16() */
 17 #include "superblocks.h"
 18 
 19 static int probe_jffs2(blkid_probe pr, const struct blkid_idmag *mag)
 20 {
 21         return 0;
 22 }
 23 
 24 const struct blkid_idinfo jffs2_idinfo =
 25 {
 26         .name           = "jffs2",
 27         .usage          = BLKID_USAGE_FILESYSTEM,
 28         .probefunc      = probe_jffs2,
 29         .magics         =
 30         {
 31                 { .magic = "\x19\x85", .len = 2 },
 32                 { .magic = "\x85\x19", .len = 2 },
 33                 { NULL }
 34         }
 35 };
 36 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt