Scripts for disks.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BrainwreckedTech 4a818bb2d5
First sync.
5 years ago
LICENSE Initial commit 5 years ago
README.md First sync. 5 years ago
ckalign First sync. 5 years ago
cto First sync. 5 years ago
ddi First sync. 5 years ago
drvspeed First sync. 5 years ago
filldev First sync. 5 years ago
lctopen First sync. 5 years ago
makeraid First sync. 5 years ago
mkcrypt First sync. 5 years ago
nhdtest First sync. 5 years ago
partcopy First sync. 5 years ago
partvis First sync. 5 years ago

README.md

disks

Scripts for disks

PLEASE NOTE: These scripts should be considered experimental. Test on non-production or backed-up data first.

  • ckalign

    Check if a given sector number is aligned on a 4k boundary

  • ctoa

    CrypTab Open All: Opens all devices listed in /etc/cryptab

  • drvspeed

    Reports speeds of all devices using hdparm

  • ddi

    Dump Disk Info: Dumps UUID and Label to .uuid and .label files in root of device

  • filldev

    Fills a hard drive with 0's or with random data

  • lctopen

    LUKS CrypTab Open: Opens a device in /etc/cryptab given a unique identifier)

  • makeraid

    Make a RAID device

  • mkcrypt

    Make a crypt device

  • nhdtest

    Tests new hard drives

  • partcopy

    Copies the contents of one partition to another (takes care of mounting and unmounting)

  • partvis

    Displays device partitions on the command line