操作系统:
tonykorn97:~ # cat /etc/issue
Welcome to SUSE Linux Enterprise Server 10 (ia64) - Kernel (l).
tonykorn97:~ # uname -a
Linux tonykorn97 2.6.16.21-0.8-default #1 SMP Mon Jul 3 18:25:39 UTC 2006 ia64 ia64 ia64 GNU/Linux
执行命令:
tonykorn97:~ # fdisk -l
-bash: fdisk: command not found
tonykorn97:~ #
去其他机器查看这个命令属于那个包
[root@oracle ~]# which fdisk
/sbin/fdisk
[root@oracle ~]# rpm -qf /sbin/fdisk
util-linux-2.12a-16.EL4.20
[root@oracle ~]#
查看本机是否安装这个包
tonykorn97:~ # rpm -aq | grep util-linux
util-linux-2.12r-35.6
软件包已经安装,查询这个软件包都包含那些文件,得到这个包里面都没有fdisk这个命令
tonykorn97:~ # rpm -ql util-linux-2.12r-35.6 | grep fdisk
tonykorn97:~ #
查看这个包的信息:
tonykorn97:~ # rpm -qi util-linux-2.12r-35.6
Name : util-linux Relocations: (not relocatable)
Version : 2.12r Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 35.6 Build Date: Tue Jul 4 03:11:46 2006
Install Date: Mon Mar 26 05:17:12 2007 Build Host: bohrium.suse.de
Group : System/Base Source RPM: util-linux-2.12r-35.6.src.rpm
Size : 6508739 License: BSD, GPL
Signature : DSA/SHA1, Tue Jul 4 03:12:58 2006, Key ID a84edae89c800aca
Packager : http://bugs.opensuse.org
URL : http://kernel.org/pub/linux/utils/util-linux
Summary : A collection of basic system utilities
Description :
This package contains a large variety of low-level system utilities
that are necessary for a Linux system to function. It contains the
mount program, the fdisk configuration tool, and more.
Authors:
--------
Adrian Bunk
Distribution: SUSE Linux Enterprise 10 (IA64)
tonykorn97:~ #
不知道为什么这个版本里面没有打包进去这个命令!
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/312079/viewspace-245768/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/312079/viewspace-245768/