Skip to content
Permalink
f827899d1f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Latest commit 9652186 Jun 6, 2011 History
This is partly based on the scripts we used for
the JUNE11 testing.

* Split all configuration into an up.conf file
  If up.conf does not exist in current dir, an example one is
  created and user is instructed to edit it.

* Load as many targets as defined in up.conf file.

* Script no longer stays in foreground, it will redirect all
  output into a log file (defined in up.conf) and exit after
  loading.

* Add more sub-commands to the up script:
	- up ""	:	No sub-command try to load a target as before
	- up down:	Properly shut down a running otgtd daemon
	- up stat:	Print "UP" or "DOWN" depending of otgtd presence
			in "ps ax"
	- up show:	Use tgtadm to print currently loaded targets
	- up log:	"less" into the log-file at end (+F)
	- up log-reset	empty current log file

* teach .gitignore to ignore up.conf

Hopefully this stops the ./up bickering back and forth every
new setup.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
0 contributors

Users who have contributed to this file

91 lines (82 sloc) 1.32 KB
#
# Normal rules
#
*.o
*.o.*
*.a
*.s
*.ko
*.so
*.mod.c
*.i
*.lst
*.symtypes
*.d
.svn
.depend
#svn_fetch3.sh files
commit.txt
log.xml
#
# for GLOBAL
#
GTAGS
GRTAGS
GPATH
GSYMS
tags
#
# folders not in this git tree
#
old-tars
patches
#
# programs, Tests & logs
#
osd-initiator/tests/alignment
osd-initiator/tests/atomic
osd-initiator/tests/attr-all
osd-initiator/tests/blk-iospeed
osd-initiator/tests/generic_iface_test
osd-initiator/tests/iospeed
osd-initiator/tests/iospeed2
osd-initiator/tests/iovec
osd-initiator/tests/latency
osd-initiator/tests/sgio
osd-initiator/tests/sgl_test
osd-initiator/tests/alignment-rdma
osd-initiator/tests/iospeed-ddt
osd-target/tests/cdb-test
osd-target/tests/db-test
osd-target/tests/osd-test
osd-target/tests/time-db
osd-target/tests/create
osd-target/tests/getattr
osd-target/tests/list
osd-target/tests/query
osd-target/tests/set_member_attributes
osd-target/tests/setattr
otgtd.log
up.conf
# files made by make
osd-target/osd-schema.c
osd-initiator/python/writefile.py
diff_upload.patch
tgt_diff_upload.patch
# kdevelop
tgt.kdevelop
tgt.kdevelop.filelist
tgt.kdevelop.pcs
tgt.kdevses
osc.kdevelop
osc.kdevelop.filelist
osc.kdevelop.pcs
osc.kdevses
osc-osd.kdev4
#
# downloaded tar files
#
osd-initiator-20080216.tar.bz2
osd-target-20080216.tar.bz2
osd-toplevel-20080216.tar.bz2
osd-util-20080216.tar.bz2