| * Copyright (C) 1999 by Andries Brouwer |
| * Copyright (C) 1999, 2000, 2003 by Theodore Ts'o |
| * Copyright (C) 2001 by Andreas Dilger |
| * Copyright (C) 2004 Kay Sievers <kay.sievers@vrfy.org> |
| * Copyright (C) 2008 Karel Zak <kzak@redhat.com> |
| * This file may be redistributed under the terms of the |
| * GNU Lesser General Public License. |
| } __attribute__((packed)) info; |
| } __attribute__((packed)); |
| static int probe_cramfs(blkid_probe pr, const struct blkid_idmag *mag) |
| cs = blkid_probe_get_sb(pr, mag, struct cramfs_super); |
| blkid_probe_set_label(pr, cs->name, sizeof(cs->name)); |
| const struct blkid_idinfo cramfs_idinfo = |
| .usage = BLKID_USAGE_FILESYSTEM, |
| .probefunc = probe_cramfs, |
| { "\x45\x3d\xcd\x28", 4, 0, 0 }, |
| { "\x28\xcd\x3d\x45", 4, 0, 0 }, |