Commit Graph

29 Commits

Author SHA1 Message Date
Dean Roehrich bcbe9ee230 allow dmapi test tools get/set_dmattr to take handle or pathname
allow pathname or handle
2003-03-07 15:19:18 +00:00
Dean Roehrich 51a0d183f5 increase sizes of sidbuf[] and tokenbuf[]. 2002-07-30 15:22:14 +00:00
Dean Roehrich 9173c16a73 No Message Supplied 2002-06-11 18:02:16 +00:00
Dean Roehrich 75c0eb5d0d remove handle_write_invis/handle_read_invis 2002-06-11 18:00:30 +00:00
Dean Roehrich f2e2850a78 No Message Supplied 2002-06-11 17:59:14 +00:00
Dean Roehrich e08aa2c4bc No Message Supplied 2002-06-11 17:54:03 +00:00
Dean Roehrich f2b82fbf74 No Message Supplied 2002-06-06 18:51:10 +00:00
Eric Sandeen 3ef12e3824 Update copyright dates (again) 2002-06-04 23:07:56 +00:00
Eric Sandeen bc4eb461ae Undoes mod: xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
2002-06-04 22:53:09 +00:00
Eric Sandeen 8ce73f8626 Update copyright dates 2002-06-04 17:58:21 +00:00
Dean Roehrich f2379cce35 Allow print_event to mimick minimal hsm. 2002-05-06 16:40:30 +00:00
Dean Roehrich 5dd4638922 set MR bits on newly-created files.
swap MR bits on file after a R-W-T event (after a read,
the read event is cleared and the write/truncate bits are set; after
a write, the write bit is clear and the read bit is set).
2002-05-06 15:52:40 +00:00
Dean Roehrich 5d1e966d49 let the user specify a token 2002-04-15 20:07:13 +00:00
Dean Roehrich 633cfac4d0 No Message Supplied 2002-03-21 17:53:32 +00:00
Dean Roehrich 2c21604151 Allow user to specify handles, rather than paths which the tool will
then turn into handles.
This allows the test to work without cheating :)  That is, it can be used
without causing the kernel's dnlc/dcache to be preloaded.
2002-03-21 17:51:53 +00:00
Dean Roehrich 9d473221ea allow it to accept the text form of a file handle 2002-02-25 22:36:32 +00:00
Dean Roehrich 7dec550348 change set_return_on_destroy tool to take a fshandle 2002-01-22 19:05:08 +00:00
Dean Roehrich e4c9c10137 No Message Supplied 2001-12-04 16:13:43 +00:00
Dean Roehrich 0d4e927911 read/write/trunc events are managed region events--print a warning if
we try to set them with this tool.  (I get bitten by this, and confused by
it, too often)
2001-11-13 15:10:47 +00:00
Dean Roehrich 7084c0b247 port to linux 2001-10-26 14:49:00 +00:00
Dean Roehrich 378e7a5863 - Add newlines to some error messages.
- Allow it to daemonize itself.
- Do not daemonize if user requested verbose output.
- Get signal handlers set, whether or not daemonized.
- Use execlp instead of execl, to alleviate some guesswork about where it
  expects to find wbee.
- Fix cleanup routine so it can cleanup the session--mostly, remove all
  the fancy stuff that wasn't looking for the right thing anyway.
2001-10-03 16:18:54 +00:00
Dean Roehrich ebdd1ec32c Add fixes from Takayuki Sasaki <sasaki@bsd.tnes.nec.co.jp>
call mk_daemon from a different place so we don't close the dmapi device.
2001-10-01 21:39:50 +00:00
Dean Roehrich bf83af9f61 No Message Supplied 2001-08-10 21:28:55 +00:00
Dean Roehrich a6e2abd67c No Message Supplied 2001-08-07 14:36:44 +00:00
Dean Roehrich c5b569aa61 remove print_event 2001-08-02 20:54:16 +00:00