|
发表于 2003-10-29 16:32:50
|
显示全部楼层
我是这么做的:
modprobe usb-storage
modprobe scsi_mod
modprobe sd_mod
fdisk -l 就会列出当前的分区
[root@localhost root]# fdisk -l
Disk /dev/sda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 c Win95 FAT32 (LBA)
/dev/sda2 1276 2431 9285570 f Win95 Ext'd (LBA)
/dev/sda5 1276 2431 9285538+ b Win95 FAT32
Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1014 8144923+ b Win95 FAT32
/dev/hda2 1021 2432 11341890 f Win95 Ext'd (LBA)
/dev/hda5 1021 1695 5421906 b Win95 FAT32
/dev/hda6 1696 1761 530113+ 82 Linux swap
/dev/hda7 1762 2432 5389776 83 Linux
然后把mount写进/etc/fstab文件
[root@localhost root]# more /etc/fstab
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/hda5 /mnt/hda5 vfat codepage=936,iocharset=cp936 0 0
/dev/hda1 /mnt/hda1 vfat codepage=936,iocharset=cp936 0 0
/dev/sda1 /mysite vfat codepage=936,iocharset=cp936 0 0
/dev/sda5 /mnt/usb vfat codepage=936,iocharset=cp936 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 |
|