linux挂载u盘 centos,挂载U盘 --- CentOS

OS :centos4.5

在BIOS设置中确保

PnP/PCI Configurations--------Assign IRQ For USB 为 Enabled

[root@centos45 ~]# fdisk -l

Disk /dev/hda: 20.4 GB, 20490559488 bytes

255 heads, 63 sectors/track, 2491 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

/dev/hda1   *           1        1530    12289693+  83  Linux

/dev/hda2            1531        2231     5630782+  83  Linux

/dev/hda3            2232        2362     1052257+  83  Linux

/dev/hda4            2363        2491     1036192+   5  Extended

/dev/hda5            2363        2427      522081   82  Linux swap

/dev/hda6            2428        2491      514048+  82  Linux swap

[root@centos45 ~]# fdisk -l

Disk /dev/hda: 20.4 GB, 20490559488 bytes

255 heads, 63 sectors/track, 2491 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System

/dev/hda1   *           1        1530    12289693+  83  Linux

/dev/hda2            1531        2231     5630782+  83  Linux

/dev/hda3            2232        2362     1052257+  83  Linux

/dev/hda4            2363        2491     1036192+   5  Extended

/dev/hda5            2363        2427      522081   82  Linux swap

/dev/hda6            2428        2491      514048+  82  Linux swap

Disk /dev/sda: 500 MB, 500563968 bytes

16 heads, 32 sectors/track, 1909 cylinders

Units = cylinders of 512 * 512 = 262144 bytes

Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1        1910      488816    e  W95 FAT16 (LBA)

[root@centos45 ~]# ll /mnt

total 0

[root@centos45 ~]# mkdir /mnt/usb

[root@centos45 ~]# ll /mnt

total 8

drwxr-xr-x  2 root root 4096 Jul  5 13:33 usb

[root@centos45 ~]# mkdir /mnt/disk

[root@centos45 ~]# ll /mnt

total 16

drwxr-xr-x  2 root root 4096 Jul  5 13:34 disk

drwxr-xr-x  2 root root 4096 Jul  5 13:33 usb

[root@centos45 ~]# mount -t vfat /dev/sda1 /mnt/usb

[root@centos45 ~]# ll /mnt

total 24

drwxr-xr-x  2 root root  4096 Jul  5 13:34 disk

drwxr-xr-x  6 root root 16384 Jan  1  1970 usb

[root@centos45 ~]# ll /mnt/usb

total 34928

drwxr-xr-x  2 root root     8192 Jun 23 15:52 ???

drwxr-xr-x  2 root root     8192 Jun 13 14:23 ????

drwxr-xr-x  2 root root     8192 Jun 18 11:25 ?????

drwxr-xr-x  2 root root     8192 Jun 18 11:25 ?????

-rwxr-xr-x  1 root root      838 Jun 25 09:43 0706.txt

-rwxr-xr-x  1 root root    29184 Jun 22 16:26 1.doc

-rwxr-xr-x  1 root root    63488 Jun 22 11:59 2.doc

-rwxr-xr-x  1 root root    22528 Jun 22 11:59 3.doc

-r-xr-xr-x  1 root root      172 Jun 19 15:58 AutoRun.inf

-rwxr-xr-x  1 root root     6918 Jun  4 16:47 B9034422525U

-r-xr-xr-x  1 root root   234496 Mar  8 09:01 Downloaded Video Files.exe

-rwxr-xr-x  1 root root   234496 Mar  8 09:01 ?????.exe

-rwxr-xr-x  1 root root   234496 Mar  8 09:01 ????.exe

-rwxr-xr-x  1 root root   234496 Mar  8 09:01 ???.exe

-rwxr-xr-x  1 root root 17716096 Oct  3  2006 game_atlantis_v1_12.exe

-rwxr-xr-x  1 root root 12437376 Oct  3  2006 game_magicvines_v1_1.exe

-rwxr-xr-x  1 root root   439716 Aug  9  2006 Games_InstallGuide.pdf

-rwxr-xr-x  1 root root   118784 Apr 19 11:01 httpd.doc

-rwxr-xr-x  1 root root   348160 Jun 19 15:46 msvcr71.dll

-rwxr-xr-x  1 root root  3511570 Jun 19 15:58 RavMonE.exe

-rwxr-xr-x  1 root root       20 Apr 24 11:15 temp.rar

-rwxr-xr-x  1 root root      248 Feb 17  2006 ??.txt

-r-xr-xr-x  1 root root    24576 Sep 24  2006 wsctf.exe

[root@centos45 ~]# umount /mnt/usb

[root@centos45 ~]# ll /mnt/usb

total 0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值