#include#include //整型变量最大最小值using namespace std;/* 说简单不简单的字符串转整数题1、开头空白2、正负号3、非数字4、超过int类型范围5、'\0'结尾*/bool myatoi(const char *str,int *result){ if(!s... Read More
posted @ 2014-09-11 22:52 月十日十 Views(205) Comments(0) Diggs(0)
关于存储的一些知识根据传输协议的不同的,网卡可分为三种,一是以太网卡,二是FC网卡,三是iSCSI网卡。以太网卡:学名Ethernet Adapter,传输协议为IP协议,一般通过光纤线缆或双绞线与以太网交换机连接。接口类型分为光口和电口。光口一般都是通过光纤线缆来进行数据传输,接口模块一般为SFP... Read More
posted @ 2014-07-12 18:49 月十日十 Views(504) Comments(0) Diggs(0)
添加一块新SATA磁盘4Glinux-0k5g:~ # fdisk -lDisk /dev/sda: 8589 MB, 8589934592 bytes255 heads, 63 sectors/track, 1044 cylindersUnits = cylinders of 16065 * 51... Read More
posted @ 2014-07-12 12:48 月十日十 Views(391) Comments(0) Diggs(0)
磁盘分区 :fdisk fdisk /dev/sda # 不是sda1,sda2等,不要加数字,因为分区是针对整个磁盘的而不是针对某个分区Command (m for help): pDisk /dev/sda: 8589 MB, 8589934592 bytes255 heads, 6... Read More
posted @ 2014-07-11 23:03 月十日十 Views(222) Comments(0) Diggs(0)
/proc 目录 当用df -a 显示磁盘及文件系统信息时会出现这个/proc,这个是内存里的目录,/proc里的东西都是linux系统所需要加载的系统数据,而且是挂在到内存中的,没有占任何硬盘空间。你可以直接去修改内存中的数据噢(这在window中不可想象)srsy@linux-0k5g:/pr... Read More
posted @ 2014-07-11 21:02 月十日十 Views(166) Comments(0) Diggs(0)
Shell 通配符(wildcard) 初学者容易将通配符和正则表达式弄混淆。 通配符(wildcard)即,*,?,[-],[^],[],等只适用于shell命令行中的path参数(路径名,文件名);对于非shell的应用而言,没有wildcard这个概念。* 代表『 0 个或... Read More
posted @ 2014-07-06 12:03 月十日十 Views(456) Comments(0) Diggs(0)
Linux版本: openSUSE-11.0-GNOME-LiveCD-i386.torrent ,(680M)下载地址:http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/11.0/iso/torrent/ 安装都是默认的,设的... Read More
posted @ 2014-07-05 16:52 月十日十 Views(669) Comments(0) Diggs(0)
入驻博客园。记录我的学习历程 Read More
posted @ 2014-06-22 23:54 月十日十 Views(86) Comments(0) Diggs(0)