summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove all reference to sysinstall - it's going away.jkh1995-05-091-2/+0
|
* Add support for editing mode pages.dufault1995-05-052-22/+266
|
* Flush stdout when writing out each superblock backup.dg1995-05-021-0/+1
|
* Don't print out zero length names when verbose is set.dufault1995-05-011-2/+2
|
* Add a "-s" argument to specify the command timeout in seconds.dufault1995-05-012-12/+23
| | | | | | Now you should be able to format a disk with something like: > scsi -f /dev/rsd?c -s 1200 -c "4 0 0 0 0 0" assuming sd.c lets you open it.
* Add "-m" command to read mode pages. Also add -z for freezing,dufault1995-04-282-74/+333
| | | | though the kernel changes aren't committed yet.
* Replace call to obsolete inet_addr routine with inet_aton so we can specifypst1995-04-261-2/+2
| | | | netmasks and broadcast addresses of 255.255.255.255.
* Obtained from: copied fro mount_kernfsjulian1995-04-213-0/+211
| | | | | This is copied from the mount_kernfs code.. if it doesn't work there is a working binary in ~julian
* Bugfixes :gpalmer1995-04-196-18/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - in mount_portal.c: included catching of SIGHUP to get portald to re-read the config file. - in mount_portal.c: in SIGCHLD handler the return values checked from waitpid were wrong. Note. this routine was written correclty according to the manual page for 4.4BSD, but waitpid does not exhibit this behaviour. It is not returning 0 when WNOHANG is specified. I havent checked this properly. - in mount_portal.c: initialized the fdset for the select properly. - in mount_portal.c: corrected poor casting in the select. - in mount_portal.c: changed a break; to exit (0); so that the children die after doing the hard work, this stops the select: bad file descriptor messages. - in pt_file.c: the kernel passes kernel style open flags to the portal code which aren't compatible with "normal" O_ flags. I have adjusted these in pt_file.c. In general I think the portal fs code and portal_cred structure need changing to pass to the portald the right style of flags _and_ the permissions. - in pt_tcp.c: a few mistakes in typing of the socket structures, getservbyname returns the port number as an int but sockaddr wants the port number as an u_short. - in pt_tcp.c: someone wrote this on a VAX/Sun whatever and forget about byte ordering!! I've included a few htons about the place. - in all the above I have sprinkled a few more debugging printf's. Submitted by: "Duncan McL Barclay" <dmlb@ohm.york.ac.uk
* Yank out the rewriting of disklabels. This code can and will get confusedphk1995-04-191-52/+0
| | | | | | in a couple of cases, and it doesn't do much anyway. It used to save only the newfs params (block/frag/cgroup.. and nothing more. Something that don't belong in a disklabel in the first place.
* Remove "BUG" of not supporting arguments for "-o"dufault1995-04-171-14/+7
|
* Add support for arguments in output "-o" string.dufault1995-04-171-5/+28
|
* Bump to 2.0-950418-SNAPgpalmer1995-04-171-1/+1
|
* Claim 0xA7 for NEXTSTEP in here also.gpalmer1995-04-172-0/+2
|
* Add NEXTSTEP as claiming partition code 0xA7.gpalmer1995-04-172-0/+2
|
* Bump the snap date.jkh1995-04-151-1/+1
|
* We're now shooting for a 950412-SNAPjkh1995-04-121-1/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
* Bump this to 0408. I have my reasons.jkh1995-04-111-1/+1
|
* Fix initialization error that caused `mount -vat' to behave unexpectedlywollman1995-04-101-3/+6
| | | | | | in certain circumstances. Fixes PR #182. Submitted by: Andrew Atrens <atreand@statcan.ca>
* Update declaration to match the change made to dir.c a few hours ago.bde1995-04-023-3/+3
|
* Submitted by: Philippe Charnier <charnier@lirmm.fr>, added to by bdebde1995-04-021-8/+8
| | | | Fix all the warnings from `gcc -Wall'.
* Make this actually work. It always failed in FreeBSD because it attemptedbde1995-04-021-6/+27
| | | | | | | | | | | | | | to open the mounted block device containing the directory to put the bad sector files in, and opening of mounted block devices hasn't been allowed since Net/2 or before. Attempt to open the raw device instead. Be more careful about long names. Use lstat() instead of stat() to search for block devices so that my symlink to the default floppy doesn't cause problems. Check for truncation of the block number when it is squeezed through the mknod() interface. The maximum used to be only 32767, but now it large enough.
* Submitted by: Philippe Charnier <charnier@lirmm.fr>, distilled by bdebde1995-04-026-6/+9
| | | | Fix a couple more bogus types that aren't reported by `gcc -Wall'.
* Submitted by: phk, added to by bdebde1995-04-0240-226/+797
| | | | Fix all the warnings from `gcc -Wall'.
* make pass work also as the first keywordugen1995-03-301-1/+1
| | | | | | | (while addf skipped) Reviewed by: Submitted by: Obtained from:
* Fixed stupid bug in mountd: it would seem that the kernel doesn't allowwpaul1995-03-261-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | you to push the same host into its NFS export lists twice, but mountd tries to do it anyway. This means that putting: /some_file_system -ro host1 host1 in your /etc/exports file causes an error. This is bogus: mountd should be smart enough to ignore the second instance of host1. This can be a problem in some configurations that use netgroups. For example, each host in my netgroups database is has two entries: startide (startide,-,) (startide.ctr.columbia.edu,-,) When mountd sees this, it tries to put startide.ctr.columbia.edu into the export list *twice*. Just listing 'startide' /etc/exports list will also screw up because mountd will try to resolve the netgroup 'startide' instead of the hostname 'startide.' My solution is watch for duplicate entries in get_host() and mark them as grouptype GT_IGNORE, which do_mount() will now cheefully throw away. This is a bit of a kludge, but it was the least obtrusive fix I could come up with. Also silenced a compiler warning: arguments passwd to xdr_long() should be u_long, not int. :)
* Use more AI to predict initial/final isdst,ache1995-03-261-19/+37
| | | | latest isdst preffered.
* add a \t which has been nagging me too longphk1995-03-191-2/+2
|
* Remove reference to fsdb(8). We don't have it.phk1995-03-173-3/+0
|
* Fix long-standing core dump when ld returns failure.wollman1995-03-161-2/+2
|
* Changed manual page to conform to the reality in FreeBSD.dg1995-03-151-9/+8
|
* Extract the cpio-floppy relative to the root, not /stand.phk1995-03-151-7/+5
|
* Do not try to make any notice if the PID file cannot be created.joerg1995-03-121-3/+1
| | | | | Makes folks happy that run slattach in single-user, where /var/run is probably missing.
* Impliment -ad and -au flags in addition to -a and document the changewpaul1995-03-122-8/+42
| | | | | | | | in the man page. ifconfig -au affects all interfaces marked as up, and ifconfig -ad affects only the interfaces marked down. ifconfig -a still handles everything. This change is purely for compatibility with SunOS, for those who might be accustomed to the SunOS ifconfig's behavior.
* Make slattach create a PID file under /var/run when the connection isjoerg1995-03-122-4/+33
| | | | | | | | | | | established. This way, automatic scripts are possible that might control the SLIP connection. It's unacceptable for a daemon that's being controlled by a variety of signals to not leave its PID somewhere. The file name contains the terminal path name component of the associated tty device, so it should be unique even with multiple parallel slattach's running. The file will be unlinked at regular exit. Also found a minor bug in the option handling by compiling with -Wall.
* Fix it - now this programm should work probably..It isugen1995-03-121-37/+49
| | | | | still commented out in rc and i ask everybody to test it and reply if it makes any troubles...If no - very good..
* Update manpage..BTW,if somebody wit good Englishugen1995-03-031-8/+21
| | | | would go through it and fix it would be a really good idea.
* Oops..remove some debugging leftover..ugen1995-03-031-1/+0
|
* Ok..so everybody picking on me that ipfw syntacsugen1995-03-031-106/+172
| | | | | | | | | | | is a pain in ...wel.. trying to fix this * from/to/via position indepenndant syntax * "any" for 0/0 host address * addf/addb default keyword in case you skip it.. * pass = accept new action, seems to be somewhat better in particular cases * on = via (as on ed0 instead of via ed0,loook at reject tcp on ed0 from hacker )
* Fixed manpage..ldeny,lreject and log options are thereugen1995-02-271-3/+2
| | | | | and others not.. Submitted by: torstenb@FreeBSD.ORG
* The things you have to go through some times! Add a minimal program tophk1995-02-262-4/+22
| | | | read a termcap entry, since tset is picky about filedescriptors...
* oops.phk1995-02-261-4/+6
|
* Add a '-p' option to md5. This will save some time in generation of thephk1995-02-262-7/+15
| | | | ctm deltas.
* configure_network() if carrier already presentache1995-02-251-2/+4
| | | | Submitted by: serg@opus.opu.odessa.ua
* Change utility to accept interface nameugen1995-02-242-10/+59
| | | | along with IP as "via" argument
* Fix -Wall warnings.phk1995-02-231-7/+11
| | | | Yes I have better things to do, but just now I'm waiting...
* Don't clobber d_secperunit in `disklabel -e'. `disklabel -e' replaces allbde1995-02-222-0/+22
| | | | | | | | | the values that it doesn't print by defaults. This seems wrong. I want to be able to see the total number of sectors more than edit it. The default d_secperunit of (sectors/track * tracks/cylinder * cylinders) is bogus if sectors/track is only an approximation and more bogus if sectors/track and tracks/cylinder are dummy values such as 4096 and 1 to defeat ufs's pessimizations.
* Document the mountdtab file in the man page.ats1995-02-221-1/+3
|
* Use POSIX.2 regular expressions, get rid of libcompat.wollman1995-02-214-40/+52
|
* Implement maxprocperuid and maxfilesperproc. They are tunableguido1995-02-201-1/+3
| | | | | | | | | | | | via sysctl(8). The initial value of maxprocperuid is maxproc-1, that of maxfilesperproc is maxfiles (untill maxfile will disappear) Now it is at least possible to prohibit one user opening maxfiles -Guido Submitted by: Obtained from:
OpenPOWER on IntegriCloud