{
struct cramfs_super *cs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
cs = (struct cramfs_super *) volume_id_get_buffer(id, off, 0x200);
if (cs == NULL)
struct ext2_super_block *es;
size_t bsize;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
es = (struct ext2_super_block *) volume_id_get_buffer(id, off + EXT_SUPERBLOCK_OFFSET, 0x200);
if (es == NULL)
uint32_t next;
int maxloop;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
vs = (struct vfat_super_block *) volume_id_get_buffer(id, off, 0x200);
if (vs == NULL)
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const uint8_t *buf;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
struct hpt37x_meta *hpt;
uint32_t magic;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + HPT37X_CONFIG_OFF, 0x200);
if (buf == NULL)
{
struct hpfs_super *hs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
hs = (struct hpfs_super *) volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x200);
if (hs == NULL)
struct iso_volume_descriptor *is;
struct high_sierra_volume_descriptor *hs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + ISO_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
uint64_t meta_off;
struct isw_meta *isw;
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x10000)
{
struct jfs_super_block *js;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
js = (struct jfs_super_block *) volume_id_get_buffer(id, off + JFS_SUPERBLOCK_OFFSET, 0x200);
if (js == NULL)
uint64_t sboff;
uint8_t uuid[16];
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x10000)
const uint8_t *buf;
unsigned int page;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
/* the swap signature is at the end of the PAGE_SIZE */
for (page = 0x1000; page <= LARGEST_PAGESIZE; page <<= 1) {
uint64_t meta_off;
struct lsi_meta *lsi;
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x10000)
const uint8_t *buf;
struct lvm1_super_block *lvm;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800);
if (buf == NULL)
{
struct minix_super_block *ms;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
ms = (struct minix_super_block *) volume_id_get_buffer(id, off + MINIX_SUPERBLOCK_OFFSET, 0x200);
if (ms == NULL)
const uint8_t *buf;
const uint8_t *val;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
ns = (struct ntfs_super_block *) volume_id_get_buffer(id, off, 0x200);
if (ns == NULL)
uint64_t meta_off;
struct nvidia_meta *nv;
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x10000)
struct ocfs1_super_block_header *osh;
struct ocfs1_super_block_label *osl;
+ info("probing at offset 0x%llx", (unsigned long long) off);
+
buf = volume_id_get_buffer(id, off, 0x200);
if (buf == NULL)
return -1;
struct ocfs2_super_block *os;
size_t blksize;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
for (blksize = 0x200; blksize <= OCFS2_MAX_BLOCKSIZE; blksize <<= 1) {
buf = volume_id_get_buffer(id, off + OCFS2_SUPER_BLOCK_BLKNO * blksize, 0x200);
63, 255, 256, 16, 399, 0
};
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x40000)
struct reiser4_super_block *rs4;
uint8_t *buf;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
buf = volume_id_get_buffer(id, off + REISERFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
{
struct romfs_super *rfs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
rfs = (struct romfs_super *) volume_id_get_buffer(id, off, 0x200);
if (rfs == NULL)
uint64_t meta_off;
struct silicon_meta *sil;
- dbg("probing at offset 0x%llx, size 0x%llx",
+ info("probing at offset 0x%llx, size 0x%llx",
(unsigned long long) off, (unsigned long long) size);
if (size < 0x10000)
{
struct squashfs_super *sqs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
sqs = (struct squashfs_super *) volume_id_get_buffer(id, off + 0x200, 0x200);
if (sqs == NULL)
struct xenix_super *xs;
unsigned int boff;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
for (boff = 0x200; boff <= SYSV_MAX_BLOCKSIZE; boff <<= 1) {
vs = (struct sysv_super *)
unsigned int loc;
unsigned int clen;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
vsd = (struct volume_structure_descriptor *) volume_id_get_buffer(id, off + UDF_VSD_OFFSET, 0x200);
if (vsd == NULL)
struct ufs_super_block *ufs;
int offsets[] = {0, 8, 64, 256, -1};
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
for (i = 0; offsets[i] >= 0; i++) {
ufs = (struct ufs_super_block *) volume_id_get_buffer(id, off + (offsets[i] * 0x400), 0x800);
{
ssize_t buf_len;
- dbg("get buffer off 0x%llx(%llu), len 0x%zx", (unsigned long long) off, (unsigned long long) off, len);
+ info("get buffer off 0x%llx(%llu), len 0x%zx", (unsigned long long) off, (unsigned long long) off, len);
/* check if requested area fits in superblock buffer */
if (off + len <= SB_BUFFER_SIZE) {
if (id->sbbuf == NULL) {
/* check if we need to read */
if ((off + len) > id->sbbuf_len) {
- dbg("read sbbuf len:0x%llx", (unsigned long long) (off + len));
+ info("read sbbuf len:0x%llx", (unsigned long long) (off + len));
if (lseek(id->fd, 0, SEEK_SET) < 0) {
dbg("lseek failed (%s)", strerror(errno));
return NULL;
/* check if we need to read */
if ((off < id->seekbuf_off) || ((off + len) > (id->seekbuf_off + id->seekbuf_len))) {
- dbg("read seekbuf off:0x%llx len:0x%zx", (unsigned long long) off, len);
+ info("read seekbuf off:0x%llx len:0x%zx", (unsigned long long) off, len);
if (lseek(id->fd, off, SEEK_SET) < 0) {
dbg("lseek failed (%s)", strerror(errno));
return NULL;
{
struct vxfs_super *vxs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
vxs = (struct vxfs_super *) volume_id_get_buffer(id, off + 0x200, 0x200);
if (vxs == NULL)
{
struct xfs_super_block *xs;
- dbg("probing at offset 0x%llx", (unsigned long long) off);
+ info("probing at offset 0x%llx", (unsigned long long) off);
xs = (struct xfs_super_block *) volume_id_get_buffer(id, off, 0x200);
if (xs == NULL)