Browsing through the Linux kernelsection devicessub section blockfile badblocks.clevel critical When I look in sources for real work I use the old school method terminal (ba(c)(k)(z)(fi)sh)vimlogicpatience This is just a lazy exercise DESCRIPTION badblocks is used to search for bad blocks on a device (usually a disk partition). device is the special file corresponding to the device (e.g /dev/hdc1). last_block is the last block to be checked; if it is not specified, the last block on the device is used as a default. first_block is an optional parameter specifying the starting block number for the test, which allows the testing to start in the middle of the disk. If it is not specified the first block on the disk is used as a default. sources: man badblocks(8) https://explorar.dev/linux-kernel/ #kernel #sources #programming #logic #terminal #linux #explorar #dev #bash #csh #kzh #zsh #sh