如何查询磁盘的名字?
已经format了一个磁盘,准备使用mount把他挂到文件夹上去,可是,他的名字是什么呢?(名字的前面的应该c1t1d0) /dev/dsk/c1t1d0s#不能mount disk只能mount slice ,format分区后可mount 回复 2# DC_楚楚
谢谢,我如何知道系统当前所有的slice? # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
/pci@0,0/pci15ad,1976@10/sd@0,0
Specify disk (enter its number): 0 //这里选择磁盘号
selecting c0t0d0
Warning: Current Disk has mounted partitions.
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0t0d0s1 is currently used by swap. Please see swap(1M).
/dev/dsk/c0t0d0s3 is currently mounted on /export/home. Please see umount(1M).
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition- select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> verify
Primary label contents:
Volume name = < >
ascii name= <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
pcyl = 2609
ncyl = 2607
acyl = 2
bcyl = 0
nhead =255
nsect = 63
Part Tag Flag Cylinders Size Blocks
0 root wm 1 - 1045 8.01GB (1045/0/0) 16787925
1 swap wu 1046 - 1307 2.01GB (262/0/0) 4209030
2 backup wm 0 - 2606 19.97GB (2607/0/0) 41881455
3 home wm 1308 - 2599 9.90GB (1292/0/0) 20755980
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 2600 - 2606 54.91MB (7/0/0) 112455
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0
format>
上面的part就是slice 果然可以,谢谢。 楚楚果然V5
页:
[1]