博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
mars
一生何求
huanghaojie.cublog.cn
管理博客
发表文章
留言
收藏夹
博客圈
音乐
相册
文章
首页
关于作者
姓名:Jiangtao 职业:Linux Support 年龄:26 位置:Shanghai 个性介绍:
||
<<
>>
||
我的分类
文章列表 -
system type
<DIV>File System Types:<BR><BR><BR>AIX supports multiple file system types. These include the following:<BR><BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2) <BR>Network File System (NFS) <BR>CD-ROM File System (CDRFS) <BR>DVD-ROM File System (UDFS)<BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2)<BR>Supports the entire set of file system semantics. These file systems use database journaling techniques to maintain structural consistency. This prevents damage to the file system when the system is halted abnormally.<BR><BR>Each JFS or JFS2 resides on a separate logical volume. The operating system mounts the file system during initialization. This multiple file system configuration is useful for system management functions such as backup, restore, and repair, because it isolates a part of the file tree so that you can work on it.<BR><BR>A difference between JFS and JFS2 is that JFS2 is designed to support large files and large file systems. These file system types are described more thoroughly in Understanding JFS and JFS2.<BR><BR>Network File System (NFS)<BR>Is a distributed file system that allows users to access files and directories located on remote computers and use those files and directories as if they were local. For example, users can use operating system commands to create, remove, read, write, and set file attributes for remote files and directories. NFS is described more thoroughly in the AIX 5L Version 5.2 Security Guide.<BR><BR>CD-ROM File System (CDRFS)<BR>Allows access to the contents of a CD-ROM through the normal file system interfaces. CDRFS is described more thoroughly in Understanding CDRFS.<BR><BR>DVD-ROM File System (UDFS)<BR>Allows access to the contents of a DVD through the normal file system interfaces. UDFS is described more thoroughly in Understanding UDFS.<BR><BR>Understanding JFS and JFS2<BR>The journaled file system (JFS) and the enhanced journaled file system (JFS2) are built into the base operating system. Both file system types link their file and directory data to the structure used by the AIX Logical Volume Manager for storage and retrieval. A difference is that JFS2 is designed to accommodate a 64-bit kernel and larger files.<BR><BR>The following sections describe these file systems. Unless otherwise noted, the following sections apply equally to JFS and JFS2.<BR><BR>JFS2<BR>JFS2 (enhanced journaled file system) is a file system, introduced in AIX 5L for POWER Version 5.1, that provides the capability to store m
查看全文
发表于:2008-05-09 ┆
阅读(77)
┆
评论(0)
system type
<DIV>File System Types:<BR><BR><BR>AIX supports multiple file system types. These include the following:<BR><BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2) <BR>Network File System (NFS) <BR>CD-ROM File System (CDRFS) <BR>DVD-ROM File System (UDFS)<BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2)<BR>Supports the entire set of file system semantics. These file systems use database journaling techniques to maintain structural consistency. This prevents damage to the file system when the system is halted abnormally.<BR><BR>Each JFS or JFS2 resides on a separate logical volume. The operating system mounts the file system during initialization. This multiple file system configuration is useful for system management functions such as backup, restore, and repair, because it isolates a part of the file tree so that you can work on it.<BR><BR>A difference between JFS and JFS2 is that JFS2 is designed to support large files and large file systems. These file system types are described more thoroughly in Understanding JFS and JFS2.<BR><BR>Network File System (NFS)<BR>Is a distributed file system that allows users to access files and directories located on remote computers and use those files and directories as if they were local. For example, users can use operating system commands to create, remove, read, write, and set file attributes for remote files and directories. NFS is described more thoroughly in the AIX 5L Version 5.2 Security Guide.<BR><BR>CD-ROM File System (CDRFS)<BR>Allows access to the contents of a CD-ROM through the normal file system interfaces. CDRFS is described more thoroughly in Understanding CDRFS.<BR><BR>DVD-ROM File System (UDFS)<BR>Allows access to the contents of a DVD through the normal file system interfaces. UDFS is described more thoroughly in Understanding UDFS.<BR><BR>Understanding JFS and JFS2<BR>The journaled file system (JFS) and the enhanced journaled file system (JFS2) are built into the base operating system. Both file system types link their file and directory data to the structure used by the AIX Logical Volume Manager for storage and retrieval. A difference is that JFS2 is designed to accommodate a 64-bit kernel and larger files.<BR><BR>The following sections describe these file systems. Unless otherwise noted, the following sections apply equally to JFS and JFS2.<BR><BR>JFS2<BR>JFS2 (enhanced journaled file system) is a file system, introduced in AIX 5L for POWER Version 5.1, that provides the capability to store much larger files than the existing Journaled File System (JFS). Customers can choose to implement either JFS, which is the recommended file system for 32-bit environments, or JFS2, which offers 64-bit functionality. <BR><BR>Note:<BR>Unlike the JFS file system, the JFS2 file system will not allow the link() API to be used on files of type directory. This limitation may cause some applications that operate correctly on a JFS file system to fail on a JFS2 file system.<BR>The following table provides a summary of JFS and JFS2 functions: <BR><BR><SPAN style="COLOR: red">Functions JFS2 JFS <BR>Fragments/Block Size 512-4096 Block sizes 512-4096 Frags <BR>Maximum file system size 16 Terabytes 1 Terabyte <BR>Maximum file size 16 Terabytes 64 GB <BR>Number of i-nodes Dynamic, limited by disk space Fixed, set at file-system creation <BR>Directory organization B-tree Linear <BR>Compression No Yes <BR>Quotas No Yes </SPAN><BR><BR>Note:<BR>The maximum file size and maximum file system size is limited to 1 Terabyte when used with the 32-bit kernel.<BR>Understanding Disk Space Segmentation<BR>Many UNIX file systems only allocate contiguous disk space in units equal in size to the logical blocks used for the logical division of files and directories. These allocation units are typically referred to as disk blocks and a single disk block is used exclusively to store the data contained within a single logical block of a file or directory.<BR><BR>Using a relatively large logical block size (4096 bytes for example) and maintaining disk block allocations that are equal in size to the logical block are advantageous for reducing the number of disk I/O operations that must be perf
查看全文
发表于:2008-05-09 ┆
阅读(71)
┆
评论(0)
system type
<DIV>File System Types:<BR><BR><BR>AIX supports multiple file system types. These include the following:<BR><BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2) <BR>Network File System (NFS) <BR>CD-ROM File System (CDRFS) <BR>DVD-ROM File System (UDFS)<BR>Journaled File System (JFS) or Enhanced Journaled File System (JFS2)<BR>Supports the entire set of file system semantics. These file systems use database journaling techniques to maintain structural consistency. This prevents damage to the file system when the system is halted abnormally.<BR><BR>Each JFS or JFS2 resides on a separate logical volume. The operating system mounts the file system during initialization. This multiple file system configuration is useful for system management functions such as backup, restore, and repair, because it isolates a part of the file tree so that you can work on it.<BR><BR>A difference between JFS and JFS2 is that JFS2 is designed to support large files and large file systems. These file system types are described more thoroughly in Understanding JFS and JFS2.<BR><BR>Network File System (NFS)<BR>Is a distributed file system that allows users to access files and directories located on remote computers and use those files and directories as if they were local. For example, users can use operating system commands to create, remove, read, write, and set file attributes for remote files and directories. NFS is described more thoroughly in the AIX 5L Version 5.2 Security Guide.<BR><BR>CD-ROM File System (CDRFS)<BR>Allows access to the contents of a CD-ROM through the normal file system interfaces. CDRFS is described more thoroughly in Understanding CDRFS.<BR><BR>DVD-ROM File System (UDFS)<BR>Allows access to the contents of a DVD through the normal file system interfaces. UDFS is described
查看全文
发表于:2008-05-09 ┆
阅读(75)
┆
评论(0)
aix mount ISO
<h3 id="mount_aix">Mounting ISO images on AIX</h3> <p>There is a known problem with mounting ISO images on the AIX platform. To workaround the problem, complete the following instructions:</p> <ol type="1"><li> Obtain the size of the image. <p>For example:</p> <pre class="xmp"># ls -al<br>total 731594<br>drwxr-xr-x 2 root system 512 Aug 18 11:33 .<br>drwxr-xr-x 6 root system 512 Aug 18 11:32 ..<br>-rw-r--r-- 1 root system 374575104 Apr 29 02:59 <br> ……
查看全文
发表于:2008-05-08 ┆
阅读(187)
┆
评论(0)
throw 与throws区别
区别一:throw 是语句抛出一个异常;throws 是方法抛出一个异常;<br><br>throw语法:throw <异常对象><br><br>在方法声明中,添加throws子句表示该方法将抛出异常。<br><br>throws语法:[<修饰符>]<返回值类型><方法名>([<参数列表>])[throws<异常类>]<br><br>其中:异常类可以声明多个,用逗号分割。<br><br>区别二:throws可以单独使用,但throw不能;<br><br>区别三:throw要么和try-catch-finally语句配套使用,要么与throws配套使用。但throws可以单独使用,然后再由处理异常的方法捕获。 ……
查看全文
发表于:2008-02-21 ┆
阅读(199)
┆
评论(0)
托福词汇
<DIV> <P class=0 style="TEXT-JUSTIFY: inter-ideograph; BACKGROUND: white; MARGIN: auto 0cm; LAYOUT-GRID-MODE: char; LINE-HEIGHT: 150%; TEXT-ALIGN: justify"><SPAN style="FONT-SIZE: 10.5pt; COLOR: black; LINE-HEIGHT: 150%"><FONT face=宋体>七、科技及设备</FONT><SPAN lang=EN-US><FONT face=宋体> Technology & Equipment(1)<SPAN style="mso-spacerun: yes"> </SPAN><BR>1.advance 前进;进展 <BR>2.capacity 容量;才能;能力 <BR>3.component 构成要素;成分;零件 <BR>4.device 装置;设备;图案;设计 <B……
查看全文
发表于:2008-02-02 ┆
阅读(131)
┆
评论(0)
Java的多态性
<p> 面向对象编程有三个特征,即封装、继承和多态。</p> <p> 封装隐藏了类的内部实现机制,从而可以在不影响使用者的前提下改变类的内部结构,同时保护了数据。</p> <p> 继承是为了重用父类代码,同时为实现多态性作准备。那么什么是多态呢?</p> <p> 方法的重写、重载与动态连接构成多态性。Java之所以引入多态的概念,原因之一是它在类的继承问题上和C++不同,后者允许多继承,这确实给其带来的非常强大的功能,但是复杂的继承关系也给C++……
查看全文
发表于:2008-01-29 ┆
阅读(213)
┆
评论(0)
多态和继承(Inheritance)
<DIV><FONT face=Verdana> 严格来说,多态与继承、重载并不是孤立的,他们之间存在着紧密的联系,多态是建立在这两者的基础之上的(实际上继承就有用重载这一特性)。</FONT> <P><BR><FONT face=Verdana> 传统的多态实际上就是由虚函数(Virtual Function)利用虚表(Virtual Table)实现的(早期C模拟OO特性时使用最多,C++的实现也是,后来的技术未作研究,是否使用VT不得而知),自然是离不开继承,换句话说多态实际上覆盖了继承。</FONT></P> <P><FONT face=Verdana> 正是由于继承与多态的紧密联系,使得我们很容易张……
查看全文
发表于:2008-01-28 ┆
阅读(84)
┆
评论(0)
SNMP协议详解
<DIV> <P class="g_w_100 g_t_wrap g_t_center g_t_bold g_t_24 g_c_pdin c07" id=blogtitle__fks_H5O8JDEKQk48V1RMDhb2Yham15EC4xM->SNMP协议详解 </P> <DIV class=g_blog_list> <DIV class="g_t_center g_c_pdin g_p_center c07 content" id=blogtext__fks_H5O8JDEKQk48V1RMDhb2Yham15EC4xM- style="WIDTH: 760px"> <P style="TEXT-INDENT: 2em"> </P> <P style="TEXT-INDENT: 2em"> 简单网络管理协议(SNMP:Simple Network Management Protocol)是由互联网工程任务组(IETF:Internet Engineering Task Force )定义的一……
查看全文
发表于:2008-01-16 ┆
阅读(592)
┆
评论(1)
Linux 磁盘配额( Quota )
<font color="#3333ff" size="+2"><a href="http://linux.vbird.org//linux_basic/0420quota.php" target="_self"><font face="Times New Roman,Times">Linux </font><font face="SimSun">磁盘配额( </font><font face="Times New Roman,Times">Quota</font><font face="SimSun"> )</font></a></font> <div align="right"><font color="#3333ff" face="SimSun" size="-1">最近更新日期:2003/02/10</font></div> <font color="#000099" size="+1"><a href="http://linux-vbird.bluedata.org/linux_base/0420quota.htm#whatis">什……
查看全文
发表于:2007-12-06 ┆
阅读(245)
┆
评论(0)
force the user to change their password upon initi
<ol><li>Create the user account using the <tt class="command">useradd</tt> command.</li><li>Set the password using the <tt class="command">passwd</tt> command.</li><li>Lock the user account using the <tt class="command">usermod -L</tt> command.</li><li>Force the expiration using the <tt class="command">chage -d 0</tt> command.</li><li>Unlock the user account using the <tt class="command">usermod -U</tt> command.</li></ol> <p> Example output from the above commands for the user <em>dan</e……
查看全文
发表于:2007-12-06 ┆
阅读(119)
┆
评论(0)
自动添加samba用户
#!/bin/bash<br><br>group_name=ftp<br>init_passwd=123456<br>passwd_file=/tmp/smb.passwd<br>directory=/team/<br><br>for name in $*<br>do<br> id $name > /dev/null 2>&1<br> if [ $? -eq 1 ]<br> then<br> useradd -g $group_name -d $directory$name $name<br> &nb……
查看全文
发表于:2007-12-05 ┆
阅读(321)
┆
评论(0)
ava interface
<b>关键词</b>: <a href="http://tag.bokee.com/tag/java" target="_blank">java</a> <a href="http://tag.bokee.com/tag/interface" target="_blank">interface</a> <a href="http://tag.bokee.com/tag/%BD%D3%BF%DA" target="_blank">接口</a>  ……
查看全文
发表于:2007-11-29 ┆
阅读(122)
┆
评论(0)
JAVA多态的问题
<DIV>public class ploytest { <BR><BR>public static void main(String[] args) { <BR>A a = new A(); <BR>B b = new B(); <BR>a.s = "[AA]"; <BR>b.s = "[BB]"; <BR>a = b; <BR>System.out.println(a.s); <BR>System.out.println(b.s); <BR>System.out.println(a.getS()); <BR>System.out.println(b.getS()); <BR>System.out.println("===================="); <BR>((A)b).s = "[AA]"; <BR>System.out.println(a.s); <BR>System.out.println(b.s); <BR>System.out.println(a.getS()); <BR>System.out.println(b.getS()); <BR>} <BR>} <B……
查看全文
发表于:2007-11-27 ┆
阅读(157)
┆
评论(0)
Linux 下shell 包含tar文件。
内部调用tar去解,跟作安装包差不多。下边是个作安装包的例子,可以看看呀,呵呵!<br> <br> foo-install.sh文件:<br> ---------------------------------------------------------<br> #!/bin/sh<br> SCRIPT="$0"<br> case "${SCRIPT}" in<br> /*)<br> ? ?;;<br> *)<br> ? ?if [ -f "${SCRIPT}" ]<br> ? ?then<br> ? ? ? ?SCRIPT="`pwd`/${SCRIPT}"<br> ? ?else<br> ? ? ? ?SCRIPT="`which ${SCRIPT}`"<br> ? ?fi<br> ? ?;;<br> esac<br> <br> cd /<br> <br> if [ ! -f……
查看全文
发表于:2007-08-29 ┆
阅读(277)
┆
评论(0)
lsof 命令详解
<code id="code0">一般root用户才能执行lsof命令,普通用户可以看见/usr/sbin/lsof命令,但是普通用户执行会显示“permission denied”<br> 我总结一下lsof指令的用法:<br> lsof abc.txt 显示开启文件abc.txt的进程<br> lsof -i :22 知道22端口现在运行什么程序<br> lsof -c abc 显示abc进程现在打开的文件<br> lsof -g gid 显示归属gid的进程情况<br> lsof +d /usr/local/ 显示目录下被进程开启的文件<br> lsof +D /usr/local/ 同上,但是会搜索目录下的……
查看全文
发表于:2007-08-28 ┆
阅读(394)
┆
评论(0)
正则表达式——Java篇
<DIV> 正则表达式(regular expression)是<SPAN class=original_words>JDK 1.4</SPAN>的新功能,但是对sed和awk这样的Unix的标准实用工具,以及Python,Perl之类的语言来讲,它早就已经成为其不可或缺的组成部分了(有人甚至认为,它还是Perl能大获成功的最主要的原因)。单从技术角度来讲,正则表达式只是一种处理字符串的工具(过去<SPAN class=original_words>Java</SPAN>这个任务是交由<SPAN class=original_words>String</SPAN>,<SPAN class=original_words>StringBuffer</SPAN>以及<SPAN class=original_words>StringTokenizer</S……
查看全文
发表于:2007-08-07 ┆
阅读(244)
┆
评论(0)
nmap function
1.[root@dtd143 ~]# nmap -sP 9.186.96.0/24|grep -v ##Check the hosts which were up.<br>Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2007-07-16 09:19 EDT<br>Host 9.186.96.0 seems to be a subnet broadcast address (returned 11 extra pings).<br>Host 9.186.96.7 appears to be up.<br>Host 9.186.96.20 appears to be up.<br><br>2.#<b>nmap -v target.example.com<br></b>This option scans all reserved TCP ports on the machine target.example.com . The -v means turn on ……
查看全文
发表于:2007-07-16 ┆
阅读(265)
┆
评论(0)
回文
<h2 id="post-137">http://verber.org/archives/137.html<br></h2><h2 id="post-137"><a href="http://verber.org/archives/137.html" rel="bookmark" title="Permanent Link: 递归的力量(二)">递归的力量(二)</a></h2> <div class="entrytag"> <span class="img_date">三月 20th, 2007</span><span class="img_time">12:30 pm</span><span style="padding-left: 20px;">推荐指数:<img src="http://verber.org/images/ds-rating-images/gold/5.gif" alt="This entry has a rating of 5" class="rating-image"></span> </div> ……
查看全文
发表于:2007-05-22 ┆
阅读(402)
┆
评论(1)
判断int,float,double***占用字节数
<pre>#include <stdio.h><br>#include <stdlib.h><br>#include <string.h><br><br>typedef struct employee_st {<br> char name[40];<br> int id;<br>} Employee;<br><br>int main()<br>{<br> int myInt;<br> Employee john;<br><br> printf("Size of int is %d\n",sizeof(myInt));<br> /* The argument of sizeof is an object */<br> printf("Size of int is %d\n",sizeof(int));<br> /* The argument of sizeof is a data type */<br><br> printf("Size of Employee is %d\n",si……
查看全文
发表于:2007-05-22 ┆
阅读(842)
┆
评论(0)