Git Product home page Git Product logo

vddump's Introduction

Usage

vddump [-c]

Dump iso9660 volume descriptors in human-readable form.

It reads data from stdin. Input should be iso9660 VD. Only Primary VD (ECMA-119, section 8.4) and Supplementary VD (ECMA-119, section 8.5) are supported.

Single-value fields are printed this way (the parsed value is optional):

-- name offset length (parsed value)
xxd-style dump of the raw value

Root Directory Record is a structure, it is expanded with extra indentation.

Options:

-h
Show usage
-c
Apply colors to field names and parsed values

Example

Dump the first VD (the primary one) from $iso (partial output):

> dd bs=2048 skip=16 count=1 2>/dev/null < "$iso" | vddump
-- code 0 1 (1)
01                                       .
-- id 1 5
4344 3030 31                             CD001
-- version 6 1 (1)
01                                       .
-- unused1 7 1
00                                       .
-- system_id 8 32
2020 2020 2020 2020 2020 2020 2020 2020
2020 2020 2020 2020 2020 2020 2020 2020
-- volume_id 40 32
5562 756e 7475 2032 342e 3034 204c 5453  Ubuntu 24.04 LTS
2061 6d64 3634 2020 2020 2020 2020 2020   amd64
-- unused2 72 8
0000 0000 0000 0000                      ........
-- volume_space_size 80 8 (2985672)
c88e 2d00 002d 8ec8                      ..-..-..
-- unused3 88 32
0000 0000 0000 0000 0000 0000 0000 0000  ................
0000 0000 0000 0000 0000 0000 0000 0000  ................
-- volume_set_size 120 4 (1)
0100 0001                                ....
-- volume_sequence_number 124 4 (1)
0100 0001                                ....
-- logical_block_size 128 4 (2048)
0008 0800                                ....
-- path_table_size 132 8 (3072)
000c 0000 0000 0c00                      ........
-- type_l_path_table 140 4 (274)
1201 0000                                ....
-- opt_type_l_path_table 144 4 (0)
0000 0000                                ....
-- type_m_path_table 148 4 (20)
0000 0114                                ....
-- opt_type_m_path_table 152 4 (0)
0000 0000                                ....
-- root_directory_record 156 34
  -- length 0 1 (34)
  22                                       "
  -- ext_attr_length 1 1 (0)
  00                                       .
  -- extent 2 8 (35)
  2300 0000 0000 0023                      #......#
  -- size 10 8 (2048)
  0008 0000 0000 0800                      ........
  -- date 18 7 (2024-04-24 11:28:51 GMT+00)
  7c04 180b 1c33 00                        |....3.
  -- flags 25 1 (2)
  02                                       .
  -- file_unit_size 26 1 (0)
  00                                       .
  -- interleave 27 1 (0)
  00                                       .
  -- volume_sequence_number 28 4 (1)
  0100 0001                                ....
  -- name_len 32 1 (1)
  01                                       .
  -- name 33 1
  00                                       .
-- volume_set_id 190 128
..

Full-length examples can be found here.

vddump's People

Contributors

slowpeek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.