红联Linux门户
Linux帮助

红旗6.0桌面版无法count USB

发布时间:2008-09-27 08:55:47来源:红联作者:liduo41770
具体参数如下:

[root@localhost ~]# /sbin/lsusb
Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Unknown line at line 5965
Unknown line at line 5966
Unknown line at line 5967
Unknown line at line 5968
Unknown line at line 5969
Unknown line at line 5970

[root@localhost ~]# fdisk -l

Disk /dev/hdc: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 1216 9767488+ 7 HPFS/NTFS
/dev/hdc2 1217 9729 68380672+ f W95 Ext'd (LBA)
/dev/hdc5 1217 3766 20482843+ 7 HPFS/NTFS
/dev/hdc6 6317 9729 27414891 b W95 FAT32
/dev/hdc7 3767 3779 104391 83 Linux
/dev/hdc8 3780 6062 18338166 83 Linux
/dev/hdc9 6063 6316 2040223+ 82 Linux swap / Solaris

Partition table entries are not in disk order



[root@localhost ~]# cd /mnt
[root@localhost mnt]# ls
hdc1 hdc5 hdc6 usb
[root@localhost mnt]# rm -Ri usb
rm:是否删除 目录 “usb”? y
[root@localhost mnt]# ls
hdc1 hdc5 hdc6
[root@localhost mnt]# mkdir usb
[root@localhost mnt]# ls
hdc1 hdc5 hdc6 usb

root@localhost ~]# tail /var/log/messages | grep kernel
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] READ CAPACITY failed
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Sense not available.
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Write Protect is off
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] READ CAPACITY failed
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK,SUGGEST_OK
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Sense not available.
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Write Protect is off
Sep 26 20:20:12 localhost kernel: sd 2:0:0:0: [sda] Assuming drive cache: write through

root@localhost ~]# mkdir /mnt/usb
mkdir: 无法创建目录 “/mnt/usb”: 文件已存在
[root@localhost ~]# cd /mnt
[root@localhost mnt]# ls -l
总计 181
drwxrwxrwx 1 root root 147456 2008-01-09 hdc1
drwxrwxrwx 1 root root 4096 2008-01-09 hdc5
drwxrwxrwx 15 root root 32768 1969-12-31 hdc6
drwxr-xr-x 2 root root 1024 09-26 20:00 usb
[root@localhost mnt]# rm -Ri usb
rm:是否删除 目录 “usb”? y
[root@localhost mnt]# mkdir usb
[root@localhost mnt]# ls -l
总计 181
drwxrwxrwx 1 root root 147456 2008-01-09 hdc1
drwxrwxrwx 1 root root 4096 2008-01-09 hdc5
drwxrwxrwx 15 root root 32768 1969-12-31 hdc6
drwxr-xr-x 2 root root 1024 09-26 20:23 usb
[root@localhost mnt]# mount /dev/sdb /mnt/usb
mount: special device /dev/sdb does not exist
[root@localhost mnt]# mount /dev/sda1 /mnt/usb
mount: special device /dev/sda1 does not exist
[root@localhost mnt]# mount /dev/sda1 /mnt/usb -o codpage=936,iocharset=cp936
mount: special device /dev/sda1 does not exist
[root@localhost mnt]#
文章评论

共有 2 条评论

  1. liduo41770 于 2008-09-27 12:07:30发表:

    man mount? 那有什么用啊~~~只是能知道mount的用法而已啊

  2. sheshijie 于 2008-09-27 09:39:34发表:

    是无法挂载usb么?man mount