Commit Graph

1737 Commits

Author SHA1 Message Date
ru
1f9d9df94a Become a maintainer.
Approved by:	brian
1999-07-28 08:50:42 +00:00
ru
919b1dc10d Back out previous commit. 1999-07-28 08:38:26 +00:00
n_hibma
d5cb1bb129 Add a sensible message if an invalid ID was entered
PR:		8739
Submitted by:	Love lha@stacken.kth.se
Reviewed by:	Doug Rabson <doug@freebsd.org>
1999-07-25 11:00:05 +00:00
ru
40c8f9e504 Fix a non-critical memory leak.
PR:		12769
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-07-23 08:28:46 +00:00
grog
e583086588 Modify device numbering method to work with latest -CURRENT. Briefly,
the device numbers are now minor number only, so that we can still
compare them after dev_t has turned into a blob.

Broken-by:	dev_t changes
Reported-by:	Vallo Kallaste <vallo@matti.ee>
		"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
1999-07-22 08:40:37 +00:00
billf
19119eac47 Fix a gcc stupidity where it thought a variable was being used uninitialized
Add a case for UNSPEC which is in order by the enum definition, but out of
order alphabetically.
1999-07-21 03:04:36 +00:00
billf
46ddadfa37 Avoid ambigious if/else 1999-07-21 02:49:42 +00:00
billf
4ee645205b Avoid ambigious if-else 1999-07-21 01:55:03 +00:00
billf
f70e6b3a4d Since we are using strlen() let's assign it to the correct type and
include the proper header.
1999-07-21 00:51:14 +00:00
phk
a50d115234 Also check against chardevs when looking for root. 1999-07-20 08:50:54 +00:00
luoqi
b19f5a0265 Check if an fs is mounted before checking if it is mounted read-only.
Pointed out by:		Mike Smith	<msmith@freebsd.org>
1999-07-19 21:04:25 +00:00
mpp
3d48e8793a Print out the fields that are set in fs_flags. 1999-07-18 02:33:05 +00:00
nik
e176ea7855 Add $Id$ to these manpages.
Approved by:            bde
1999-07-12 20:04:59 +00:00
billf
1c30635619 Fix nested if/else within an if 1999-07-08 22:27:00 +00:00
yokota
b2ea93110e Remove reference to the obsoleted COMCONSOLE option.
Pointed out by: Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-07-06 11:45:27 +00:00
mph
9ba6097d3f "Cannot" is one word. "Can not" has a different meaning if taken
literally.
1999-07-05 18:12:13 +00:00
billf
78bf4e51fd (1) Include linker.h because we use kldload()
(2) Clear up an ambigious, nested if/else
(3) Cast a ccio_size to a long and use the correct format identifier.

Reviewed by:	green
1999-07-04 23:42:32 +00:00
grog
1339e74d4f Add definitions for simplified config commands
Change definition of sflag

Reported-by:	Johan Karlsson <k@numeri.campus.luth.se>
		Doug <Doug@gorean.org>
		green

World-broken-by:	grog
Pointy-hat-passed-to:	grog
1999-07-02 23:57:45 +00:00
grog
1bcfee7912 Remove the volume, plex, sd and drive commands which allowed the user
to bypass the create command.

vinum_stop:
  Allow -f option.

Add commands for simplified configuration:
  concat - create a volume with one concatenated plex
  stripe - create a volume with one striped plex
  mirror - create a volume with two concatenated or striped plexes

Egged-on-by:	  jkh
1999-07-02 08:01:12 +00:00
grog
6dd42490d6 Change the name of the s option to indicate that it wears more than
one hat.

Change formats as the result of changes in drive structure.
1999-07-02 08:00:31 +00:00
grog
79d2d7a44d Change the name of the s option to indicate that it wears more than
one hat.

Add -n option for specifying names of volumes created with the
simplified commands.

Add function find_drive_by_devname to help the simplified
configuration commands.
1999-07-02 07:59:45 +00:00
grog
6ddded6ea2 Document simplified configuration commands. 1999-07-02 07:58:54 +00:00
jkh
03d36097e5 Fix time of last dump handling.
Submittted by:		Richard Wiwatowski <rjwiwat@ozemail.com.au>
1999-07-02 04:44:43 +00:00
mks
c12e85162e Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
ru
5a67b5c03e Turn System V command line syntax ``on'' by default.
Requested by:		peter
Reviewed by:		des, billf
1999-07-01 13:33:56 +00:00
rnordier
bdc98c3998 Drop the embedded boot code in favour of a -B option which reads
the boot code from /boot/mbr, or elsewhere as defined by the revised
"-b bootcode" option; use getopt(3); clarify usage(); partially
revise man page; etc.
1999-06-27 19:29:15 +00:00
phk
10144294e6 Print out the fs_id field. 1999-06-27 10:05:14 +00:00
rnordier
40175bb53e Document -P (keyboard probe) assumptions. 1999-06-26 21:57:08 +00:00
obrien
b5890661d0 Add new file that needs compiling. 1999-06-24 08:13:21 +00:00
ru
9022ff1c0f Clarify some details. 1999-06-23 07:00:30 +00:00
grog
fa014904d0 Document the -f flag to detach.
Document the dangers of adding subdisks to striped and RAID-5 plexes.
1999-06-22 05:55:32 +00:00
grog
a26df0a059 Remove ancient, mouldy comments. 1999-06-22 05:54:39 +00:00
grog
e99d7abc27 vinum_ldi:
Show the available sectors relative to the user-available part of
  the drive (don't include the config space at the beginning).  This
  stops an empty drive reporting only 99% available.

Requested-by: staylor

printconfig:

  Show sizes in sectors with the suffix 's' instead of the
  now-deprecated 'b'.
1999-06-22 05:53:57 +00:00
grog
79bcb61346 Allow a 'start <drive>' command. 1999-06-22 05:53:11 +00:00
ru
5f8c4db6e8 Signal init(8) instead of executing halt(8) or reboot(8)
when halting or rebooting the system.  It benefits from
running /etc/rc.shutdown by init(8).

``-o'' flag is provided for backward compatibility.

PR:		5451
Discussed with:	des
1999-06-21 16:06:21 +00:00
brian
f31bc07f6a Mention that data going from one internal address to another will
not be processed by natd.
Requested by: Ludwig Pummer <ludwigp@bigfoot.com>
1999-06-21 07:58:25 +00:00
jkoshy
e006d9b3c1 Minor cleanups to shutdown(8):
- Make the -k "don't actually halt" flag incompatible with
  the halt/reboot options -h, -p, and -r.
- The -n "don't sync" option is ignored if -k is specified.
  Issue a warning message.
- Compute the actual shutdown time written to /var/run/nologin
  correctly in the case of "now" being specified.
1999-06-21 06:21:05 +00:00
phk
b19f116453 Move the IFSTATUS stuff after the address listing. 1999-06-19 20:07:24 +00:00
green
1c368c5661 This is the much-awaited cleaned up version of IPFW [ug]id support.
All relevant changes have been made (including ipfw.8).
1999-06-19 18:43:33 +00:00
phk
591a564670 Add a new interface ioctl, to return "aux status".
This is inteded for to allow ifconfig to print various unstructured
information from an interface.

The data is returned from the kernel in ASCII form, see the comment in
if.h for some technicalities.

Canonical cut&paste example to be found in if_tun.c

Initial use:
        Now tun* interfaces tell the PID of the process which opened them.

Future uses could be (volounteers welcome!):
        Have ppp/slip interfaces tell which tty they use.
        Make sync interfaces return their media state: red/yellow/blue
        alarm, timeslot assignment and so on.
        Make ethernets warn about missing heartbeats and/or cables
1999-06-19 18:42:31 +00:00
n_hibma
be1ab5cffb Add again the ':' after the x option in th eargument list to getopt.
It disappeared in rev. 1.23 newfs.c

PR: 12292
Submitted by: Cy Schubert <cy@cschuber.net.gov.bc.ca>
1999-06-19 13:32:27 +00:00
ru
e248577cf6 Fix a coredump with negative (due to overflow) offset values. 1999-06-18 14:26:07 +00:00
jkh
079fd0ead4 This lets you specify "gemdosfs", "shortnames", "longnames", and
"nowin95" as arguments to the "-o" flag, as alternatives to "-G", "-s",
"-l", and "-9"; when running "mount_msdos" by hand, that doesn't let you
do anything you couldn't already do, but if you're letting "mount" run
it, it lets you specify those options, which is especially useful if,
for example, you have an entry in "/etc/fstab" for some file system,
with "noauto" set, so you can conveniently mount a DOS partition from a
removable drive and force it to treat the file system as VFAT rather
than boring old FAT.

Submitted by:	Guy Harris <guy@netapp.com>
1999-06-18 12:05:02 +00:00
ru
05fc41ca8d Bring in System V run-level patches (turned off by default).
While I'm here, fix some typos in the manpage.

Requested by:	des
1999-06-18 09:08:09 +00:00
ken
0f6688579d Add a MAINTAINER line to modules that I maintain.
Suggested by:	brian, markm
1999-06-18 00:41:47 +00:00
ru
03c823ed1f Init(8) will halt the system if sent USR1 signal,
or halt and turn the power off if sent SIGUSR2.

PR:		5451
Submitted by:	Leif Neland <leifn@image.dk>
Reworked by:	ru
Reviewed by:	-hackers
1999-06-16 20:01:19 +00:00
ru
496bd3e01e Document the usage of escape character in a service name.
PR:		7101
Reminded by:	jhs
1999-06-15 12:56:38 +00:00
ru
dc1db7a779 Workaround the problem that the first (and only first) port name
can't have a dash character (it is treated as a ``range'' operator).
One could now use such a name by escaping the ``-'' characters.
For example:

# ipfw add 1 count tcp from any to any "ms\-sql\-s"
# ipfw add 2 count tcp from any ftp\\-data-ftp to any

PR:		7101
1999-06-11 09:43:53 +00:00
ken
73cd4f0fb1 For vendor-specific commands sent using the 'camcontrol cmd' facility,
use the passed in CDB length, not 1.

Submitted by:	Jean-Marc Zucconi <jmz@FreeBSD.ORG>
1999-06-10 16:14:18 +00:00
phk
bb0e3278df Introduce IFF_SMART bit.
This means that the driver will add/delete routes when it knows it is
up/down, rather than have the generic code belive it is up if configured.

This is probably most useful for serial lines, although many PHY chips
could probably tell us if we're connected to the cable/hub as well.
1999-06-06 09:17:51 +00:00