AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Computer Support/Help/Discussion... <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Sean Dennis | All | Formatting USB drives with FAT32 under FreeBSD |
May 5, 2023 10:29 PM * |
|||
Hello All, FreeBSD doesn't have an easy way for format drives for FAT32 so I wrote a script to do this: === #!/bin/sh # A little script to format USB drives with FAT32 under FreeBSD # Written by Sean Dennis KS4TD (digimaus) # Released under the BSD 3-clause license # A copy of this license is available at http://ks4td.us/license.txt # if [ -z "$1" ]; then echo -e "\nYou must specify a disk label on the command line.\n" exit 1 fi read -p "Do you really want to format /dev/da0 [Y/N]? " choice case $choice in [yY]* ) echo "\nStarting format process...\n" gpart destroy -F /dev/da0 gpart create -s mbr /dev/da0 gpart add -t fat32 /dev/da0 newfs_msdos -L $1 -F 32 /dev/da0s1 echo -e "\nFormatting completed.\n" exit ;; [nN]* ) echo "\nAborting format process.\n" exit 1 ;; *) exit ;; esac === -- Sean --- GoldED+/BSD 1.1.5-b20220504 * Origin: Outpost BBS * Johnson City, TN (618:618/1) |
||||||
|
Previous Message | Next Message | Back to Computer Support/Help/Discussion... <-- <--- | Return to Home Page |
Execution Time: 0.0186 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |