vm虚拟机 扩大分区,不添加 新硬盘
vm虚拟机 扩大分区,不添加 新硬盘
·
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:28 ago
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:30 ago
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:32 ago
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:34 ago
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:36 ago
State : Traced/Stopped, pid: 6268
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 16 M RSS ( 62 MB VSZ)
Started: Mon Jun 13 06:31:59 2016 - 19:38 ago
State : Traced/Stopped, pid: 6268
^Z
[4]+ Stopped yum install xinetd
[root@name01 telnet]# pwd
/usr/local/telnet
[root@name01 telnet]# ls
[root@name01 telnet]# rpm -ivh /mnt/hgfs/hive/zk/telnet-server-0.17-47.el6_3.1.i686.rpm
warning: /mnt/hgfs/hive/zk/telnet-server-0.17-47.el6_3.1.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
xinetd is needed by telnet-server-1:0.17-47.el6_3.1.i686
[root@name01 telnet]# rpm -ivh /mnt/hgfs/hive/zk/telnet_and_telnet-server/te
error: open of /mnt/hgfs/hive/zk/telnet_and_telnet-server/te failed: No such file or directory
[root@name01 telnet]# rpm -ivh /mnt/hgfs/hive/zk/telnet_and_telnet-server/telnet-0.17-35.2.1.i386.rpm
warning: /mnt/hgfs/hive/zk/telnet_and_telnet-server/telnet-0.17-35.2.1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 4f2a6fd2: NOKEY
Preparing... ########################################### [100%]
1:telnet ########################################### [100%]
[root@name01 telnet]# rpm -ivh /mnt/hgfs/hive/zk/telnet_and_telnet-server/telnet-server-0.17-35.2.1.i386.rpm
warning: /mnt/hgfs/hive/zk/telnet_and_telnet-server/telnet-server-0.17-35.2.1.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 4f2a6fd2: NOKEY
error: Failed dependencies:
xinetd is needed by telnet-server-1:0.17-35.2.1.i386
[root@name01 telnet]# cp /mnt/hgfs/hive/zk/xinetd-2.3.14.tar.tar .
[root@name01 telnet]# ls
xinetd-2.3.14.tar.tar
[root@name01 telnet]# mv xinetd-2.3.14.tar.tar xinetd-2.3.14.tar.gz
[root@name01 telnet]# ls
xinetd-2.3.14.tar.gz
[root@name01 telnet]# tar -zxvf xinetd-2.3.14.tar.gz
xinetd-2.3.14/
xinetd-2.3.14/aclocal.m4
xinetd-2.3.14/AUDIT
xinetd-2.3.14/CHANGELOG
xinetd-2.3.14/config.guess
xinetd-2.3.14/config.h.in
xinetd-2.3.14/config.sub
xinetd-2.3.14/configure
xinetd-2.3.14/configure.in
xinetd-2.3.14/contrib/
xinetd-2.3.14/contrib/empty.conf
xinetd-2.3.14/contrib/xinetd
xinetd-2.3.14/contrib/xinetd.conf
xinetd-2.3.14/contrib/xinetd.d/
xinetd-2.3.14/contrib/xinetd.d/chargen-dgram
xinetd-2.3.14/contrib/xinetd.d/chargen-stream
xinetd-2.3.14/contrib/xinetd.d/daytime-dgram
xinetd-2.3.14/contrib/xinetd.d/daytime-stream
xinetd-2.3.14/contrib/xinetd.d/discard-dgram
xinetd-2.3.14/contrib/xinetd.d/discard-stream
xinetd-2.3.14/contrib/xinetd.d/echo-dgram
xinetd-2.3.14/contrib/xinetd.d/echo-stream
xinetd-2.3.14/contrib/xinetd.d/ftp-sensor
xinetd-2.3.14/contrib/xinetd.d/tcpmux-server
xinetd-2.3.14/contrib/xinetd.d/time-dgram
xinetd-2.3.14/contrib/xinetd.d/time-stream
xinetd-2.3.14/COPYRIGHT
xinetd-2.3.14/INSTALL
xinetd-2.3.14/install-sh
xinetd-2.3.14/libs/
xinetd-2.3.14/libs/include/
xinetd-2.3.14/libs/include/.cvsignore
xinetd-2.3.14/libs/lib/
xinetd-2.3.14/libs/lib/.cvsignore
xinetd-2.3.14/libs/man/
xinetd-2.3.14/libs/man/.cvsignore
xinetd-2.3.14/libs/src/
xinetd-2.3.14/libs/src/misc/
xinetd-2.3.14/libs/src/misc/COPYRIGHT
xinetd-2.3.14/libs/src/misc/install-sh
xinetd-2.3.14/libs/src/misc/m_env.3
xinetd-2.3.14/libs/src/misc/m_env.c
xinetd-2.3.14/libs/src/misc/m_env.h
xinetd-2.3.14/libs/src/misc/Makefile.in
xinetd-2.3.14/libs/src/misc/misc.3
xinetd-2.3.14/libs/src/misc/misc.c
xinetd-2.3.14/libs/src/misc/misc.h
xinetd-2.3.14/libs/src/misc/README
xinetd-2.3.14/libs/src/portable/
xinetd-2.3.14/libs/src/portable/compat.h
xinetd-2.3.14/libs/src/portable/cvt.c
xinetd-2.3.14/libs/src/portable/difftime.c
xinetd-2.3.14/libs/src/portable/fake-getaddrinfo.c
xinetd-2.3.14/libs/src/portable/fake-getaddrinfo.h
xinetd-2.3.14/libs/src/portable/fake-getnameinfo.c
xinetd-2.3.14/libs/src/portable/inet_aton.c
xinetd-2.3.14/libs/src/portable/inet_ntop.c
xinetd-2.3.14/libs/src/portable/libportable.h
xinetd-2.3.14/libs/src/portable/Makefile.in
xinetd-2.3.14/libs/src/portable/strcasecmp.c
xinetd-2.3.14/libs/src/portable/strerror.c
xinetd-2.3.14/libs/src/pset/
xinetd-2.3.14/libs/src/pset/COPYRIGHT
xinetd-2.3.14/libs/src/pset/install-sh
xinetd-2.3.14/libs/src/pset/Makefile.in
xinetd-2.3.14/libs/src/pset/ops.c
xinetd-2.3.14/libs/src/pset/pset.3
xinetd-2.3.14/libs/src/pset/pset.c
xinetd-2.3.14/libs/src/pset/pset.h
xinetd-2.3.14/libs/src/pset/psi.3
xinetd-2.3.14/libs/src/sio/
xinetd-2.3.14/libs/src/sio/COPYRIGHT
xinetd-2.3.14/libs/src/sio/impl.h
xinetd-2.3.14/libs/src/sio/install-sh
xinetd-2.3.14/libs/src/sio/Makefile.in
xinetd-2.3.14/libs/src/sio/README
xinetd-2.3.14/libs/src/sio/sio.3
xinetd-2.3.14/libs/src/sio/sio.c
xinetd-2.3.14/libs/src/sio/sio.h
xinetd-2.3.14/libs/src/sio/sioconf.h
xinetd-2.3.14/libs/src/sio/siosup.c
xinetd-2.3.14/libs/src/sio/Sprint.3
xinetd-2.3.14/libs/src/sio/sprint.c
xinetd-2.3.14/libs/src/str/
xinetd-2.3.14/libs/src/str/CHANGELOG
xinetd-2.3.14/libs/src/str/COPYRIGHT
xinetd-2.3.14/libs/src/str/install-sh
xinetd-2.3.14/libs/src/str/Makefile.in
xinetd-2.3.14/libs/src/str/README
xinetd-2.3.14/libs/src/str/str.h
xinetd-2.3.14/libs/src/str/strparse.3
xinetd-2.3.14/libs/src/str/strparse.c
xinetd-2.3.14/libs/src/str/strparse.h
xinetd-2.3.14/libs/src/str/strprint.3
xinetd-2.3.14/libs/src/str/strprint.c
xinetd-2.3.14/libs/src/str/strutil.3
xinetd-2.3.14/libs/src/str/strutil.c
xinetd-2.3.14/libs/src/xlog/
xinetd-2.3.14/libs/src/xlog/CHANGELOG
xinetd-2.3.14/libs/src/xlog/COPYRIGHT
xinetd-2.3.14/libs/src/xlog/filelog.c
xinetd-2.3.14/libs/src/xlog/filelog.h
xinetd-2.3.14/libs/src/xlog/impl.h
xinetd-2.3.14/libs/src/xlog/install-sh
xinetd-2.3.14/libs/src/xlog/Makefile.in
xinetd-2.3.14/libs/src/xlog/slog.c
xinetd-2.3.14/libs/src/xlog/slog.h
xinetd-2.3.14/libs/src/xlog/util.c
xinetd-2.3.14/libs/src/xlog/xlog.3
xinetd-2.3.14/libs/src/xlog/xlog.c
xinetd-2.3.14/libs/src/xlog/xlog.h
xinetd-2.3.14/Makefile.in
xinetd-2.3.14/README
xinetd-2.3.14/TODO
xinetd-2.3.14/xinetd/
xinetd-2.3.14/xinetd/access.c
xinetd-2.3.14/xinetd/access.h
xinetd-2.3.14/xinetd/addr.c
xinetd-2.3.14/xinetd/addr.h
xinetd-2.3.14/xinetd/attr.h
xinetd-2.3.14/xinetd/builtins.c
xinetd-2.3.14/xinetd/builtins.h
xinetd-2.3.14/xinetd/child.c
xinetd-2.3.14/xinetd/child.h
xinetd-2.3.14/xinetd/conf.c
xinetd-2.3.14/xinetd/conf.h
xinetd-2.3.14/xinetd/confparse.c
xinetd-2.3.14/xinetd/confparse.h
xinetd-2.3.14/xinetd/connection.c
xinetd-2.3.14/xinetd/connection.h
xinetd-2.3.14/xinetd/defs.h
xinetd-2.3.14/xinetd/env.c
xinetd-2.3.14/xinetd/env.h
xinetd-2.3.14/xinetd/ident.c
xinetd-2.3.14/xinetd/ident.h
xinetd-2.3.14/xinetd/includedir.c
xinetd-2.3.14/xinetd/includedir.h
xinetd-2.3.14/xinetd/inet.c
xinetd-2.3.14/xinetd/inet.h
xinetd-2.3.14/xinetd/init.c
xinetd-2.3.14/xinetd/init.h
xinetd-2.3.14/xinetd/int.c
xinetd-2.3.14/xinetd/int.h
xinetd-2.3.14/xinetd/intcommon.c
xinetd-2.3.14/xinetd/intcommon.h
xinetd-2.3.14/xinetd/internals.c
xinetd-2.3.14/xinetd/internals.h
xinetd-2.3.14/xinetd/itox.8
xinetd-2.3.14/xinetd/itox.c
xinetd-2.3.14/xinetd/log.c
xinetd-2.3.14/xinetd/log.h
xinetd-2.3.14/xinetd/logctl.c
xinetd-2.3.14/xinetd/logctl.h
xinetd-2.3.14/xinetd/main.c
xinetd-2.3.14/xinetd/main.h
xinetd-2.3.14/xinetd/Makefile.in
xinetd-2.3.14/xinetd/mask.h
xinetd-2.3.14/xinetd/msg.c
xinetd-2.3.14/xinetd/msg.h
xinetd-2.3.14/xinetd/nvlists.c
xinetd-2.3.14/xinetd/nvlists.h
xinetd-2.3.14/xinetd/options.c
xinetd-2.3.14/xinetd/options.h
xinetd-2.3.14/xinetd/parse.c
xinetd-2.3.14/xinetd/parse.h
xinetd-2.3.14/xinetd/parsers.c
xinetd-2.3.14/xinetd/parsers.h
xinetd-2.3.14/xinetd/parsesup.c
xinetd-2.3.14/xinetd/parsesup.h
xinetd-2.3.14/xinetd/reconfig.c
xinetd-2.3.14/xinetd/reconfig.h
xinetd-2.3.14/xinetd/redirect.c
xinetd-2.3.14/xinetd/redirect.h
xinetd-2.3.14/xinetd/retry.c
xinetd-2.3.14/xinetd/retry.h
xinetd-2.3.14/xinetd/sample.conf
xinetd-2.3.14/xinetd/sconf.c
xinetd-2.3.14/xinetd/sconf.h
xinetd-2.3.14/xinetd/sconst.h
xinetd-2.3.14/xinetd/sensor.c
xinetd-2.3.14/xinetd/sensor.h
xinetd-2.3.14/xinetd/server.c
xinetd-2.3.14/xinetd/server.h
xinetd-2.3.14/xinetd/service.c
xinetd-2.3.14/xinetd/service.h
xinetd-2.3.14/xinetd/signals.c
xinetd-2.3.14/xinetd/signals.h
xinetd-2.3.14/xinetd/special.c
xinetd-2.3.14/xinetd/special.h
xinetd-2.3.14/xinetd/state.h
xinetd-2.3.14/xinetd/tcpint.c
xinetd-2.3.14/xinetd/tcpint.h
xinetd-2.3.14/xinetd/time.c
xinetd-2.3.14/xinetd/timex.h
xinetd-2.3.14/xinetd/udpint.c
xinetd-2.3.14/xinetd/udpint.h
xinetd-2.3.14/xinetd/util.c
xinetd-2.3.14/xinetd/util.h
xinetd-2.3.14/xinetd/xconfig.h
xinetd-2.3.14/xinetd/xconv-new.pl
xinetd-2.3.14/xinetd/xconv.pl
xinetd-2.3.14/xinetd/xconv.pl.8
xinetd-2.3.14/xinetd/xgetloadavg.c
xinetd-2.3.14/xinetd/xgetloadavg.h
xinetd-2.3.14/xinetd/xinetd.conf.man
xinetd-2.3.14/xinetd/xinetd.log.man
xinetd-2.3.14/xinetd/xinetd.man
xinetd-2.3.14/xinetd/xmdns.c
xinetd-2.3.14/xinetd/xmdns.h
xinetd-2.3.14/xinetd/xtimer.c
xinetd-2.3.14/xinetd/xtimer.h
xinetd-2.3.14/xinetd.spec
xinetd-2.3.14/xinetd.spec.in
[root@name01 telnet]# LS -L
bash: LS: command not found
[root@name01 telnet]# ls -l
total 300
drwxrwxr-x 5 501 wheel 4096 Oct 24 2005 xinetd-2.3.14
-rwxr-xr-x 1 root root 301703 Jun 13 07:06 xinetd-2.3.14.tar.gz
[root@name01 telnet]# cd xinetd-2.3.14
[root@name01 xinetd-2.3.14]# ls -l
total 532
-rw-rw-r-- 1 501 wheel 570 Feb 19 2003 aclocal.m4
-rw-rw-r-- 1 501 wheel 8563 Feb 19 2003 AUDIT
-rw-rw-r-- 1 501 wheel 42721 Oct 11 2005 CHANGELOG
-rwxrwxr-x 1 501 wheel 38470 Feb 19 2003 config.guess
-rw-rw-r-- 1 501 wheel 1820 Oct 11 2005 config.h.in
-rwxrwxr-x 1 501 wheel 29027 Feb 19 2003 config.sub
-rwxrwxr-x 1 501 wheel 338579 Mar 30 2005 configure
-rw-rw-r-- 1 501 wheel 9084 Mar 30 2005 configure.in
drwxrwxr-x 3 501 wheel 4096 Oct 24 2005 contrib
-rw-rw-r-- 1 501 wheel 2087 Feb 19 2003 COPYRIGHT
-rw-rw-r-- 1 501 wheel 957 Feb 19 2003 INSTALL
-rwxrwxr-x 1 501 wheel 5585 Feb 19 2003 install-sh
drwxrwxr-x 6 501 wheel 4096 Oct 24 2005 libs
-rw-rw-r-- 1 501 wheel 3857 Aug 15 2003 Makefile.in
-rw-rw-r-- 1 501 wheel 5724 Mar 30 2005 README
-rw-rw-r-- 1 501 wheel 137 Feb 19 2003 TODO
drwxrwxr-x 2 501 wheel 4096 Oct 24 2005 xinetd
-rw-rw-r-- 1 501 wheel 2239 Oct 11 2005 xinetd.spec
-rw-rw-r-- 1 501 wheel 2189 Jan 3 2004 xinetd.spec.in
[root@name01 xinetd-2.3.14]# in
in info infokey init innochecksum insmod.static install-catalog installkernel
indxbib infocmp infotocap initctl insmod install install-info invest-chart
[root@name01 xinetd-2.3.14]# install-sh
bash: install-sh: command not found
[root@name01 xinetd-2.3.14]# ls -l
total 532
-rw-rw-r-- 1 501 wheel 570 Feb 19 2003 aclocal.m4
-rw-rw-r-- 1 501 wheel 8563 Feb 19 2003 AUDIT
-rw-rw-r-- 1 501 wheel 42721 Oct 11 2005 CHANGELOG
-rwxrwxr-x 1 501 wheel 38470 Feb 19 2003 config.guess
-rw-rw-r-- 1 501 wheel 1820 Oct 11 2005 config.h.in
-rwxrwxr-x 1 501 wheel 29027 Feb 19 2003 config.sub
-rwxrwxr-x 1 501 wheel 338579 Mar 30 2005 configure
-rw-rw-r-- 1 501 wheel 9084 Mar 30 2005 configure.in
drwxrwxr-x 3 501 wheel 4096 Oct 24 2005 contrib
-rw-rw-r-- 1 501 wheel 2087 Feb 19 2003 COPYRIGHT
-rw-rw-r-- 1 501 wheel 957 Feb 19 2003 INSTALL
-rwxrwxr-x 1 501 wheel 5585 Feb 19 2003 install-sh
drwxrwxr-x 6 501 wheel 4096 Oct 24 2005 libs
-rw-rw-r-- 1 501 wheel 3857 Aug 15 2003 Makefile.in
-rw-rw-r-- 1 501 wheel 5724 Mar 30 2005 README
-rw-rw-r-- 1 501 wheel 137 Feb 19 2003 TODO
drwxrwxr-x 2 501 wheel 4096 Oct 24 2005 xinetd
-rw-rw-r-- 1 501 wheel 2239 Oct 11 2005 xinetd.spec
-rw-rw-r-- 1 501 wheel 2189 Jan 3 2004 xinetd.spec.in
[root@name01 xinetd-2.3.14]# cd xinetd
[root@name01 xinetd]# ls -l
total 780
-rw-rw-r-- 1 501 wheel 10849 Oct 5 2005 access.c
-rw-rw-r-- 1 501 wheel 1811 Jan 2 2004 access.h
-rw-rw-r-- 1 501 wheel 21593 Apr 8 2005 addr.c
-rw-rw-r-- 1 501 wheel 796 Feb 19 2003 addr.h
-rw-rw-r-- 1 501 wheel 2446 Oct 5 2005 attr.h
-rw-rw-r-- 1 501 wheel 17020 Oct 6 2005 builtins.c
-rw-rw-r-- 1 501 wheel 1288 May 8 2003 builtins.h
-rw-rw-r-- 1 501 wheel 12493 Dec 23 2004 child.c
-rw-rw-r-- 1 501 wheel 428 Jun 1 2003 child.h
-rw-rw-r-- 1 501 wheel 5057 Dec 30 2003 conf.c
-rw-rw-r-- 1 501 wheel 914 Feb 19 2003 conf.h
-rw-rw-r-- 1 501 wheel 28917 Apr 8 2005 confparse.c
-rw-rw-r-- 1 501 wheel 155 Feb 19 2003 confparse.h
-rw-rw-r-- 1 501 wheel 6482 Oct 5 2005 connection.c
-rw-rw-r-- 1 501 wheel 2598 Jun 23 2003 connection.h
-rw-rw-r-- 1 501 wheel 4852 Mar 29 2005 defs.h
-rw-rw-r-- 1 501 wheel 4743 Oct 20 2005 env.c
-rw-rw-r-- 1 501 wheel 223 Feb 19 2003 env.h
-rw-rw-r-- 1 501 wheel 8247 Oct 5 2005 ident.c
-rw-rw-r-- 1 501 wheel 182 Feb 19 2003 ident.h
-rw-rw-r-- 1 501 wheel 4192 Sep 6 2003 includedir.c
-rw-rw-r-- 1 501 wheel 148 Feb 19 2003 includedir.h
-rw-rw-r-- 1 501 wheel 10874 Oct 1 2003 inet.c
-rw-rw-r-- 1 501 wheel 162 Feb 26 2003 inet.h
-rw-rw-r-- 1 501 wheel 8935 Sep 6 2003 init.c
-rw-rw-r-- 1 501 wheel 108 Feb 19 2003 init.h
-rw-rw-r-- 1 501 wheel 7442 Apr 8 2005 int.c
-rw-rw-r-- 1 501 wheel 5849 Aug 5 2003 intcommon.c
-rw-rw-r-- 1 501 wheel 613 Jun 1 2003 intcommon.h
-rw-rw-r-- 1 501 wheel 13738 Sep 6 2003 internals.c
-rw-rw-r-- 1 501 wheel 192 Feb 19 2003 internals.h
-rw-rw-r-- 1 501 wheel 1821 Feb 19 2003 int.h
-rw-rw-r-- 1 501 wheel 626 Feb 19 2003 itox.8
-rw-rw-r-- 1 501 wheel 6704 Jun 23 2003 itox.c
-rw-rw-r-- 1 501 wheel 6135 Aug 5 2003 log.c
-rw-rw-r-- 1 501 wheel 4719 May 31 2003 logctl.c
-rw-rw-r-- 1 501 wheel 190 Feb 19 2003 logctl.h
-rw-rw-r-- 1 501 wheel 1794 May 8 2003 log.h
-rw-rw-r-- 1 501 wheel 7919 Mar 30 2005 main.c
-rw-rw-r-- 1 501 wheel 326 Jun 1 2003 main.h
-rw-rw-r-- 1 501 wheel 7108 Mar 30 2005 Makefile.in
-rw-rw-r-- 1 501 wheel 1185 Feb 19 2003 mask.h
-rw-rw-r-- 1 501 wheel 5577 Jul 12 2003 msg.c
-rw-rw-r-- 1 501 wheel 433 May 8 2003 msg.h
-rw-rw-r-- 1 501 wheel 4356 Aug 15 2003 nvlists.c
-rw-rw-r-- 1 501 wheel 415 Feb 19 2003 nvlists.h
-rw-rw-r-- 1 501 wheel 4571 Oct 5 2005 options.c
-rw-rw-r-- 1 501 wheel 564 May 28 2003 options.h
-rw-rw-r-- 1 501 wheel 22607 Oct 5 2005 parse.c
-rw-rw-r-- 1 501 wheel 1313 Jul 12 2003 parse.h
-rw-rw-r-- 1 501 wheel 38847 Oct 5 2005 parsers.c
-rw-rw-r-- 1 501 wheel 3851 Oct 5 2005 parsers.h
-rw-rw-r-- 1 501 wheel 4904 May 31 2003 parsesup.c
-rw-rw-r-- 1 501 wheel 255 May 31 2003 parsesup.h
-rw-rw-r-- 1 501 wheel 15184 Apr 12 2005 reconfig.c
-rw-rw-r-- 1 501 wheel 136 Feb 19 2003 reconfig.h
-rw-rw-r-- 1 501 wheel 6555 Aug 5 2003 redirect.c
-rw-rw-r-- 1 501 wheel 159 Jun 1 2003 redirect.h
-rw-rw-r-- 1 501 wheel 5155 Jun 24 2003 retry.c
-rw-rw-r-- 1 501 wheel 175 Feb 19 2003 retry.h
-rw-rw-r-- 1 501 wheel 4964 Jun 23 2003 sample.conf
-rw-rw-r-- 1 501 wheel 15756 Oct 5 2005 sconf.c
-rw-rw-r-- 1 501 wheel 12263 Oct 5 2005 sconf.h
-rw-rw-r-- 1 501 wheel 751 Feb 19 2003 sconst.h
-rw-rw-r-- 1 501 wheel 6451 Aug 5 2003 sensor.c
-rw-rw-r-- 1 501 wheel 429 Mar 14 2003 sensor.h
-rw-rw-r-- 1 501 wheel 8821 Mar 29 2005 server.c
-rw-rw-r-- 1 501 wheel 3171 Aug 5 2003 server.h
-rw-rw-r-- 1 501 wheel 23990 Apr 8 2005 service.c
-rw-rw-r-- 1 501 wheel 6267 Mar 29 2005 service.h
-rw-rw-r-- 1 501 wheel 13430 Dec 23 2003 signals.c
-rw-rw-r-- 1 501 wheel 488 Feb 19 2003 signals.h
-rw-rw-r-- 1 501 wheel 2974 May 31 2003 special.c
-rw-rw-r-- 1 501 wheel 247 Feb 19 2003 special.h
-rw-rw-r-- 1 501 wheel 2715 Mar 30 2005 state.h
-rw-rw-r-- 1 501 wheel 9819 Oct 5 2005 tcpint.c
-rw-rw-r-- 1 501 wheel 199 Jun 1 2003 tcpint.h
-rw-rw-r-- 1 501 wheel 3857 Feb 19 2003 time.c
-rw-rw-r-- 1 501 wheel 405 Feb 19 2003 timex.h
-rw-rw-r-- 1 501 wheel 8200 Oct 5 2005 udpint.c
-rw-rw-r-- 1 501 wheel 199 Jun 1 2003 udpint.h
-rw-rw-r-- 1 501 wheel 7544 Oct 5 2005 util.c
-rw-rw-r-- 1 501 wheel 1002 Oct 5 2005 util.h
-rw-rw-r-- 1 501 wheel 5061 Feb 19 2003 xconfig.h
-rwxrwxr-x 1 501 wheel 3237 Feb 27 2003 xconv-new.pl
-rwxrwxr-x 1 501 wheel 3181 Mar 29 2005 xconv.pl
-rw-rw-r-- 1 501 wheel 4582 Feb 19 2003 xconv.pl.8
-rw-rw-r-- 1 501 wheel 2552 Feb 19 2003 xgetloadavg.c
-rw-rw-r-- 1 501 wheel 81 Feb 19 2003 xgetloadavg.h
-rw-rw-r-- 1 501 wheel 34392 Oct 5 2005 xinetd.conf.man
-rw-rw-r-- 1 501 wheel 3227 Feb 27 2003 xinetd.log.man
-rw-rw-r-- 1 501 wheel 7186 May 30 2003 xinetd.man
-rw-rw-r-- 1 501 wheel 3791 Apr 8 2005 xmdns.c
-rw-rw-r-- 1 501 wheel 360 Mar 30 2005 xmdns.h
-rw-rw-r-- 1 501 wheel 3912 May 31 2003 xtimer.c
-rw-rw-r-- 1 501 wheel 493 Feb 19 2003 xtimer.h
[root@name01 xinetd]# fdisk -l
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b2584
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 788 6016000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 788 1045 2064384 82 Linux swap / Solaris
[root@name01 xinetd]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 5.7G 4.5G 901M 84% /
tmpfs 504M 224K 504M 1% /dev/shm
/dev/sda1 291M 32M 245M 12% /boot
[root@name01 xinetd]# fdisk /dev/sdb
Unable to open /dev/sdb
[root@name01 xinetd]# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Selected partition 4
First cylinder (1045-1958, default 1045):
Using default value 1045
Last cylinder, +cylinders or +size{K,M,G} (1045-1958, default 1958):
Using default value 1958
Command (m for help):
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
[root@name01 xinetd]#
[root@name01 Desktop]# fdisk -l
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b2584
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 788 6016000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 788 1045 2064384 82 Linux swap / Solaris
/dev/sda4 1045 1958 7339027 83 Linux
[root@name01 Desktop]# dh -lh
bash: dh: command not found
[root@name01 Desktop]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 5.7G 4.5G 903M 84% /
tmpfs 504M 224K 504M 1% /dev/shm
/dev/sda1 291M 32M 245M 12% /boot
[root@name01 Desktop]# cd /
[root@name01 /]# ls -l
total 94
dr-xr-xr-x. 2 root root 4096 Jun 10 2015 bin
dr-xr-xr-x. 5 root root 1024 Sep 9 2013 boot
drwxr-xr-x 3 root root 4096 Jul 3 2015 data
drwxr-xr-x 18 root root 3800 Jun 14 07:25 dev
drwxr-xr-x. 94 root root 4096 Jun 14 07:25 etc
drwxr-xr-x. 3 root root 4096 Sep 9 2013 home
dr-xr-xr-x. 17 root root 12288 Jun 11 03:22 lib
drwx------. 2 root root 16384 Sep 9 2013 lost+found
drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
drwxr-xr-x. 3 root root 4096 Sep 12 2013 mnt
drwxr-xr-x. 3 root root 4096 Sep 12 2013 opt
dr-xr-xr-x 142 root root 0 Jun 14 07:24 proc
dr-xr-x---. 30 root root 4096 Jun 14 07:25 root
dr-xr-xr-x. 2 root root 12288 Jun 10 2015 sbin
drwxr-xr-x. 2 root root 4096 Sep 9 2013 selinux
drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
drwxr-xr-x 13 root root 0 Jun 14 07:24 sys
drwxrwxrwt. 31 root root 4096 Jun 14 07:26 tmp
drwxr-xr-x. 13 root root 4096 Jun 14 2015 usr
drwxr-xr-x. 22 root root 4096 Jul 4 2015 var
[root@name01 /]# cd dev
[root@name01 dev]# ls -l
total 0
crw-rw---- 1 root video 10, 175 Jun 14 07:24 agpgart
drwxr-xr-x 2 root root 640 Jun 14 07:24 block
drwxr-xr-x 2 root root 80 Jun 14 07:24 bsg
drwxr-xr-x 3 root root 60 Jun 14 07:24 bus
lrwxrwxrwx 1 root root 3 Jun 14 07:24 cdrom -> sr0
lrwxrwxrwx 1 root root 3 Jun 14 07:24 cdrw -> sr0
drwxr-xr-x 2 root root 3000 Jun 14 07:25 char
crw------- 1 root root 5, 1 Jun 14 07:24 console
lrwxrwxrwx 1 root root 11 Jun 14 07:24 core -> /proc/kcore
drwxr-xr-x 3 root root 80 Jun 14 07:24 cpu
crw-rw---- 1 root root 10, 61 Jun 14 07:24 cpu_dma_latency
crw-rw---- 1 root root 10, 62 Jun 14 07:24 crash
drwxr-xr-x 4 root root 80 Jun 14 07:24 disk
crw-rw----+ 1 root audio 14, 9 Jun 14 07:24 dmmidi
lrwxrwxrwx 1 root root 3 Jun 14 07:24 dvd -> sr0
lrwxrwxrwx 1 root root 3 Jun 14 07:24 dvdrw -> sr0
lrwxrwxrwx 1 root root 3 Jun 14 07:24 fb -> fb0
crw-rw---- 1 root root 29, 0 Jun 14 07:24 fb0
lrwxrwxrwx 1 root root 13 Jun 14 07:24 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 Jun 14 07:24 full
crw-rw-rw- 1 root root 10, 229 Jun 14 07:25 fuse
crw-rw---- 1 root root 249, 0 Jun 14 07:24 hidraw0
crw-rw---- 1 root root 249, 1 Jun 14 07:24 hidraw1
crw-rw---- 1 root root 10, 228 Jun 14 07:24 hpet
drwxr-xr-x 2 root root 40 Jun 14 07:24 hugepages
crw------- 1 root root 229, 0 Jun 14 07:24 hvc0
drwxr-xr-x 4 root root 300 Jun 14 07:24 input
crw-rw---- 1 root root 1, 11 Jun 14 07:24 kmsg
srw-rw-rw- 1 root root 0 Jun 14 07:25 log
brw-rw---- 1 root disk 7, 0 Jun 14 07:24 loop0
brw-rw---- 1 root disk 7, 1 Jun 14 07:24 loop1
brw-rw---- 1 root disk 7, 2 Jun 14 07:24 loop2
brw-rw---- 1 root disk 7, 3 Jun 14 07:24 loop3
brw-rw---- 1 root disk 7, 4 Jun 14 07:24 loop4
brw-rw---- 1 root disk 7, 5 Jun 14 07:24 loop5
brw-rw---- 1 root disk 7, 6 Jun 14 07:24 loop6
brw-rw---- 1 root disk 7, 7 Jun 14 07:24 loop7
crw-rw---- 1 root lp 6, 0 Jun 14 07:24 lp0
crw-rw---- 1 root lp 6, 1 Jun 14 07:24 lp1
crw-rw---- 1 root lp 6, 2 Jun 14 07:24 lp2
crw-rw---- 1 root lp 6, 3 Jun 14 07:24 lp3
lrwxrwxrwx 1 root root 13 Jun 14 07:24 MAKEDEV -> /sbin/MAKEDEV
drwxr-xr-x 2 root root 60 Jun 14 07:24 mapper
crw-rw---- 1 root root 10, 227 Jun 14 07:24 mcelog
crw-r----- 1 root kmem 1, 1 Jun 14 07:24 mem
crw-rw----+ 1 root audio 14, 2 Jun 14 07:24 midi
drwxr-xr-x 2 root root 60 Jun 14 07:24 net
crw-rw---- 1 root root 10, 60 Jun 14 07:24 network_latency
crw-rw---- 1 root root 10, 59 Jun 14 07:24 network_throughput
crw-rw-rw- 1 root root 1, 3 Jun 14 07:24 null
crw-r----- 1 root kmem 10, 144 Jun 14 07:24 nvram
crw-rw---- 1 root root 1, 12 Jun 14 07:24 oldmem
crw-rw---- 1 root lp 99, 0 Jun 14 07:24 parport0
crw-r----- 1 root kmem 1, 4 Jun 14 07:24 port
crw------- 1 root root 108, 0 Jun 14 07:24 ppp
crw-rw-rw- 1 root tty 5, 2 Jun 14 07:28 ptmx
drwxr-xr-x 2 root root 0 Jun 14 07:24 pts
brw-rw---- 1 root disk 1, 0 Jun 14 07:24 ram0
brw-rw---- 1 root disk 1, 1 Jun 14 07:24 ram1
brw-rw---- 1 root disk 1, 10 Jun 14 07:24 ram10
brw-rw---- 1 root disk 1, 11 Jun 14 07:24 ram11
brw-rw---- 1 root disk 1, 12 Jun 14 07:24 ram12
brw-rw---- 1 root disk 1, 13 Jun 14 07:24 ram13
brw-rw---- 1 root disk 1, 14 Jun 14 07:24 ram14
brw-rw---- 1 root disk 1, 15 Jun 14 07:24 ram15
brw-rw---- 1 root disk 1, 2 Jun 14 07:24 ram2
brw-rw---- 1 root disk 1, 3 Jun 14 07:24 ram3
brw-rw---- 1 root disk 1, 4 Jun 14 07:24 ram4
brw-rw---- 1 root disk 1, 5 Jun 14 07:24 ram5
brw-rw---- 1 root disk 1, 6 Jun 14 07:24 ram6
brw-rw---- 1 root disk 1, 7 Jun 14 07:24 ram7
brw-rw---- 1 root disk 1, 8 Jun 14 07:24 ram8
brw-rw---- 1 root disk 1, 9 Jun 14 07:24 ram9
crw-rw-rw- 1 root root 1, 8 Jun 14 07:24 random
drwxr-xr-x 2 root root 60 Jun 14 07:24 raw
lrwxrwxrwx 1 root root 4 Jun 14 07:24 root -> sda2
lrwxrwxrwx 1 root root 4 Jun 14 07:24 rtc -> rtc0
crw-rw---- 1 root root 254, 0 Jun 14 07:24 rtc0
lrwxrwxrwx 1 root root 3 Jun 14 07:24 scd0 -> sr0
brw-rw---- 1 root disk 8, 0 Jun 14 07:24 sda
brw-rw---- 1 root disk 8, 1 Jun 14 07:24 sda1
brw-rw---- 1 root disk 8, 2 Jun 14 07:24 sda2
brw-rw---- 1 root disk 8, 3 Jun 14 07:24 sda3
brw-rw---- 1 root disk 8, 4 Jun 14 07:24 sda4
crw-rw---- 1 root cdrom 21, 0 Jun 14 07:24 sg0
crw-rw---- 1 root disk 21, 1 Jun 14 07:24 sg1
drwxrwxrwt 2 root root 120 Jun 14 07:26 shm
crw-rw---- 1 root root 10, 231 Jun 14 07:24 snapshot
drwxr-xr-x 3 root root 200 Jun 14 07:24 snd
brw-rw----+ 1 root cdrom 11, 0 Jun 14 07:24 sr0
lrwxrwxrwx 1 root root 15 Jun 14 07:24 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jun 14 07:24 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jun 14 07:24 stdout -> /proc/self/fd/1
lrwxrwxrwx 1 root root 4 Jun 14 07:24 systty -> tty0
crw-rw-rw- 1 root tty 5, 0 Jun 14 07:24 tty
crw--w---- 1 root tty 4, 0 Jun 14 07:24 tty0
crw--w---- 1 root tty 4, 1 Jun 14 07:25 tty1
crw--w---- 1 root tty 4, 10 Jun 14 07:24 tty10
crw--w---- 1 root tty 4, 11 Jun 14 07:24 tty11
crw--w---- 1 root tty 4, 12 Jun 14 07:24 tty12
crw--w---- 1 root tty 4, 13 Jun 14 07:24 tty13
crw--w---- 1 root tty 4, 14 Jun 14 07:24 tty14
crw--w---- 1 root tty 4, 15 Jun 14 07:24 tty15
crw--w---- 1 root tty 4, 16 Jun 14 07:24 tty16
crw--w---- 1 root tty 4, 17 Jun 14 07:24 tty17
crw--w---- 1 root tty 4, 18 Jun 14 07:24 tty18
crw--w---- 1 root tty 4, 19 Jun 14 07:24 tty19
crw------- 1 root root 4, 2 Jun 14 07:25 tty2
crw--w---- 1 root tty 4, 20 Jun 14 07:24 tty20
crw--w---- 1 root tty 4, 21 Jun 14 07:24 tty21
crw--w---- 1 root tty 4, 22 Jun 14 07:24 tty22
crw--w---- 1 root tty 4, 23 Jun 14 07:24 tty23
crw--w---- 1 root tty 4, 24 Jun 14 07:24 tty24
crw--w---- 1 root tty 4, 25 Jun 14 07:24 tty25
crw--w---- 1 root tty 4, 26 Jun 14 07:24 tty26
crw--w---- 1 root tty 4, 27 Jun 14 07:24 tty27
crw--w---- 1 root tty 4, 28 Jun 14 07:24 tty28
crw--w---- 1 root tty 4, 29 Jun 14 07:24 tty29
crw------- 1 root root 4, 3 Jun 14 07:25 tty3
crw--w---- 1 root tty 4, 30 Jun 14 07:24 tty30
crw--w---- 1 root tty 4, 31 Jun 14 07:24 tty31
crw--w---- 1 root tty 4, 32 Jun 14 07:24 tty32
crw--w---- 1 root tty 4, 33 Jun 14 07:24 tty33
crw--w---- 1 root tty 4, 34 Jun 14 07:24 tty34
crw--w---- 1 root tty 4, 35 Jun 14 07:24 tty35
crw--w---- 1 root tty 4, 36 Jun 14 07:24 tty36
crw--w---- 1 root tty 4, 37 Jun 14 07:24 tty37
crw--w---- 1 root tty 4, 38 Jun 14 07:24 tty38
crw--w---- 1 root tty 4, 39 Jun 14 07:24 tty39
crw------- 1 root root 4, 4 Jun 14 07:25 tty4
crw--w---- 1 root tty 4, 40 Jun 14 07:24 tty40
crw--w---- 1 root tty 4, 41 Jun 14 07:24 tty41
crw--w---- 1 root tty 4, 42 Jun 14 07:24 tty42
crw--w---- 1 root tty 4, 43 Jun 14 07:24 tty43
crw--w---- 1 root tty 4, 44 Jun 14 07:24 tty44
crw--w---- 1 root tty 4, 45 Jun 14 07:24 tty45
crw--w---- 1 root tty 4, 46 Jun 14 07:24 tty46
crw--w---- 1 root tty 4, 47 Jun 14 07:24 tty47
crw--w---- 1 root tty 4, 48 Jun 14 07:24 tty48
crw--w---- 1 root tty 4, 49 Jun 14 07:24 tty49
crw------- 1 root root 4, 5 Jun 14 07:25 tty5
crw--w---- 1 root tty 4, 50 Jun 14 07:24 tty50
crw--w---- 1 root tty 4, 51 Jun 14 07:24 tty51
crw--w---- 1 root tty 4, 52 Jun 14 07:24 tty52
crw--w---- 1 root tty 4, 53 Jun 14 07:24 tty53
crw--w---- 1 root tty 4, 54 Jun 14 07:24 tty54
crw--w---- 1 root tty 4, 55 Jun 14 07:24 tty55
crw--w---- 1 root tty 4, 56 Jun 14 07:24 tty56
crw--w---- 1 root tty 4, 57 Jun 14 07:24 tty57
crw--w---- 1 root tty 4, 58 Jun 14 07:24 tty58
crw--w---- 1 root tty 4, 59 Jun 14 07:24 tty59
crw------- 1 root root 4, 6 Jun 14 07:25 tty6
crw--w---- 1 root tty 4, 60 Jun 14 07:24 tty60
crw--w---- 1 root tty 4, 61 Jun 14 07:24 tty61
crw--w---- 1 root tty 4, 62 Jun 14 07:24 tty62
crw--w---- 1 root tty 4, 63 Jun 14 07:24 tty63
crw--w---- 1 root tty 4, 7 Jun 14 07:24 tty7
crw--w---- 1 root tty 4, 8 Jun 14 07:24 tty8
crw--w---- 1 root tty 4, 9 Jun 14 07:24 tty9
crw-rw---- 1 root dialout 4, 64 Jun 14 07:24 ttyS0
crw-rw---- 1 root dialout 4, 65 Jun 14 07:24 ttyS1
crw-rw---- 1 root dialout 4, 66 Jun 14 07:24 ttyS2
crw-rw---- 1 root dialout 4, 67 Jun 14 07:24 ttyS3
crw-r----- 1 root root 10, 223 Jun 14 07:24 uinput
crw-rw-rw- 1 root root 1, 9 Jun 14 07:24 urandom
crw-rw---- 1 root root 250, 0 Jun 14 07:24 usbmon0
crw-rw---- 1 root root 250, 1 Jun 14 07:24 usbmon1
crw-rw---- 1 root root 250, 2 Jun 14 07:24 usbmon2
crw-rw---- 1 vcsa tty 7, 0 Jun 14 07:24 vcs
crw-rw---- 1 vcsa tty 7, 1 Jun 14 07:24 vcs1
crw-rw---- 1 vcsa tty 7, 2 Jun 14 07:25 vcs2
crw-rw---- 1 vcsa tty 7, 3 Jun 14 07:25 vcs3
crw-rw---- 1 vcsa tty 7, 4 Jun 14 07:25 vcs4
crw-rw---- 1 vcsa tty 7, 5 Jun 14 07:25 vcs5
crw-rw---- 1 vcsa tty 7, 6 Jun 14 07:25 vcs6
crw-rw---- 1 vcsa tty 7, 128 Jun 14 07:24 vcsa
crw-rw---- 1 vcsa tty 7, 129 Jun 14 07:24 vcsa1
crw-rw---- 1 vcsa tty 7, 130 Jun 14 07:25 vcsa2
crw-rw---- 1 vcsa tty 7, 131 Jun 14 07:25 vcsa3
crw-rw---- 1 vcsa tty 7, 132 Jun 14 07:25 vcsa4
crw-rw---- 1 vcsa tty 7, 133 Jun 14 07:25 vcsa5
crw-rw---- 1 vcsa tty 7, 134 Jun 14 07:25 vcsa6
crw-rw---- 1 root root 10, 63 Jun 14 07:24 vga_arbiter
crw------- 1 root root 10, 57 Jun 14 07:24 vmci
crw-rw-rw- 1 root root 10, 56 Jun 14 07:25 vsock
crw-rw-rw- 1 root root 1, 5 Jun 14 07:24 zero
[root@name01 dev]# cd ..
[root@name01 /]# ls -l
total 94
dr-xr-xr-x. 2 root root 4096 Jun 10 2015 bin
dr-xr-xr-x. 5 root root 1024 Sep 9 2013 boot
drwxr-xr-x 3 root root 4096 Jul 3 2015 data
drwxr-xr-x 18 root root 3800 Jun 14 07:25 dev
drwxr-xr-x. 94 root root 4096 Jun 14 07:25 etc
drwxr-xr-x. 3 root root 4096 Sep 9 2013 home
dr-xr-xr-x. 17 root root 12288 Jun 11 03:22 lib
drwx------. 2 root root 16384 Sep 9 2013 lost+found
drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
drwxr-xr-x. 3 root root 4096 Sep 12 2013 mnt
drwxr-xr-x. 3 root root 4096 Sep 12 2013 opt
dr-xr-xr-x 142 root root 0 Jun 14 07:24 proc
dr-xr-x---. 30 root root 4096 Jun 14 07:25 root
dr-xr-xr-x. 2 root root 12288 Jun 10 2015 sbin
drwxr-xr-x. 2 root root 4096 Sep 9 2013 selinux
drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
drwxr-xr-x 13 root root 0 Jun 14 07:24 sys
drwxrwxrwt. 31 root root 4096 Jun 14 07:28 tmp
drwxr-xr-x. 13 root root 4096 Jun 14 2015 usr
drwxr-xr-x. 22 root root 4096 Jul 4 2015 var
[root@name01 /]# mkfs -t ext3 /dev/sda4
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
458752 inodes, 1834756 blocks
91737 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1879048192
56 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@name01 /]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jun 14 07:24 2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 14 07:24 6379983d-c153-49a1-b689-e6184afa679d -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 14 07:30 6b55c9b5-9405-41c1-9c97-c327ed1fa11c -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 14 07:24 6e428aef-f3cc-424a-bf48-e66a1a3e15fe -> ../../sda2
[root@name01 /]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jun 14 07:24 2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 14 07:24 6379983d-c153-49a1-b689-e6184afa679d -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 14 07:30 6b55c9b5-9405-41c1-9c97-c327ed1fa11c -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 14 07:24 6e428aef-f3cc-424a-bf48-e66a1a3e15fe -> ../../sda2
[root@name01 /]# mkdir /disk4
[root@name01 /]# ls -ltr
total 98
drwxr-xr-x. 2 root root 4096 Sep 23 2011 srv
drwxr-xr-x. 2 root root 4096 Sep 23 2011 media
drwx------. 2 root root 16384 Sep 9 2013 lost+found
drwxr-xr-x. 2 root root 4096 Sep 9 2013 selinux
dr-xr-xr-x. 5 root root 1024 Sep 9 2013 boot
drwxr-xr-x. 3 root root 4096 Sep 9 2013 home
drwxr-xr-x. 3 root root 4096 Sep 12 2013 opt
drwxr-xr-x. 3 root root 4096 Sep 12 2013 mnt
dr-xr-xr-x. 2 root root 4096 Jun 10 2015 bin
dr-xr-xr-x. 2 root root 12288 Jun 10 2015 sbin
drwxr-xr-x. 13 root root 4096 Jun 14 2015 usr
drwxr-xr-x 3 root root 4096 Jul 3 2015 data
drwxr-xr-x. 22 root root 4096 Jul 4 2015 var
dr-xr-xr-x. 17 root root 12288 Jun 11 03:22 lib
dr-xr-xr-x 143 root root 0 Jun 14 07:24 proc
drwxr-xr-x 13 root root 0 Jun 14 07:24 sys
drwxr-xr-x 18 root root 3800 Jun 14 07:25 dev
drwxr-xr-x. 94 root root 4096 Jun 14 07:25 etc
dr-xr-x---. 30 root root 4096 Jun 14 07:25 root
drwxrwxrwt. 31 root root 4096 Jun 14 07:28 tmp
drwxr-xr-x 2 root root 4096 Jun 14 07:31 disk4
[root@name01 /]# date
Tue Jun 14 07:32:03 PDT 2016
[root@name01 /]# mount /dev/sda4 /disk4/
[root@name01 /]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 5.7G 4.5G 903M 84% /
tmpfs 504M 224K 504M 1% /dev/shm
/dev/sda1 291M 32M 245M 12% /boot
/dev/sda4 6.9G 144M 6.4G 3% /disk4
[root@name01 /]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Sep 9 04:49:54 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=6e428aef-f3cc-424a-bf48-e66a1a3e15fe / ext4 defaults 1 1
UUID=6379983d-c153-49a1-b689-e6184afa679d /boot ext4 defaults 1 2
UUID=2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[root@name01 /]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Sep 9 04:49:54 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=6e428aef-f3cc-424a-bf48-e66a1a3e15fe / ext4 defaults 1 1
UUID=6379983d-c153-49a1-b689-e6184afa679d /boot ext4 defaults 1 2
UUID=2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[root@name01 /]# vi /etc/fstab
[root@name01 /]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Sep 9 04:49:54 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=6379983d-c153-49a1-b689-e6184afa679d /disk4 ext3 defaults 1 2
UUID=6e428aef-f3cc-424a-bf48-e66a1a3e15fe / ext4 defaults 1 1
UUID=6379983d-c153-49a1-b689-e6184afa679d /boot ext4 defaults 1 2
UUID=2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[root@name01 /]#
fdisk -l
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b2584
Device Boot Start End Blocks Id System
/dev/sda1 * 1 39 307200 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 39 788 6016000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/sda3 788 1045 2064384 82 Linux swap / Solaris
/dev/sda4 1045 1958 7339027 83 Linux
[root@name01 Desktop]# cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Sep 9 04:49:54 2013
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=6b55c9b5-9405-41c1-9c97-c327ed1fa11c /disk4 ext3 defaults 1 2
UUID=6e428aef-f3cc-424a-bf48-e66a1a3e15fe / ext4 defaults 1 1
UUID=6379983d-c153-49a1-b689-e6184afa679d /boot ext4 defaults 1 2
UUID=2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
[root@name01 Desktop]# df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 5.7G 4.5G 903M 84% /
tmpfs 504M 224K 504M 1% /dev/shm
/dev/sda4 6.9G 144M 6.4G 3% /disk4
/dev/sda1 291M 32M 245M 12% /boot
[root@name01 Desktop]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 Jun 14 07:48 2ebaf8ae-1ece-46a4-a73f-a06260c5f1dc -> ../../sda3
lrwxrwxrwx 1 root root 10 Jun 14 07:48 6379983d-c153-49a1-b689-e6184afa679d -> ../../sda1
lrwxrwxrwx 1 root root 10 Jun 14 07:48 6b55c9b5-9405-41c1-9c97-c327ed1fa11c -> ../../sda4
lrwxrwxrwx 1 root root 10 Jun 14 07:48 6e428aef-f3cc-424a-bf48-e66a1a3e15fe -> ../../sda2
[root@name01 Desktop]#
更多推荐
已为社区贡献3条内容
所有评论(0)