{ "info": { "author": "Danilo Bargen", "author_email": "gezuru@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 2", "Topic :: Education", "Topic :: System :: Filesystems", "Topic :: Utilities" ], "description": "##########\nsuperblock\n##########\n\nA script written in Python 2 to analyze the superblock of an ext2/ext3 formatted\nfile.\n\nSuch a file can be created as follows::\n\n $ dd count=4096 if=/dev/zero of=filesystem.ext3\n $ sudo mkfs.ext3 filesystem.ext3\n\nIt can be mounted with ::\n\n $ sudo mount -t ext3 -o loop filesystem.ext3 /mnt/mountpoint\n\n\nInstall\n=======\n\nYou can either download ``superblock.py`` file and use it directly, or install\nthe ``superblock`` command via pip::\n\n $ sudo pip install superblock\n\n\nUsage\n=====\n\n::\n\n $ superblock [dump|analyze] \n\n\nLicense\n=======\n\n`MIT License `_, see LICENSE file.\n\n\nExamples\n========\n\nDump\n----\n\n::\n\n Printing superblock (bytes 1024-1535) of file fs.ext2.\n\n HEX ASCII \n 1: 40000000 00020000 19000000 e2010000 @...............\n 2: 32000000 01000000 00000000 00000000 2...............\n 3: 00200000 00200000 40000000 82bad550 . ... ..@......P\n 4: c4bcd550 0200ffff 53ef0100 01000000 ...P....S.......\n 5: 968bd550 00000000 00000000 01000000 ...P............\n 6: 00000000 0b000000 80000000 38000000 ............8...\n 7: 02000000 01000000 dc0cb51b 2ab54967 ............*.Ig\n 8: 8e602492 87974d10 65787065 72696d5f .`$...M.experim_\n 9: 65787432 00000000 2f686f6d 652f6461 ext2..../home/da\n 10: 6e696c6f 2f50726f 6a656374 732f7375 nilo/Projects/su\n 11: 70657262 6c6f636b 2f6d6e74 00000000 perblock/mnt....\n 12: 00000000 00000000 00000000 00000000 ................\n 13: 00000000 00000000 00000000 00000100 ................\n 14: 00000000 00000000 00000000 00000000 ................\n 15: 00000000 00000000 00000000 ff27f89c .............'..\n 16: b5cb41d1 987de848 6b3e81ba 01000000 ..A..}.Hk>......\n 17: 0c000000 00000000 968bd550 00000000 ...........P....\n 18: 00000000 00000000 00000000 00000000 ................\n 19: 00000000 00000000 00000000 00000000 ................\n 20: 00000000 00000000 00000000 00000000 ................\n 21: 00000000 00000000 00000000 00000000 ................\n 22: 00000000 00000000 00000000 00000000 ................\n 23: 01000000 00000000 00000000 00000000 ................\n 24: 00000000 00000000 00000000 00000000 ................\n 25: 00000000 00000000 00000000 00000000 ................\n 26: 00000000 00000000 00000000 00000000 ................\n 27: 00000000 00000000 00000000 00000000 ................\n 28: 00000000 00000000 00000000 00000000 ................\n 29: 00000000 00000000 00000000 00000000 ................\n 30: 00000000 00000000 00000000 00000000 ................\n 31: 00000000 00000000 00000000 00000000 ................\n 32: 00000000 00000000 00000000 00000000 ................\n\nAnalyze\n-------\n\n::\n\n Analyzing superblock (bytes 1024-1535) of file fs.ext2.\n\n Total number of inodes: 64\n Filesystem size in blocks: 512\n Number of reserved blocks: 25\n Free blocks counter: 482\n Free inodes counter: 50\n Number of first block: 1\n Block size: 0 (1024 Byte)\n Fragment size: 0\n Number blocks per group: 8192\n Number fragments per group: 8192\n Number inodes per group: 64\n Number of block groups: 1\n Time of last mount: 1356184194 (2012-12-22 14:49:54)\n Time of last write: 1356184772 (2012-12-22 14:59:32)\n Mount operations counter: 2\n Number of mount operations before check: 65535\n Magic signature: 0XEF53\n Status flag: 1\n Behavior when detecting errors: 1\n Minor revision level: 0\n Time of last check: 1356172182 (2012-12-22 11:29:42)\n Time between checks: 0\n OS Filesystem created: 0\n Revision level: 1\n Default user ID for reserved blocks: 0\n Default group ID for reserved blocks: 0\n Number first nonreserved inode: 11\n Size of on-disk inode structure: 128\n Block group number of this superblock: 0\n Compatible features bitmap: 111000 (ext_attr resize_ino dir_index)\n Incompatible features bitmap: 00010 (filetype)\n Read-only features bitmap: 001 (sparse_super)\n 128-bit filesystem identifier: dc0cb51b-2ab5-4967-8e60-249287974d10\n Volume name: experim_ext2\n Path of last mount point: /home/danilo/Projects/superblock/mnt\n Compression Algorithm: 00000 (none)\n Number of blocks to preallocate: 0\n Number of blocks to preallocate for directories: 0\n Journal UUID: 00000000-0000-0000-0000-000000000000\n Journal inode number: 0\n Journal device number: 0\n Journal last orphan: 0\n Hash seed: 2633508863 3510750133 1223196056 3129032299\n Hash version: 1\n Default mount options: 01100 (xattr_user acl)\n First meta block group ID: 0\n\n\nResources\n=========\n\n- `The Second Extended File System `__\n- `/usr/include/ext2fs/ext2_fs.h`", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dbrgn/superblock", "keywords": "filesystem superblock ext2 ext3 extfs analyze", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "superblock", "package_url": "https://pypi.org/project/superblock/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/superblock/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dbrgn/superblock" }, "release_url": "https://pypi.org/project/superblock/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "A script written in Python 2 to analyze the superblock of an ext2/ext3 formatted file.", "version": "0.2.1" }, "last_serial": 656634, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "984fc439df0032c0b082b38c32e0151f", "sha256": "4df7f7407736ae3cca2185826b17060f416be0d3bbb117f6f9bec2e54eb5035a" }, "downloads": -1, "filename": "superblock-0.1.0.tar.gz", "has_sig": false, "md5_digest": "984fc439df0032c0b082b38c32e0151f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4417, "upload_time": "2013-01-30T16:57:24", "url": "https://files.pythonhosted.org/packages/56/43/a20665c66588c95bc2dfa7df57835afb8418095c9e6affd693a7f13d8038/superblock-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "dc0a673087ec6ace07cd7e9c9221182e", "sha256": "c70c670bd28a377bbf0be5cd85a6088a5e469ba390d1f8bbb7db95efcce7ad0c" }, "downloads": -1, "filename": "superblock-0.1.1.tar.gz", "has_sig": false, "md5_digest": "dc0a673087ec6ace07cd7e9c9221182e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5679, "upload_time": "2013-01-30T17:02:24", "url": "https://files.pythonhosted.org/packages/86/a1/58e74ff51480f7283d8ecfd55187841376bfcc61ac4cc90863f5f8d3fa8f/superblock-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e667a09ca5161b39468422f08d483219", "sha256": "ca8f2e03215c6b08618e5a7ea2e6bfaa34674f03021dc298e2fd13435a8e7f10" }, "downloads": -1, "filename": "superblock-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e667a09ca5161b39468422f08d483219", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6055, "upload_time": "2013-01-30T18:54:23", "url": "https://files.pythonhosted.org/packages/c0/86/e75e5070194021726ee72f7c8f1012a8732402be7276872c7e442389530b/superblock-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "68df686419225794476ee582410e154e", "sha256": "71ff60850d12f30180dbe05d743bab2c0954953f5026deb21d02d53b69e4ca8e" }, "downloads": -1, "filename": "superblock-0.2.1.tar.gz", "has_sig": false, "md5_digest": "68df686419225794476ee582410e154e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6034, "upload_time": "2013-01-30T18:55:58", "url": "https://files.pythonhosted.org/packages/41/f6/ba462b2ef0edf27e47e5fec6e22b30561bc0b0c750d26b3d24f9960dcc07/superblock-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "68df686419225794476ee582410e154e", "sha256": "71ff60850d12f30180dbe05d743bab2c0954953f5026deb21d02d53b69e4ca8e" }, "downloads": -1, "filename": "superblock-0.2.1.tar.gz", "has_sig": false, "md5_digest": "68df686419225794476ee582410e154e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6034, "upload_time": "2013-01-30T18:55:58", "url": "https://files.pythonhosted.org/packages/41/f6/ba462b2ef0edf27e47e5fec6e22b30561bc0b0c750d26b3d24f9960dcc07/superblock-0.2.1.tar.gz" } ] }