Commit Graph

1930 Commits

Author SHA1 Message Date
kris
48a86663f5 Fix insecure tempfile handling
Reviewed by:	audit@freebsd.org
2000-01-16 21:08:58 +00:00
mjacob
0670f0e79a use XPT_GDEV_STATS- XPT_GDEV_TYPE was deprecated a while back 2000-01-16 20:03:34 +00:00
mks
2955bfa1e9 Handle GetResponse errors correctly. 2000-01-15 19:51:44 +00:00
green
433199aa12 This is another in Martin Blapp's N-series of mount-related cleanups :)
Changes are:
 - rpc.umntall is called at the right places now in /etc/rc*
 - rpc.umntall timeout has been lowered from two days (too high) to one
 - verbose messages in rpc.umntall have been clarified
 - kill double entries in /var/db/mounttab when rpc.umntall is invoked
 - ${early_nfs_mounts} has been removed from /etc/rc
 - patched mount(8) -p to print different pass/dump values for ufs filesystems.
   (last patch recieved from dan <bugg@bugg.strangled.net>)

Submitted by:	Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
2000-01-15 14:28:14 +00:00
bp
d707943254 More style fixes, both to code and man page.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
2000-01-15 09:06:37 +00:00
billf
bca929cf37 Add '-t X' which times out after pinging for X seconds.
Submitted by:	adrian
2000-01-14 23:40:38 +00:00
bde
c24c0912ab Adjust paths after repository copy. 2000-01-14 17:39:20 +00:00
peter
a664a5419b Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are not
i386 specific.

Submitted by:	bde
2000-01-14 16:37:03 +00:00
bde
25dcdba3c1 Removed yet another vestige of the ft driver. 2000-01-14 16:01:28 +00:00
dillon
2d5bbead6d Thresh-out the nfs manual page references a bit
Reviewed by: Julian Elischer <julian@elischer.org>
2000-01-13 21:47:21 +00:00
bde
db019236cd Unremoved used include of <sys/stat.h> (don't depend on pollution in
<sys/mount.h).  Broken in: previous commit.

Removed unused include of <nwfs/nwfs.h>.
2000-01-12 09:16:13 +00:00
bde
940926bdb0 Backed out removal of vendor id and gratuitous change of tmpfile prefix
in previous commit.
2000-01-11 07:28:46 +00:00
peter
d8e4259edf Fix the use of an uninitialized variable in the previous commit.
Also, in addition to the previous log message, the last change had a fix
for the case where where f.mntfromname is a relative path like da0a.

Submitted by:	bde
2000-01-10 14:20:53 +00:00
phantom
c2a05ad857 Add `.Nm rrestore' to NAME section. 2000-01-10 12:27:33 +00:00
phantom
789f35628d Add .Nm fastboot' and .Nm fasthalt' to NAME section. 2000-01-10 12:24:47 +00:00
phantom
3e2182b8f1 Add `.Nm rdump' to NAME section. 2000-01-10 12:18:10 +00:00
kris
2ae62f59c2 10 X's for mktemp(). This seems to be free from race conditions. 2000-01-10 09:33:37 +00:00
kris
4d100bef50 10 X's for mkstemp(), and don't redefine _PATH_TMP 2000-01-10 09:25:32 +00:00
peter
180fe6908e - Style/bde changes.
- Don't use realpath as stat does the right thing.
  - Only check ufs filesystems in getmntpt.
  - Dont' bother checking that the ufs-mounted-on
    device is a special file.  It *must* be a special
    file, or ufs wouldn't have mounted it.

Submitted by:	Paul Saab <ps@yahoo-inc.com>
2000-01-10 08:21:22 +00:00
peter
d9e08985b2 - Forgot to nuke hotroot completely.
Submitted by:	Paul Saab <ps@yahoo-inc.com>
2000-01-10 08:18:18 +00:00
ache
6e0f0edf20 Add Latin2 conversion table
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2000-01-08 17:17:32 +00:00
ache
65d955803c Allow #-comments in conversion table file 2000-01-08 16:47:55 +00:00
shin
f59cec4805 Merge bug fix from KAME repository.
This fix enables inet6 default route addition.

Suggested by: itojun
2000-01-08 14:28:46 +00:00
bp
22cf442af7 Some code cleanup based on the ideas from submitter.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
2000-01-08 11:21:51 +00:00
luigi
7563c670d4 Support per-flow queueing in dummynet.
Implement masks on UDP/TCP ports.
Large rewrite of the manpage.

Work supported by Akamba Corp.
2000-01-08 11:19:19 +00:00
msmith
6d6d5a84a7 Don't try to include ipsec support if we are building for the install
floppy image.
2000-01-07 19:06:54 +00:00
phantom
0e1757fab1 Document a waring that tunefs(8) emits when enabling/disabling
soft updates on an unmounted filesystem.

PR:		docs/15657
Submitted by:	Mark Ovens <mark@ukug.uk.FreeBSD.org>
2000-01-07 13:05:04 +00:00
shin
268d3bca4c libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
obrien
dce741572f Add chown(8)-like functionality. This will allow us to not use chown(8)
in MAKEDEV(8) -- removing the need of having /usr mounted.
2000-01-06 05:20:14 +00:00
grog
51d05a42e0 make_devices(): Create devices with permissions 640, not 740.
Pointed-out-by:	"Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
2000-01-05 23:56:33 +00:00
mjacob
11e37b8825 Cast myminor/mymajor results to u_int so
comparisons to longs work correctly on
alpha.
2000-01-05 20:18:16 +00:00
bde
9a3bb5c9b5 Refreshed the silly copy of <sys/disklabel.h>. The old copy was
seriously out of date.  It older than Lite1 (it has an undeprecated
DISKTAB but not _PATH_DISKTAB).
2000-01-05 17:34:00 +00:00
grog
787507cf54 Describe 'move' function.
Submitted-by:	Marius Bendiksen <marius@marius.scancall.no>

Describe state transitions in more detail, in particular how to revive
subdisks.
2000-01-05 05:59:08 +00:00
grog
ad8137a1ec Change parameters of some declarations.
Add declaration for vinum_mv.
2000-01-05 05:58:01 +00:00
grog
9160d9cca1 makedev: Give all devices permissions 740.
Suggested-by:	Bernd Walter (ticso@cicely.de)

Add key pairs for 'mv' and 'move' (a synonym for 'mv').  Required for
the move command code submitted by Marius Bendiksen
<marius@marius.scancall.no>

make_devices: Don't create symlinks for drives if they are only
referenced.  Previously, spurious symlinks appeared in the current
directory.

Problem-reported-by:	Bernd Walter (ticso@cicely.de)

No longer create character devices, now that there is no difference.
Make the devices as character devices, not block devices.
2000-01-05 05:57:31 +00:00
grog
7bf8eaaff7 Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:	Bernd Walter <ticso@cicely.de>

Replace %q formats with %lld.

Desired-by:	bde

Remove #ifdef RAID5

vinum_lsi: If a subdisk is in 'reviving' state, check the status of
the revive and report the status of the revive.  In verbose mode,
display the pid of the reviver.
2000-01-05 05:56:47 +00:00
grog
5960da46e2 Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:	Bernd Walter <ticso@cicely.de>

Add function vinum_mv, which moves subdisks to different drives.  This
function just does the low-level configuration changes; the resultant
subdisk is stale if it previously had any contents, otherwise it is
empty (i.e. in need of initializing if it's RAID-5).  We still need to
handle getting the contents moved over, but the current version will
suffice to migrate subdisks from a disk which has failed.

Submitted-by:	Marius Bendiksen <marius@marius.scancall.no>

vinum_start:  Get the revive block size right.
2000-01-05 05:55:57 +00:00
phk
f553ece8e0 The dumpon sysctl only accept cdevs thse days.
Submitted by:	bde
2000-01-04 12:52:52 +00:00
marcel
bd4c9a6fbe Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
peter
cba8510f52 Make fsck(8) do a MNT_RELOAD after cleaning for all read-only mounted
filesystems, not just for the root fs.

Reviewed by:	mckusick
Submitted by:	Paul Saab <ps@yahoo-inc.com>
1999-12-30 16:32:40 +00:00
ru
14e1e71672 - do not dereference a null pointer.
- minor sanity.

PR:		15318
1999-12-29 13:53:13 +00:00
shin
de22e11858 Small bug fix and improvements
(1)added error check of if_nameindex() return value at getaddrinfo().
  (2)print out more detailed information when getaddrinfo() error value
     is EAI_SYSTEM.(in this case system error num is kept in errno)

(1) is Discovered by: jinmei@kame.net in KAME environment.
1999-12-28 05:37:39 +00:00
shin
2958040f73 Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
eivind
db2f03fbcc Fix tab completion mounts (like /cdrom/)
Submitted by:	Martin Blapp <mb@imp.ch>
1999-12-26 16:34:53 +00:00
obrien
9df4535698 Fix bogus initialization of using a sledge hammer to quite -Wall, bad
indention, and size issue between 32 and 64bit machines.

Submitted by:	bde
1999-12-21 07:41:07 +00:00
billf
524585e195 'clri' takes an argument.
Reviewed by:	phk
1999-12-20 07:47:57 +00:00
ken
a70376f8e4 Fix the example in the bugs section. 1999-12-17 00:28:05 +00:00
nik
c695346248 Document that securelevel >= 2 clamps time changes to at most one second.
PR:             docs/14449
Submitted by:   James FitzGibbon <james@targetnet.com>
1999-12-16 02:15:53 +00:00
billf
484b57b1e7 Spelling fix (manuall -> manual)
Submitted by:	Jeroen C. van Gelderen <jeroen@vangelderen.org>
1999-12-16 01:25:17 +00:00
billf
616c38dc78 Spelling correction (adress -> address) 1999-12-16 01:05:48 +00:00