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 0f6348e0a1
Fix multiple spaces in `ls` output's datetimes
3 years ago
LICENSE Initial commit 5 years ago
README.md Added bdmap 5 years ago
bdmap Fix multiple spaces in `ls` output's datetimes 3 years ago
ckalign More detailed alignment info 3 years ago
cto First sync. 5 years ago
ddi First sync. 5 years ago
drvspeed First sync. 5 years ago
filldev Proper looping output 3 years ago
lctopen First sync. 5 years ago
makeraid Updated `makeraid` script 3 years ago
mkcrypt Code cleanup: remove extraneous space from end of line 3 years ago
nhdtest First sync. 5 years ago
partcopy First sync. 5 years ago
partvis Allow `partvis` to take stdin 3 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.

bdmap
Block Device Map: Maps /dev devices to sata/usb/etc. devices
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