- 论坛徽章:
- 0
|
在虚拟机下,添加了一块硬盘。\r\n但是如何知道这个设备名。\r\n如何格式化?\r\n\r\n几个命令的输出:\r\n-bash-3.00$ cd /devices/\r\n-bash-3.00$ ll\r\ntotal 18\r\ndrwxr-xr-x 3 root sys 512 Nov 13 23:09 isa/\r\ndrwxr-xr-x 2 root sys 512 Nov 13 23:09 objmgr/\r\ndrwxr-xr-x 2 root sys 512 Nov 13 23:09 options/\r\ndrwxr-xr-x 3 root sys 512 Nov 13 23:16 pci@0,0/\r\ncrw------- 1 root sys 86, 255 Dec 16 18:42 pci@0,0:devctl\r\ndrwxr-xr-x 2 root sys 2560 Dec 16 18:39 pseudo/\r\ncrw------- 1 root sys 2, 0 Dec 16 18:42 pseudo:devctl\r\ndrwxr-xr-x 2 root sys 512 Nov 13 23:09 scsi_vhci/\r\ncrw------- 1 root sys 174, 0 Dec 16 18:42 scsi_vhci:devctl\r\ndrwxr-xr-x 2 root sys 512 Nov 13 23:09 xsvc/\r\ncrw------- 1 root sys 73, 0 Dec 16 18:32 xsvc svc\r\n-bash-3.00$ df -h\r\nFilesystem size used avail capacity Mounted on\r\n/dev/dsk/c0d0s0 18G 7.1G 10G 41% /\r\n/devices 0K 0K 0K 0% /devices\r\nctfs 0K 0K 0K 0% /system/contract\r\nproc 0K 0K 0K 0% /proc\r\nmnttab 0K 0K 0K 0% /etc/mnttab\r\nswap 2.8G 516K 2.8G 1% /etc/svc/volatile\r\nobjfs 0K 0K 0K 0% /system/object\r\n/usr/lib/libc/libc_hwcap1.so.1\r\n 18G 7.1G 10G 41% /lib/libc.so.1\r\nfd 0K 0K 0K 0% /dev/fd\r\nswap 2.8G 4K 2.8G 1% /tmp\r\nswap 2.8G 20K 2.8G 1% /var/run |
|