歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> 關於Unix >> redhat 9 下使用U盤

redhat 9 下使用U盤

日期:2017/3/6 15:29:07   编辑:關於Unix
今天拿了一個京華256M的U盤,掛到了系統上,這是我的操作步驟 root@localhost usb]# fdisk -l Disk /dev/sda: 268 MB, 268271616 bytes 2 heads, 32 sectors/track, 8187 cylinders Units = cylinders of 64 * 512 = 32768 bytes Device Boot Start End Block 今天拿了一個京華256M的U盤,掛到了系統上,這是我的操作步驟

root@localhost usb]# fdisk -l

Disk /dev/sda: 268 MB, 268271616 bytes
2 heads, 32 sectors/track, 8187 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 8186 261920 b Win95 FAT32

#其中的sda1就是U盤設備名


Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 852 6843658+ 7 HPFS/NTFS
/dev/hda2 853 9964 73192140 f Win95 Ext'd (LBA)
/dev/hda5 853 3284 19535008+ 7 HPFS/NTFS
/dev/hda6 3285 5716 19535008+ 7 HPFS/NTFS
/dev/hda7 5717 8148 19535008+ c Win95 FAT32 (LBA)
/dev/hda8 8149 8161 104391 83 Linux
/dev/hda9 8162 9907 14024713+ 83 Linux
/dev/hda10 9908 9964 457821 82 Linux swap
[root@localhost mnt]# mkdir /mnt/usb
[root@localhost mnt]# mount /dev/sda1 /mnt/usb
[root@localhost mnt]# ls /mnt/usb
a test
[root@localhost mnt]#

好了,行了,撥出U盤前記得umount /dev/sda1




Copyright © Linux教程網 All Rights Reserved