summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2006-10-18do not name file descriptors fp, eitherTheo de Raadt
2006-10-18- update reference to posix to latest versionJason McIntyre
- note that the flags [-hiln] are extensions
2006-10-18- standard EXAMPLES sectionJason McIntyre
- use .Ex instead of an entire DIAGNOSTICS section
2006-10-16The session field is a pointer and so should be 8 chars forTodd C. Miller
32-bit CPUs and 16 chars for 64-bit ones. Also, left-justify the state field name to match the justification of the state data. OK jmc@
2006-09-21Remove LFS-related code, no binary changePedro Martelletto
2006-09-21reword a sentence so we are not discussing lfs; help from pedroJason McIntyre
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
have multiple bits set, which leads to surprising results. Spotted by/partly from Paul Stoeber, more to come. ok ho@ miod@ hshoexer@
2006-08-14Adapt revision 1.18 change for symlink(2):Ray Lai
only resolve symlinks in the dirname of rename()'s arguments, but not in the filename ``looks sane to me'' sturm@, fixes espie@'s problem, ``Seems reasonable.'' provos@.
2006-08-10- use .ExJason McIntyre
- bump .St - standard EXAMPLES - macro cleanup
2006-08-10better explanation of second synopsis form; add a caveat alsoJason McIntyre
started by freebsd pr #101330, from peter gildea diff from otto and myself
2006-08-05Remove "with with" typos.Ray Lai
Fix by Tobias Stoeckmann <tobias at bugol dot de> in PR 5193.
2006-08-04Add reference to mkdir(1).Ray Lai
OK jmc@
2006-08-03comment fix; from tamas teveszJason McIntyre
2006-07-26clarifications for OPTIND:Jason McIntyre
hunk #1 from tamas tevesz; hunk #2 from otto; ok otto
2006-07-21Prevent segfault when "cpio -o" is called with no input.Ray Lai
Found and fix provided by Alf Schlichting <a dot schlichting at lemarit dot com>. OK millert@ and markus@.
2006-07-10fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>.Bob Beck
tested by me and naddy, and others... ok naddy@ and me.
2006-07-02sync with systrace 1.6d, keeping local changesNikolay Sturm
tests and feedback by a few
2006-06-30handcrafted depend and CLEANFILES no longer needed since this is nowOtto Moerbeek
done by bsd.*.mk
2006-06-21handle -- as POSIX requires; from kili@outback.escape.de; ok ottoTheo de Raadt
2006-06-16Work around a problem with \$ expansion where \$\$ turned into pid ($$)Dale Rahn
expansion. otto and I cannot think of anything better. ok otto@
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