LU-5030 utils: fix hard-coded /proc/fs/lustre in scripts In the upstream Linux kernel, the files under /proc/fs/lustre and lnet will be moved in the future to use sysfs. Lustre handles this by providing access to this data with the tool lctl which is independent of where the data is located. Many scripts directly access the proc file system instead of using lctl so this patch migrates those scripts to do the proper thing. Signed-off-by: Chao Wang <chao.ornl@gmail.com> Change-Id: I1d96ccd27fee2b0eb0bf173a4e37adacb628f83c Reviewed-on: http://review.whamcloud.com/10534 Tested-by: Jenkins Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: James Simmons <uja.ornl@gmail.com> Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-3962 utils: improve names of iokit tools Some of the names of scripts in the lustre-iokit package are very generic and may easily cause confusion for users, or conflict with other installations. Rename them to more unique names and update the files that reference them. Fix whitespace in renamed files. Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Change-Id: I733428467e5604bf9db916491e041253323ebbe5 Reviewed-on: http://review.whamcloud.com/10183 Tested-by: Jenkins Tested-by: Maloo <hpdd-maloo@intel.com> Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com> Reviewed-by: Minh Diep <minh.diep@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
LU-1617 build: skip generated files in .gitignore Ignore automatically generated files via .gitignore so that a large number of spurious files are not listed at "git commit" time. Also consolidate many duplicate ignored files in the top-level .gitignore file, since we don't need to list the exceptions in every directory like the original .cvsignore files that they were generated from. Signed-off-by: Andreas Dilger <adilger@whamcloud.com> Change-Id: I5f9c60dc498f98abcd8c91042fc72408a915500c Reviewed-on: http://review.whamcloud.com/3364 Reviewed-by: Yu Jian <yujian@whamcloud.com> Tested-by: Hudson Tested-by: Maloo <whamcloud.maloo@gmail.com> Reviewed-by: Oleg Drokin <green@whamcloud.com>
Introduce .gitignore files. The top level .gitignore file is new and is an attempt at pulling in some of the common items that you might get for free (by default)with CVS. The other subdir/.gitignore files are translated versions of their corresponding .cvsignore file. Because CVS does not descend into a subdir when applying a ingore rule we have to prepend a "/" to the pathname to get git to behave the same way.