diff --git a/format2usb.md b/format2usb.md index 365fde6..d6cc984 100644 --- a/format2usb.md +++ b/format2usb.md @@ -3,13 +3,13 @@ A couple of functions i created to format my drives. It will delete existing par I could of used just mkfs to format but from my experience linux likes to have at least one partition so that is why we used fdisk to create a partition before we format with mkfs. -* tutorial video: [Link](https://www.youtube.com/watch?v=ypKjq5KIxSk) +* tutorial video: [Link](https://www.youtube.com/watch?v=7txO1cdNJsQ) * offical website: [Link](https://www.youtube.com/user/gotbletu) ### install requirements mkfs fdisk -### configuration +### code add to ~/.bashrc or ~/.zshrc #-------- Color Code {{{ @@ -35,7 +35,8 @@ add to ~/.bashrc or ~/.zshrc # Format USB Stick/Hard Drive # It will create a single partition that fills the whole drive space - format2usb-fat32() { + + format2usb-ext2() { if [ $# -lt 2 ]; then echo -e "format and create a partition that fills up the whole device" echo -e "\nUsage: $0