|
发表于 2008-10-20 20:54:05
|
显示全部楼层
可以的。
fdisk -l 用来查看系统的分区信息
比如
[php]
7dehao ~ # fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xbdfc37ac
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 5099 30716280 c W95 FAT32 (LBA)
/dev/sda3 5100 5343 1959930 82 Linux swap / Solaris
/dev/sda4 5344 19457 113370705 5 Extended
/dev/sda5 5344 11423 48837568+ 83 Linux
/dev/sda6 11424 12640 9775521 83 Linux
/dev/sda7 12641 19457 54757521 83 Linux
[/php]
#mkdir /media/disk-d 创建一个linux下的目录,用来挂载分区
# mount /dev/sda2 /media/disk-d
# mount -o rw,utf8,umask=0 /dev/sda2 /media/disk-d/
就可以了 |
|