GithubHelp home page GithubHelp logo

lde-testdata's Introduction

Test data for the Linux Disk Editor.

Scripts

  • test.sh = test script to verify builds

Sample small images

  • test.ext2 = small image of ext2fs
  • test.ext3 = small image of ext3fs
  • test.ext4 = small image of ext4fs
  • test.iso9660j = small image of ISO9660 CDROM filesystem with joliet extensions
  • test.minix = small image of MINIX file system
  • test.vfat = small image of windows/msdos VFAT system
  • test.xiafs = small image of XIAFS file system
  • testd = some binary test data, no associated file system

Folders

  • expected/ = normal output from test scripts
  • results/ = temporary directory for storing results, set RETAIN=1 to prevent autocleanup after each test
  • search/ = files with some binary signatures

Creation Notes

Replicating ext2 data (on ./mnt) to new filesystems

mkisofs -o test.iso9660j -cache-inodes -J -T -R -V 'lde-test-isofs' /mnt/

dd if=/dev/zero bs=1k count=200 of=./test.ext3 mkfs.ext3 ./test.ext3 mount ./test.ext3 /mnt2 ( cd /mnt ; tar cf - . ) | ( cd /mnt2 ; tar xf - ) umount /mnt2

dd if=/dev/zero bs=1k count=100 of=./test.vfat mkfs.vfat -n LDE-FAT ./test.vfat mount ./test.vfat /mnt2 ( cd /mnt ; tar cf - . ) | ( cd /mnt2 ; tar xf - ) cd /mnt2/dir3.100entries/ cp /mnt/dir3.100entries/* . umount /mnt2

FAT16 has warnings about needing mount flags if we're smaller than 16MB

dd if=/dev/zero bs=1M count=16 of=./test.fat16 mkfs.vfat -v -f2 -n LDEFAT16 -r224 -F16 ./test.fat16

mkfs.vfat -v -f2 -n LDEFAT32 -r224 -F32 -S512 ./test.vfat32

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.