aboutsummaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* (main): Use new libps stream type.Miles Bader1995-11-211-4/+9
|
* (main): Grow TTY_NAMES properly even when it's empty.Miles Bader1995-11-141-1/+1
|
* (ids_add): Increase the size of IDS even when 0.Miles Bader1995-11-081-1/+1
|
* (print_info):Miles Bader1995-11-061-6/+9
| | | | Use the new FLAGS argument to file_get_storage_info. Add new storage types.
* (main):Miles Bader1995-11-061-6/+21
| | | | Change to use the new wierd callback interface to fshelp_start_translator.
* (main): Use file_get_fs_options, not fsys_get_options.Miles Bader1995-11-061-15/+24
| | | | (doc): `filesystem' --> `FILESYS'.
* (options): Add --not-owner/-O option.Miles Bader1995-11-021-27/+75
| | | | | | | | | | (id_t, struct ids): New type. (make_ids, ids_add, ids_contains): New functions. (main): Use a struct ids instead of multiple variables to hold the wanted uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS list to contain the opposite sense, and use it. (main): Use proc_stat_proc_info instead of proc_stat_info and PSTAT_PROC_INFO instead of PSTAT_INFO.
* (fmts): Add RPC field to the -l format.Miles Bader1995-11-021-1/+1
|
* (options):Miles Bader1995-10-311-16/+21
| | | | | | | | Change --force/-f to --goaway/-g. Add flags for killing translators: --recurse/-r, --force/-f, --nosync/-S. (doc): New variable. (main): Support new flags. Have some of the options update flag words instead of setting variables.
* (options): --all is -e, not -a.Miles Bader1995-10-301-1/+1
|
* (parse_enum): Use argp_error.Miles Bader1995-10-211-9/+2
|
* (targets): Add storeinfo.Miles Bader1995-10-211-3/+5
| | | | | (SRCS): Add storeinfo.c. (storeinfo): New target.
* Initial revisionMiles Bader1995-10-211-0/+224
|
* (options): FILE --> FILESYS in help msg.Miles Bader1995-10-211-7/+9
| | | | | | (args_doc): OPTION --> FS_OPTION, since the usage message already uses OPTION to mean those to fsysopts. (doc): New variable; give some common choices for FS_OPTION.
* (args_doc): New variable.Miles Bader1995-10-211-17/+13
| | | | (main): Set ARGZ inside of parse_opt.
* (options): Converted to argp format.Miles Bader1995-10-181-70/+61
| | | | | | | (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
* (options): Converted to argp format.Miles Bader1995-10-181-68/+43
| | | | | | (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. Include <argp.h> not <getopt.h>.
* (options): Converted to argp format.Miles Bader1995-10-181-58/+33
| | | | | | | (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc): New variable. Include <argp.h> not <getopt.h>.
* (parse_enum): Use ARGP_HELP_STD_ERR.Miles Bader1995-10-181-2/+2
|
* (main): Use realloc on a variable in main instead of alloca, since theMiles Bader1995-10-111-185/+163
| | | | | | | | | storage gets used after parse_opt returns. (options): Converted to argp format. (main): Use argp, not getopt. (usage, USAGE, SHORT_OPTIONS): Deleted. (arg_doc, doc): New variables. Include <argp.h> not <getopt.h>.
* (usage, options, main): Change -h/--no-header options to -p/--prefix andMiles Bader1995-10-051-10/+17
| | | | | | -P/--no-prefix. (main): Unless overridden by -p/-P, only print a FILE: prefix when there are multiple files on the command line.
* Get rid of rules related to ../lib.Miles Bader1995-09-051-4/+3
| | | | (settrans): Depend on libfshelp.a instead of starttrans.o.
* (main): Use fshelp_start_translator instead of start_translator from ../lib.Miles Bader1995-09-051-2/+4
|
* (all): New target.Miles Bader1995-08-241-18/+8
| | | | | | | | (ps, settrans, showtrans, fsysopts): Put all dependencies in these targets. (settrans-HURDLIBS, showtrans-HURDLIBS, ps-HURDLIBS): Removed. (settrans, showtrans, fsysopts, ps): Get rid of things that are now in libshouldbeinlibc. Get rid of rules dealing with error.o.
* (DIST_FILES): sh.ChangeLog -> shd.ChangeLog.Michael I. Bushnell1995-07-231-1/+1
|
* (SHORT_OPTIONS): Remove '?' as getopt usurps it.Miles Bader1995-07-071-3/+3
| | | | (options, main): Use '&' instead of '?' to mean help.
* (fsysopts): Don't list twice.Michael I. Bushnell1995-07-071-1/+0
|
* (main, apply_auth_to_loginid, apply_auth_to_pgrp): Remove assignmentsMichael I. Bushnell1995-07-071-15/+19
| | | | from inside if tests.
* (main): Declare return type.Michael I. Bushnell1995-07-071-1/+2
|
* (lookup_user): Declare return to be `int' to avoid type clash in useMichael I. Bushnell1995-07-071-1/+1
| | | | as 4th parameter to parse_numlist.
* (run): Remove assignments from inside if tests.Michael I. Bushnell1995-07-071-4/+8
| | | | (command): Likewise.
* (special-targets): New var.Michael I. Bushnell1995-07-071-0/+2
| | | | (mount): Provide command.
* (OBJS): Don't include mount.sh.Michael I. Bushnell1995-07-071-4/+10
| | | | (shd, su, clri, sync, reboot, halt, fsysopts): List object files here.
* (OBJS): New var.Michael I. Bushnell1995-07-071-0/+1
|
* Give an error message instead of dying when no filename argument is given.Miles Bader1995-07-061-0/+3
|
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-4/+0
|
* (ps-HURDLIBS): Renamed from HURDLIBS.Michael I. Bushnell1995-07-061-2/+2
| | | | (ps): Fix dependencies.
* (CPPFLAGS): Put -I../lib back in.Miles Bader1995-06-261-0/+2
| | | | Put back the vpath for %.c to ../lib.
* (HURDLIBS): Added libihash.Michael I. Bushnell1995-06-061-4/+2
| | | | | | (CPPFLAGS): Deleted addition of -I../lib. (vpath): Deleted spec. (ps): Deleted ihash.o and primes.o.
* (ps.o, fsysopts.o, showtrans.o, settrans.o): Add dependencies on header files.Miles Bader1995-06-011-0/+6
| | | | (REMHDRS): Define this variable.
* (SCRS): Removed update.c.Michael I. Bushnell1995-05-301-2/+2
| | | | (targets): Removed update.
* (main): Check for a missing filesystem name.Miles Bader1995-05-201-5/+14
| | | | | (main): Tweak the error msgs a bit. (options, main): Don't use '?' as the --help key.
* Add fsysopts.Miles Bader1995-05-181-2/+4
|
* Add -R to the short flags list.Miles Bader1995-05-161-3/+3
| | | | | Make non-L usage ignore symbolic links, not all translators. Tweak the help message.
* Initial revisionMiles Bader1995-05-161-0/+124
|
* Add the -n (--nominal-fields) flag, which prevents elision of uninterestingMiles Bader1995-05-031-4/+24
| | | | | | | fields. Also add elision of uninteresting fields... Add the (ignored) -w flag for BSD compat. Use the new name for ps_fmt_squash: ps_fmt_squash_flags.
* Add the SC (suspend count) field to various output formats.Miles Bader1995-05-021-4/+4
|
* (reap): Check for ECHILD, not ESRCH.Michael I. Bushnell1995-05-021-2/+2
|
* Allow options before and immediately after the node name to be rearranged byMiles Bader1995-04-271-18/+19
| | | | getopt without affecting those following the translator name.
* Move the test for a valid translator to just before we use it.Miles Bader1995-04-141-14/+16
| | | | | | | Gratuitously change the "unknown" value for type to "". Don't use `--' when invoking settrans, as getopt doesn't seem to be handling it correctly. Use `usage' not `USAGE'.