summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2006-06-14Nuke only two uses of OPENDEV_DRCT in tree. Nuke OPENDEV_DRCT. LongKenneth R Westerback
marked obsolete since the opendev() behaviour it turned on is now the default. 'it can go' deraadt@ 'no API of mine has ever made it into a standard' downsj@
2006-06-13make -avV only be suboptions of the status command, as documented, by usingTheo de Raadt
nested getopt() calls. ok beck
2006-06-10add a translation for sendmsg()Nikolay Sturm
from provos, with feedback from ray and pat
2006-06-04teach stty about NMEADISCTheo de Raadt
2006-06-03do chio.conf install from right placeTheo de Raadt
2006-06-02Add sample chio.conf to /etcBob Beck
ok deraadt@
2006-06-01simplify the PS1 section somewhat by moving the ! and \! stuff together;Jason McIntyre
ok otto
2006-06-01add another exmaple; stolen from a nick holland email...Jason McIntyre
2006-06-01We do not create st devices with different density modes. i.e. with deviceKenneth R Westerback
minor numbers having bits 2 or 3 set. Eliminate the quirks, etc. used to store info on these non-existant modes. Also eliminate a couple of 'unimplemented' fields in the ioctl request structure. ok beck@ deraadt@
2006-06-01fix stupid typo. mea culpaBob Beck
2006-06-01 Move mtio drive prep to a function, and makes the changerBob Beck
check it's notion of access, avoiding problems on more tightly coupled changers if the tape is already ejected - currently these stupid devices return "Initialization Command Required" sense codes but there is (as yet) no way to tell userland that. checking the ACCESS changer flag appears safe in both cases. Adds support for "voltag" type for the source for a move, so you can do "chio move voltag 0003B72 drive 0" to move a tape with the corresponding bar code. Documents the above, as well as status -vVa in the man page. partly from freebsd, man page tweaks by jmc@ ok krw@
2006-05-31- use .ExJason McIntyre
- standard EXAMPLES
2006-05-31prettierTheo de Raadt
2006-05-31 This adds support for retrieving volume tags in chio(8) with theBob Beck
status command and options -v to request the primary volume tag, -V for the alternate volume tag. Man page will follow shortly, along with move support by volume tag.
2006-05-30document some advice when \$ is part of your prompt;Jason McIntyre
from otto and myself
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
idea to assign a special meaning to "\$" -- two chars that are already (very) special -- deserves a spanking.
2006-05-29tweaks;Jason McIntyre
2006-05-29document the st(4) device to chio drive mapping, and the existence ofBob Beck
the /etc/chio.conf file. "You commit, then jmc cleans" deraadt@
2006-05-29oups, left one strdup unchecked, and some more error handling smalliesHenning Brauer
2006-05-29spacingTheo de Raadt
2006-05-29KNFHenning Brauer
2006-05-29de-beckify (KNF)Henning Brauer
2006-05-29Make chio have a connection between st(4) devices and "drives" in aBob Beck
changer - chio will then attempt to open the /dev/rstX device when doing a move from a source of drive X, and will attempt to unload the tape. this avoids issues where pickers madly attempt to grab a busy tape on completely decoupled libraries, or fail to grab an unloaded tape on tightly coupled libraries, the extra unload being harmless if the media has already been ejected. The mapping between st(4) devices and ch drives is by default a simple mapping between picker drive X being mapped to /dev/rstX, however for non-obvious or complicated configurations, we support a /etc/chio.conf file in which the drives for a changer may have their corresponding st(4) devices defined individually. chio will use the default mapping if the /etc/chio.conf file is not present, or does not define a st(4) device for a changer drive. (example chio.conf and man page changes to come) yacc parser for chio.conf written by henning@, ok henning@, krw@
2006-05-27The last time these were relevant I had a mullet.Bob Beck
no binary change, ok dlg@
2006-05-21Set the index of item[0], since it might not have been set beforeOtto Moerbeek
(A=0; A[1]=1) and do not use a static buffer in str_val, since the results might be used in a loop. Report from jared r r spiegel; help from Matthias Kilian; ok beck@
2006-05-18paramter -> parameterMiod Vallat
2006-05-17fix leakMarkus Friedl
2006-05-15better example;Jason McIntyre
from siju george ok deraadt
2006-05-1232256 is the (posix) block size limit, not archive size limit;Jason McIntyre
from coleman kane; ok otto
2006-05-11handle malloc failure; jan.niemann@tu-bs.deTheo de Raadt
2006-05-03be more clear about policy inheritanceNikolay Sturm
help and ok jmc, provos
2006-05-02some type cleanupNikolay Sturm
with feedback from kettenis
2006-05-02Format nicelevel relative NZERO as other tools do.Hugh Graham
Surely, says millert.
2006-04-26ARGSUSED and a FALLTHROUGH to please lintNikolay Sturm
ok deraadt
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-04-25mode_t is your friendTheo de Raadt
2006-04-25mark usage() __deadTheo de Raadt
2006-04-22back out last - it was not a command line prompt;Jason McIntyre
thanks matthias kilian
2006-04-21missing command line prompt;Jason McIntyre
2006-04-17mark signal raceTheo de Raadt
2006-04-13Change maxsize to type off_t.David Hill
Add a cast for portability's sake. "Right..." @deraadt
2006-04-11Check for strdup() failure.Ray Lai
OK jaredy@
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2006-04-09ftree_add arg #2 expects int not pointer.Jared Yanovich
from Han Boetes <han@mijncomputer.nl> via tech@ ok moritz
2006-04-03add translation for mknodNikolay Sturm
ok provos
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-04-01make lint happyTheo de Raadt
2006-03-25only resolve symlinks in the dirname of rename()'s arguments,Nikolay Sturm
but not in the filename ok provos, no objections from tedu (who doesn't use systrace)
2006-03-25Use correct directory in example.Ray Lai
From Alf Schlichting. OK jmc@ and otto@
2006-03-24Make sure `path' variable is always NUL-terminated.Ray Lai
Totally different diff (but functionally equivalent) by Loic Tortay and okayed by tedu@. ``Looks sane to me'' moritz@