日期:2014-05-16  浏览次数:20685 次

red hat Linux 9 U盘操作
fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14       979   7759395   83  Linux
/dev/sda3           980      1044    522112+  82  Linux swap

插上U盘之后

fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14       979   7759395   83  Linux
/dev/sda3           980      1044    522112+  82  Linux swap

Disk /dev/sdb: 4009 MB, 4009754624 bytes
255 heads, 63 sectors/track, 487 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1   *         1       488   3915744+   c  Win95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
     phys=(486, 254, 63) logical=(487, 125, 22)

挂载

mount /dev/sdb1
ls /mnt

Adobe Photoshop CS5.EXE  boot.ini           okldr
Ghost.bat                          bootfont.bin       onekey.exe
Uninstall.                         codes.rar          phldr
YlmF                               items20120215.rar  phldr.mbr
YlmF.ima                           ntdetect.com       qq.rar
YlmF_PH                            ntldr              winxpsp3.gho

卸载

umount /mnt
ls /mnt

cdrom  floppy

umount:/mnt:device is busy

umount /dev/sdb1 -l