notes/Create and Fix a Fake 1TB FLASH Drive-3KBrwmwK.sh
#create vfat filesystem file 
mkdosfs -C temp_file 1000000000


#check file size

ls -lh temp_file #fake size

ls -sh #real Size


#get real size in KB

ls -s temp_file

#As ROOT (Not SUDO)
head -c [size_from_above]K temp_file > /dev/sdc1
#umount and remount


#label Drive

sudo mlabel -i /dev/sdc1 ::"1TB DRIVE"
#OR
sudo dosfslabel /dev/sdc1 "1TB DRIVE"


#filelight is a good visual of disk usage
#df -h will show it was a TB

#Gparted is not fooled

#fdisk is not fooled


#use fdisk and mkfs.vfat to recreate partition to fix

syntax highlighted by Code2HTML, v. 0.9.1