两个问题。第一:如何对闪存盘进行分区?
我不需要这样做,但我不再确定我的分区是否正确对齐,因为当我尝试将驱动器从 FAT 格式化为 ext4 时,gparted 抱怨后我被迫删除并创建一个新的分区表。
天真的答案是说“只需使用默认值,一切都会好起来的”。但是,如果您阅读以下链接,您就会知道事情并没有那么简单:https : //lwn.net/Articles/428584/和 http://linux-howto-guide.blogspot.com/2009/10/increase- usb-flash-drive-write-speed.html
然后还有柱面、磁头和扇区的问题。目前我得到这个:
$sfdisk -l -uM /dev/sdd
Disk /dev/sdd: 30147 cylinders, 64 heads, 32 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 30147/64/32).
For this listing I'll assume that geometry.
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End MiB #blocks Id System
/dev/sdd1 1 30146 30146 30869504 83 Linux
$fdisk -l /dev/sdd
Disk …Run Code Online (Sandbox Code Playgroud)