命令fdisk查看U盘内分区时能看得到两个分区,但是使用mkfs.vfat格式化U盘分区时提示"没有这样的文件或目录"。
请问各位大神这是为什么?
~$ sudo fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 15.5 GB, 15489564672 bytes
64 heads, 32 sectors/track, 14772 cylinders, total 30253056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
Device Boot Start End Blocks Id System
/dev/sdb1 2048 63487 30720 83 Linux
/dev/sdb2 63488 30253055 15094784 83 Linux
Command (m for help): q
~$ sudo mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.12 (29 Oct 2011)
/dev/sdb1: No such file or directory
请问各位大神这是为什么?
~$ sudo fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 15.5 GB, 15489564672 bytes
64 heads, 32 sectors/track, 14772 cylinders, total 30253056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6f20736b
Device Boot Start End Blocks Id System
/dev/sdb1 2048 63487 30720 83 Linux
/dev/sdb2 63488 30253055 15094784 83 Linux
Command (m for help): q
~$ sudo mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.12 (29 Oct 2011)
/dev/sdb1: No such file or directory
