Commit Graph

822 Commits

Author SHA1 Message Date
cgd
61d53ce8bb mount_lofs, from jsp 1994-01-12 18:35:51 +00:00
cgd
8f725dca72 mount_lofs, from jsp 1994-01-12 18:35:34 +00:00
ws
3f7cb414ea Try getting the filehandle of the exported path when reading /etc/exports 1994-01-06 22:48:51 +00:00
deraadt
2ceb867c77 allow mounting/exporting of NFS files (not just directories) for diskless
swap. thanks to <ws@TooLs.DE> and <roland@frob.com>
1994-01-06 13:51:55 +00:00
cgd
acdf74915d update for new (actually old... *sigh*) mount flags 1994-01-05 08:32:10 +00:00
cgd
d31a94286c Undo that last change. It was 100%, beyond a doubt, completely bogus.
afswitch and af_max were still used, but since they was declared 'common'
by virtue of their declaration in af.h, the symbols were defined at link-
time, and their contents were considered BSS -- init to zero.
Now, you and i know that jumping to zero causes a core dump...
Therefore: af.c has been resurrected, so the procedure pointers actually
point to procedures, tables.c has had it's change nuked, and af.h
has been changed so afswitch and af_max are declared as 'extern'.
It's obvious that that 'fix' wasn't even tested.
1993-12-30 10:43:58 +00:00
cgd
340e659405 get rid of *very* bogus addition to CFLAGS 1993-12-30 08:56:03 +00:00
jtc
7d2aaa8290 Replace emitl(), a function that converts a struct tm to a time_t, with
a call to C library function mktime(), which does the exact same thing
(using basically the same algorithm too).
1993-12-24 01:16:59 +00:00
mycroft
ff675c97f1 Clean up deleted files. 1993-12-22 10:32:21 +00:00
cgd
3e75cabcd4 new version from CSRG, via BSDI, with fixes 1993-12-22 10:31:38 +00:00
mycroft
6b7fd8ec52 Clean up deleted files. 1993-12-22 10:25:05 +00:00
cgd
108d89475f new version from CSRG, via BSDI, with fixes 1993-12-22 10:19:31 +00:00
mycroft
c1bb61de2d Move inet_default into tables.c, and remove all of af.c, as it is no longer
used.
1993-12-18 01:46:20 +00:00
jtc
ee123e4b36 Update to use <dirent.h>. 1993-12-15 17:01:36 +00:00
hpeyerl
93855d31e9 Another multicast patch.
>From LBL and Steve Mccanne
1993-12-15 04:46:13 +00:00
cgd
e003bbf45a fix from Brad Parker <brad@fcr.com> to curb routed inflation when
using MULTICAST.  it wasn't properly ignoring the new interface flags.
1993-12-11 01:47:28 +00:00
cgd
9fa00062f5 deal with change in setting of slip params 1993-12-10 13:19:12 +00:00
cgd
7489d1a908 add MULTICAST recognition 1993-12-10 11:29:42 +00:00
cgd
285bdc5f46 LLC -> LINK, documentation 1993-12-10 11:23:54 +00:00
mycroft
a09abb4d2b Minor cleanup. 1993-12-10 05:10:22 +00:00
pk
6a51809ffe Check for dumpdev being NODEV. If so, exit silently, unless verbose is on. 1993-12-08 16:43:16 +00:00
mycroft
8363f8736d Use MACHINE_ARCH. 1993-12-08 11:47:17 +00:00
pk
efa4a5a7aa *** empty log message *** 1993-12-08 10:16:08 +00:00
cgd
1900f7508b 386BSD -> NetBSD and/or i386 1993-12-06 09:37:30 +00:00
cgd
04f80fa1bc 386bsd -> NetBSD 1993-12-06 09:32:27 +00:00
briggs
599aa2201d This is currently just the hp300 man page with the boot sequence
description removed.  It needs to describe the macintosh boot
in some detail and perhaps note that the macintosh doesn't work
as described in all cases (yet).
1993-12-06 05:34:07 +00:00
deraadt
b61a97ceeb should bzero automatic sockaddr's before use 1993-12-05 13:41:07 +00:00
deraadt
df1ab8279c should bzero automatic sockaddr's before use 1993-12-05 13:26:52 +00:00
cgd
1d330d5df9 MACHINE_ARCH support 1993-12-05 00:49:23 +00:00
deraadt
feb763311e i love ansi 1993-12-03 10:37:14 +00:00
mycroft
a284fbc30e Remove ${DESTDIR} from BINDIR. 1993-12-02 07:21:19 +00:00
mycroft
d1a8a0891c From: Ian McDonnell <imcd@apriori.demon.co.uk>
* Initialize termios struct before using it, from the current tty settings.
* Set speed earlier.  (This, combined with the above, was causing DTR to be
dropped briefly on startup.)
* Add `-m' option to avoid using HUPCL.
Also:
* Remove findspeed() altogether, as we don't need it and it's ugly.
* Use tcgetattr() and tcsetattr() rather than TIOCGETA and TIOCSETA.  The
former is POSIX; the latter is not.
1993-12-02 05:44:26 +00:00
mycroft
dd486c4952 We said we're going to default to `n', now do it! 1993-12-02 04:57:27 +00:00
mycroft
14fc37d890 Change the four inode loops to the form:
for (ino = 1; ino <= maxino; ino++)
Based on a bug fix from Havard Eidnes <Havard.Eidnes@runit.sintef.no> and
suggestion by Chris Torek <torek@horse.ee.lbl.gov>.
1993-12-02 03:49:37 +00:00
mycroft
a49e6f5cbe Avoid core dumping if /etc/dumpdates is not present. Note that only file
systems listed in dumpdates are display by `dump w' and `dump W'; this is
probably a bug.
Original bug reported by John Brezak <brezak@ch.hp.com>.
1993-12-02 02:33:39 +00:00
jtc
93a125034a Use ".At v6" macro instead of spelling out "Version 6 AT&T UNIX". 1993-11-30 00:11:45 +00:00
cgd
1fecf22389 update for present reality 1993-11-23 04:43:06 +00:00
jtc
acc61782fb Fix spelling mistake. 1993-11-19 17:24:58 +00:00
cgd
f51f1b4c04 from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
Some reordering and modifications in the Makefiles for sh, dump,
    restore to get dependicies right.  The README in /usr/share/mk
    states that it's a Bad Thing(tm) to add something after
    .include <bsd.prog.mk>, but this seems the only way to get the
    dependencies right.
1993-11-14 15:35:34 +00:00
cgd
b14e2fa6d0 oops again; fix that last 1993-11-12 08:48:26 +00:00
cgd
24f92f3f76 oops; fix that last 1993-11-12 08:45:45 +00:00
cgd
bcb8233523 add LDSTATIC 1993-11-12 08:20:49 +00:00
cgd
8c7003e63d use LDSTATIC, not LDFLAGS any more 1993-11-08 02:33:56 +00:00
mycroft
0af4689100 Patch from Bruce Evans to deal with file names with NULs in them. 1993-11-05 23:32:06 +00:00
cgd
b7a32a0002 chown no longer here 1993-11-03 06:46:24 +00:00
mycroft
9aecec6c48 Clean up deleted files. 1993-11-03 06:45:34 +00:00
cgd
3cd310a659 add 'LDFLAGS+= -static' 1993-11-03 06:18:48 +00:00
cgd
c12bc1839f add -static to 'LDFLAGS', as it goes in /sbin 1993-11-03 05:20:49 +00:00
cgd
55c82b0104 remove query and trace from subdir lists; they're for debugging only. 1993-10-28 03:28:46 +00:00
pk
bfca4dbe69 Utility to maintain shared library lookup "hints".
Does business in `/var/run/ld.so.hints'.
1993-10-23 00:16:57 +00:00
cgd
6fbb774b75 was using the -F options for the wrong purpose 1993-10-20 19:53:36 +00:00
cgd
202167bebb try again to keep it from rebooting endlessly 1993-10-15 15:15:25 +00:00
jtc
2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft
ba01cff101 Check boundary of *c* partition against the DOS partition table, not the *a*
partition, as we might want the latter to not necessarily be at the beginning
of the NetBSD section.
1993-10-13 06:26:14 +00:00
cgd
f69e02fc8e no more librpc 1993-10-08 02:28:39 +00:00
cgd
909ad08f8c there is no librpc any more 1993-10-08 00:51:12 +00:00
cgd
4b30c543a0 always use libcrypt 1993-10-07 02:16:39 +00:00
cgd
86c14aeb7a set the 'clean' flag sometimes, but ignore it when deciding to clean
or not.  this allows you to use this fsck and... reboot your system;
otherwise it would inf-loop rebooting and marking the FS clean,
which would then mark the fs modified, cause a reboot, etc.
1993-10-06 00:52:07 +00:00
cgd
62ae8cc163 use syslog to report errors Vernon Schryver (vjs@calcite.rhyolite.com) 1993-10-05 00:36:28 +00:00
jtc
7e6ae0ac93 Make sure all items in the SEE ALSO list are comma separated 1993-10-05 00:12:10 +00:00
jtc
4c3cf5493f Name of this manpage is MOUNT_ISOFS, not MOUNT_MSDOS. 1993-10-04 23:24:59 +00:00
mycroft
978ea867b7 #if 0 the fs_clean check for now. 1993-10-03 03:54:38 +00:00
mycroft
e1e7cd5d46 Don't set clean flag if -n. 1993-10-01 02:25:19 +00:00
mycroft
d9e1211542 Set clean flags. 1993-10-01 01:56:42 +00:00
mycroft
79cf6e90da Use ${.CURDIR}/.., in case we're inside an obj dir while compiling. 1993-10-01 01:53:46 +00:00
mycroft
5f4ea60f65 Initial count for fs_state is `FS_CLEANFREQ'. 1993-10-01 01:48:01 +00:00
mycroft
3bceafed83 Skip check if filesystem is marked clean and isn't too dusty, only with -p.
Set clean flag after checking a filesystem.
1993-10-01 01:45:30 +00:00
mycroft
262cbdab66 Use doubles to rather than longs to avoid tsum overflowing so quickly. 1993-09-23 23:03:55 +00:00
ws
d3725de8aa Allow exporting whole directory trees with -alldir option in /etc/exports 1993-09-09 16:34:33 +00:00
ws
053f138dae Changes to VFS readdir semantics
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
pk
7a40c9d92c should not default to read-only mount. 1993-08-25 13:16:27 +00:00
cgd
88da3715f4 df lists filesystem as "proc" -- note this, rather than "procfs" 1993-08-25 09:35:47 +00:00
cgd
2d7ff4564c this stuff didn't go in for 0.8a... 1993-08-25 06:46:04 +00:00
brezak
651ea37a78 Fix rcs headers 1993-08-25 02:42:57 +00:00
brezak
72512ce825 Add code so inetd can start mountd. Reread exports if changed more frequently. Cleanup to use rpcsvc headers. 1993-08-25 02:37:36 +00:00
pk
3dd58a232e removed trash left over from FTP PUT operation :-( 1993-08-24 17:21:57 +00:00
pk
7f940b41a3 Man page added. 1993-08-24 17:16:54 +00:00
cgd
9910a37e0e little point in having mount_procfs if you don't make it... 1993-08-24 16:16:33 +00:00
pk
883ee6ae2f mount program for proc filesystem. 1993-08-24 13:18:05 +00:00
pk
d4f1dcb0d5 Initialized `mntflags'. 1993-08-24 13:15:14 +00:00
jtc
fc04014ae1 Dump is now in /sbin. 1993-08-20 16:32:58 +00:00
mycroft
f882911ca9 pcfs_args --> msdosfs_args 1993-08-14 11:05:26 +00:00
mycroft
b1f3b28d18 PCFS --> MSDOSFS 1993-08-09 06:22:46 +00:00
mycroft
a4978b4da6 Don't reset CFLAGS. 1993-08-09 06:14:22 +00:00
cgd
f08e3f34a5 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:42:13 +00:00
jtc
66db4d4b5e Update to -mandoc macros 1993-08-05 20:49:16 +00:00
jtc
adb370a8b4 Updated to -mandoc macros. 1993-08-05 20:34:26 +00:00
mycroft
13c54e604a Add an #endif I forgot. 1993-08-03 23:25:12 +00:00
mycroft
85fd4d583d Recognize noauto' (and auto', just for symmetry) in fstab. 1993-08-03 01:25:52 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft
1fb80e5b34 Add RCS identifiers. 1993-08-01 05:26:30 +00:00
mycroft
2982be9a6f Add RCS identifiers. 1993-08-01 00:57:02 +00:00
mycroft
5b11c06adf Add RCS indentifiers. 1993-07-31 15:27:53 +00:00
mycroft
b6f2050461 Merge changes from netbsd-0-9 branch. 1993-07-30 01:31:48 +00:00
mycroft
bccc50a733 Merge changes from netbsd-0-9 branch. 1993-07-30 01:00:27 +00:00
cgd
cbdb50c1c1 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 00:56:43 +00:00
cgd
beb4553725 have ping do the right thing, wrt microseconds.
actually, now it'll overflow its counters sooner than before, and everything
should *really* be converted to doubles and/or "unsigned long long"s
1993-07-22 09:49:57 +00:00
mycroft
64dd30d489 Clean up deleted files. 1993-07-20 01:17:03 +00:00
cgd
78ce7a164e deal with mount_isofs man page 1993-07-20 00:51:02 +00:00
cgd
0a08244e8c change name to mount_msdos, and add man page. need some more hacking
later to change everything to mount_msdos, i.e. files need to be
moved in the tree, but that can wait.
1993-07-20 00:19:09 +00:00
cgd
de80f95f45 add man pages for mount_fdesc and mount_kernfs.
after things settle down, i've decided that these should be broken
out into their component programs again; combining them was a mistake...
1993-07-19 23:49:27 +00:00
cgd
27ec40381a add support for -norrip 1993-07-19 13:31:39 +00:00
cgd
4f65ebbdcb actually use mount options which were passed the command line 1993-07-19 11:41:47 +00:00
mycroft
f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
cgd
6fe7777e0e get rid of the bogus changes i made to init. note that /etc/ttys
*must* have an entry for "console", though it should be "off",
prolly.
1993-07-08 01:47:31 +00:00
brezak
6a4e260542 Support 38400, 57600, and 115200 tty speeds. 1993-06-29 19:16:38 +00:00
cgd
c15a7d06cd a couple of local mods; always ask for shell in single user, use -lcrypt,
use root's shell rather that /bin/sh when going to single-user, etc.
1993-06-18 21:16:25 +00:00
cgd
a63ff5217e incorporate bsdi's version of init; this is their version, w/no local changes
other than adding Id strings as appropriate
1993-06-18 20:51:45 +00:00
mycroft
53d8b825f0 Add some library dependencies. 1993-06-15 23:13:33 +00:00
mycroft
3d735d0f5a Add FILES section. 1993-06-13 23:21:34 +00:00
mycroft
e52e93dd80 Update file names. 1993-06-13 22:36:44 +00:00
mycroft
5ebbc28faa Update file names. This man page needs some more work. 1993-06-13 22:35:14 +00:00
mycroft
90c92bff60 Add support for fast symlinks. 1993-06-13 21:08:27 +00:00
cgd
b907fbcbb9 add preliminary support for devfs (e.g. MOUNT_DEVFS #define, etc.) 1993-06-10 01:02:59 +00:00
deraadt
2c8e44c31a removed aui/bnc hack from ifconfig. Use -llc0/llc0 instead. 1993-06-09 20:04:38 +00:00
cgd
26e41afe6d add LKM man pages 1993-06-08 03:07:11 +00:00
cgd
950f32bf2a open device for read/write, so we can actually load
devices w/new checks in kern_lkm.c
1993-06-07 23:10:34 +00:00
cgd
57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00
deraadt
daa25cdf09 fix ifconfig once again. multiple protocols really cooked hte code i wrote
before for -a.
1993-06-06 08:55:30 +00:00
cgd
9bba98a520 update to use PS_STRINGS to set proc title 1993-06-02 05:01:49 +00:00
cgd
9d87d1d2e1 Remove ifdefs hiding ISO and XNS functionality
(from Havard Eidnes <Havard.Eidnes@runit.sintef.no>)
1993-05-21 12:48:49 +00:00
cgd
b581ea7f60 add hp300 man page 1993-05-13 13:49:13 +00:00
glass
0e0edb559f now you too can partake in this offense against any higher being there
may be.  basically to find out whether nfsserver support is in the kernel
earlier and thus avoid the loop problem, call nfssvc() with a bogus fd and
see whether you get a -1 return value or a SIGSYS...
1993-05-11 07:14:24 +00:00
cgd
318000897b fixe for uninitialized variables, from 386bsd patchkit patch #111 1993-05-07 05:16:15 +00:00
deraadt
46c2563196 Added another sunos-ism: ifconfig -a 1993-05-04 09:26:52 +00:00
cgd
24c0b3449f fixed:
SLATTACH hangs up on connect to modem port
reported by: bugs@rafal.slip.uiuc.edu
1993-04-28 23:13:37 +00:00
cgd
b740fbac92 bsd->netbsd 1993-04-28 06:37:52 +00:00
cgd
1d3699fbdc i don't think we're in sys.386bsd any more... 1993-04-28 05:43:55 +00:00
cgd
71223b0548 kernel name is /bsd 1993-04-28 05:43:16 +00:00
cgd
6ebc3bcac9 changed to use new libcrypt scheme. 1993-04-26 14:54:38 +00:00
mycroft
62d8a597f9 Reenable building keywords.h dynamically. 1993-04-25 07:50:56 +00:00
mycroft
2c35f5c582 Compile X.25, OSI, and NS code. 1993-04-25 07:26:40 +00:00
mycroft
ad0e69d5b0 Don't build man page if NOMAN set. 1993-04-25 06:58:16 +00:00
mycroft
6e9066169f Fix message. 1993-04-20 10:05:22 +00:00
mycroft
37c185dac7 Don't dereference NULL pointer. 1993-04-20 09:30:45 +00:00
mycroft
3f2c883b20 Don't overrun end of argv. 1993-04-20 09:07:41 +00:00
mycroft
db1e3ba015 Cleanup for GCC 2. 1993-04-18 19:02:31 +00:00
mycroft
5ef591fb1b Okay, so I was confused (but only a little). 1993-04-18 18:56:24 +00:00
mycroft
5554f0dc1c Make rrestore target match normal program target.
(This should be in a separate directory, no?)
1993-04-18 18:52:48 +00:00
mycroft
ac2b12c76f Don't mix ANSI and pre-ANSI varargs. 1993-04-18 18:46:43 +00:00
mycroft
4c972f9662 Make rdump target match normal program target.
(This should probably be in a separate directory, no?)
1993-04-18 18:39:26 +00:00
mycroft
c1d3c01291 Cleanup for GCC 2. 1993-04-18 18:14:35 +00:00
cgd
e17cdf070b added -DNFSSERVER to makefile. another point for glass. 1993-04-12 19:31:40 +00:00
cgd
9c7a811a01 fixed NFSCLIENT problem. 1993-04-12 18:22:27 +00:00
cgd
766c70273a forgot semicolon => syntax error. stupid error, glass... 1993-04-11 17:33:43 +00:00
cgd
2357a0fbaa make user the cat5 dir exists before trying to install man page there. 1993-04-10 20:17:42 +00:00
glass
58b3b35fa9 doesn't core when nfsclient support is not in kernel 1993-04-10 20:16:13 +00:00
glass
cf30e49568 doesn't core when nfsserver support is not in kernel 1993-04-10 20:16:04 +00:00
cgd
457f9a0db1 fixed bug that i created when updating for new entries 1993-04-09 23:13:38 +00:00
cgd
6f9402e83b ported from Net/2. (patch 111) 1993-04-09 19:25:07 +00:00
cgd
ae77b4fb1c written by Paul Popelka. mounts pcfs MS-DOS filesystem. (patch 111) 1993-04-09 19:24:39 +00:00
cgd
3a05a908df added a 386bsd fdisk program, by julian elischer. (patch 111) 1993-04-09 19:23:56 +00:00
cgd
f3c8382ef8 added mount_pcfs, quotacheck, and fdisk. fdisk is i386 specific.
(patch 111)
1993-04-09 19:23:22 +00:00
cgd
564a27b415 from patch 110, by bostic:
dump not mapping last inode in fs
1993-04-09 12:29:06 +00:00
cgd
31bc51cdec make it copy when installing 1993-04-08 14:13:46 +00:00
cgd
e318f3396e make install copy 1993-04-08 13:53:28 +00:00
cgd
e43b6d9d27 patched w/changes from blymn@mulga.awadi.com.AU (Brett Lymn) to
fix things like flow control support, SLIP option support etc.
1993-04-08 04:15:41 +00:00
cgd
c454963975 added console security, if SECURE_CONSOLE defined in makefile,
and console not secure in ttys
1993-04-06 19:33:33 +00:00
cgd
3e510d3b79 made link to chgrp relative 1993-04-05 03:42:43 +00:00
cgd
aac2114a43 moved chown into sbin from usr.sbin 1993-04-05 03:40:06 +00:00
cgd
7387d068cd merged version of mount_fdesc and mount_kernfs 1993-03-28 03:19:38 +00:00
cgd
80d7372ffa merged mount_fdesc and mount_kernfs into mount_miscfs 1993-03-28 03:17:02 +00:00
cgd
fae5aad9fc restore didn't understand dirs which spanned more than one volume.
fixed by patch from Gene Stark (gene@stark.uucp).
1993-03-25 05:41:59 +00:00
cgd
e436731db6 added support for mount_kernfs and mount_fdesc 1993-03-23 23:53:04 +00:00
cgd
adfcb79c96 added secure init patch 1993-03-23 08:17:35 +00:00
cgd
06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd
346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd
e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00