Mkfs.vfat -v -n MyNewDisk /dev/block/uba1 One more example, giving the file system a name: (provided your drive to format is available as /dev/block/uba1 on your system). KBYTES: probably the block size in KB(I'm not 100% sure with this) Mkfs.vfat BLOCKDEV īLOCKDEV: the file system (block device) you want to format Also, all commands must be run as root ( su -c before anything else)) (The working directory should be /system/xbin/ or /system/bin/, whichever has the busybox binaries installed to it. This will format the block device to FAT32, if the binary is available (I think it is present in busybox and CyanogenMod), otherwise: You could try mkdosfs -v BLOCKDEV KBYTES, where all the options have been explained above. Get the block device id of the flash drive by using the blkid command from TWRP's "terminal emulator" option under the "Advanced" button. It currently does not support the exFAT file system, but supports most common Linux file systems and FAT32, and it can detect unmounted partitions and format by block device id. The Android pendant (port) of GParted for Linux, AParted.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |