Commit Graph

418 Commits

Author SHA1 Message Date
bde
5c099a964c Don't allow the alternate superblock block number for one file system
to apply to others (except when it is given on the command line).
1995-02-09 15:58:31 +00:00
ugen
80de10dd9c Ok..at least this man page is up to date now
To be continued..
1995-02-09 13:13:18 +00:00
phk
88fa097b58 Allow zero as value for certain arguments to indicate "take from disklabel". 1995-02-05 18:03:37 +00:00
phk
f3be06362e Change the defaults for newfs to disregard the geometry in the disklabel.
We pretend we have one head with two megabyte worth of sectors per cylinder.

The code try to access another head in what it belives to the same
physical cylinder, because it belives that it would be faster than
waiting for the next free sector under this head to come around.

Most modern drives doesn't have a "classical" geometry, and thus
we end up fooling ourselves doing the above optimization.  With this
change we will fill a cylinder sequentially if we can, and thus get
much more mileage from the track-buffer/cache built into the drives.

As a result a lot of seeks to the next or previous track should be
avoided by this.

(My disk is a lot less noisy actually...)

You can still get the old behaviour, by specifying zero for the
numbers.

This will also solve the problem with newfs barfing at really big
drives.

Obtained from:	adult advice from Kirk.
1995-02-05 08:42:31 +00:00
jkh
3e44350f15 Bump the date to February 2nd. 1995-02-02 08:32:11 +00:00
jkh
9fa893b664 Mkdir() now takes two flags. 1995-02-02 05:49:06 +00:00
phk
28e440fd71 Make dirs for msdos fs's. 1995-02-02 05:35:36 +00:00
jkh
01be8a1a70 Do what I think Poul *intended* to do, rather than what he did.. :-) 1995-02-01 11:15:45 +00:00
jkh
c766e4d1a4 Bump snap date. Our current version numbering scheme loses.
How can we get ONE canonical version string into everything?
1995-02-01 11:03:35 +00:00
phk
9f0a17dbb2 I have taken sysinstall out of the normal SUBDIR rule. There are too
many build problems just now, and it isn't that general after all.
1995-01-31 19:41:08 +00:00
dfr
e6dda6d3d5 Add support for kerberised NQNFS.
Reviewed by:
Submitted by:
Obtained from:
1995-01-30 19:18:11 +00:00
dfr
4ae95525d6 Add support for kerberised NQNFS. 1995-01-30 18:56:06 +00:00
phk
5da6d72e0b Move the real kernel onto the cpio.flp and read this from the boot.flp
make debug handling with serial console obnoxious, but present.
1995-01-30 03:19:58 +00:00
phk
7199f4d8dc Some cleanup done.
Include bteasy, bootsd, sdboot and termcap entries using file2.c

Remove all traces of "termcap.small".

The policy in this program regarding termcap is:

| If $TERM is set
| 	do nothing special, rely on usual termcap.
| else
| 	use compiled in (via file2c) termcap entries
1995-01-29 02:31:38 +00:00
ats
d088957441 fix another bug in the MAKEDEV cludge :-). The x-bit permission are not
necessarly copied over. So better call it explicit with a sh ./MAKEDEV .
1995-01-29 01:45:54 +00:00
ats
4409083679 Correct the relative path for the etc directory in the makedev cludge :-). 1995-01-29 01:25:17 +00:00
jkh
011a8b78ff Less kludge dev. 1995-01-28 09:17:58 +00:00
jkh
d1582b8e3a A different kludge for /dev 1995-01-28 09:16:41 +00:00
jkh
fe0a504c2b Poul lost his copy of K&R again - add a semicolon to the end of the
preceeding statement..
1995-01-28 05:00:50 +00:00
phk
a9ff763a3b Update to BTEASY 1.7
Submitted by:	vak
1995-01-28 04:42:08 +00:00
phk
5eca39107f Make Jordan a little happier by fixing a couple of bogons. 1995-01-28 04:35:05 +00:00
jkh
0b97346fe6 Bump the date again - the snapshot doesn't look like it's going to happen until
tomorrow.. :-)
1995-01-28 01:14:39 +00:00
jkh
22ae6b3e5f Call the bininst.sh script by its new name. 1995-01-28 01:13:29 +00:00
dg
05e6d3db11 Kill used "error" variable. 1995-01-27 23:26:53 +00:00
dg
aff0ac7fd7 Fixed bogus error reporting when the failure is RPC related ("Address
already in use", instead of "Permission denied").
1995-01-27 23:24:33 +00:00
jkh
8150a31389 Tweak SNAP date. 1995-01-27 19:56:56 +00:00
dufault
34ecc54a2c Fix verbose printout of "" name 1995-01-26 23:40:40 +00:00
ache
98ff5a82cf Sync with main termcap 1995-01-26 08:51:52 +00:00
jkh
e5245c175c Add a reference to ft(8). 1995-01-26 00:34:56 +00:00
jkh
3b8f9f3b9a Add pointer to the `ft' command. 1995-01-26 00:32:58 +00:00
ache
e9afac40c9 DPADD added 1995-01-25 20:25:57 +00:00
dufault
f5abb7313b Added "scsi" 1995-01-24 12:08:15 +00:00
dufault
6b93b57e13 This commit was generated by cvs2svn to compensate for changes in r5843,
which included commits to RCS files with non-trunk default branches.
1995-01-24 12:07:27 +00:00
dufault
2b302b8741 Submitted by: Julian Elischer and Peter Dufault
Obtained from: 1.1.5

"scsi (8)" from 1.1.5, with added support for any command from
the command line.
1995-01-24 12:07:27 +00:00
bde
addc929715 Use the correct include path if there's an obj directory. 1995-01-24 06:10:48 +00:00
ugen
5de334c990 Add dset to Makefile. 1995-01-23 15:45:41 +00:00
ugen
6ce7502ad0 src/sbin/dset
*blush* this is the commit i meant to do before..
Utility to save device configuration.
1995-01-23 15:42:59 +00:00
wollman
c443b655cf Make modload more informative about errors encountered while running
`ld' by calling execl() directly rather than using system().
1995-01-23 04:08:00 +00:00
wollman
47c6f0361a Document the requirements of dynamic loading on mounting order. Cross-ref
to vfsload(3).
1995-01-22 22:54:56 +00:00
ache
b35d573109 Reflect lastest termcap changes 1995-01-19 17:15:54 +00:00
joerg
7c98836d83 Should that last sentence read "...thus a full dump must be done...",
or do I have it all wrong?

Submitted by:	"Shawn M. Carey" <smcarey@mailbox.syr.edu>
1995-01-18 19:26:14 +00:00
joerg
7b3f6414f5 Removed the comment about missing support for the original "High
Sierra" format from the bugs section.
1995-01-16 17:05:44 +00:00
jkh
e1791b06e3 Make sure a partition we're about to mount on will always exist on the
user's system.  Make Mkdir() selectively not die in case of failure.
1995-01-14 10:31:29 +00:00
jkh
65615239a4 Correct positioning of text, update version. 1995-01-14 07:30:30 +00:00
jkh
0a93efad73 Recognise Linux filesystems.
Submitted by:	remy
1995-01-14 02:26:07 +00:00
jkh
5f4e772ef8 Correctly recognise Linux partitions.
Submitted by:	remy
1995-01-14 02:25:36 +00:00
jkh
7e84fde7fb Patch from Remy Card for bogus path in Makefile. 1995-01-14 02:20:42 +00:00
joerg
0cd8c74ee0 Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed.  Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
ugen
e681bf4b48 Utility changes following the facility.
We have only one firewall chain and one accounting chain now.
   No blocking/forwarding so commands changed.
Man pages are somewhat out of date and will be updated ASAP.
1995-01-12 13:01:21 +00:00
ache
6cbf9ac3bb Add better argument handling
Submitted by: jmz
1995-01-10 21:19:57 +00:00
bde
514cb70f5e Remove excessive argc checking. It was impossible to set `dtrwait' and
and `drainwait' in a single command.
1995-01-10 01:42:24 +00:00
ache
a8479792d7 Fight agaist hanging modems: add new drainwait option.
Reviewed by: Bruce
1995-01-05 00:03:06 +00:00
gibbs
e9de78da56 Honor the values for bsize, fsize and bps from the disklabel. 1995-01-04 23:50:30 +00:00
gibbs
0df1a28aca Allow for the specification of bsize, fsize, and bps (blocks per segment)
for LFS filesystems.
1995-01-04 23:49:51 +00:00
joerg
d6efd109b7 The -N option takes one argument, hence the getopt control string
needs to have a colon for it.  Looks like nobody has tested this
so far.
1995-01-02 12:08:06 +00:00
jkh
571bcca723 Tweak the man page too. 1994-12-30 22:51:33 +00:00
jkh
19e605aa04 From: Wankle Rotary Engine <wpaul@skynet.ctr.columbia.edu>
- The -a flag now works just as it does in SunOS: '-a' is actually
  handled like a wildcard for all interfaces. 'ifconfig -a' displays
  the status of all interfaces, 'ifconfig -a netmask 0xffffff00' sets
  the netmask of all interfaces, and so forth. I don't know if many
  people really need to be able to set the netmasks of all interfaces
  at once, but the SunOS ifconfig seems to allow this, so there you
  have it.

- An 'ether_status' function has been added to display the ethernet
  address of all ethernet interfaces. Again, as in SunOS, you must
  be root in order for this to work. The ethernet address is read
  from /dev/kmem using kvm_open() and kvm_read(), much in the same
  was as it's done with netstat. If you choose to install ifconfig
  set-gid kmem then normal users will be able to see the ethernet
  address as well, though this may not be desireable. This feature
  requires a small change to the ifconfig Makefile: you need to link
  with -lkvm in order to use the kvm_*() functions.

Submitted by:	wpaul
1994-12-30 22:42:41 +00:00
jkh
8b2cef6b70 Bring the 2.0 RELEASE version back into -current. Now I just need
to resurrect my changes for the last snapshot, which were unfortunately
lost in a forest fire on time.
1994-12-27 23:26:59 +00:00
ache
6476aa24f1 Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
nate
7f56eb7b93 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
ugen
5a746995e3 Add interface to clear accounting entry option.
Reflect ip_fw structure changes.
1994-12-13 15:56:51 +00:00
ugen
d3899ce8a1 Add via option,minor changes to interface to reflect
internal firewall changes.Check option disabled temporary.
1994-12-12 17:19:33 +00:00
ache
7e73ded5b5 Fix resetting adjkerntz to 0 (pointed by Bruce),
forget to initialize mib variable.
1994-12-12 05:48:45 +00:00
ache
1ff1e1698a Optimize setting of DISRTCSET 1994-12-12 05:43:28 +00:00
ache
14cf84efe4 Clean internal logic, helps for some unusual cases 1994-12-12 05:20:44 +00:00
ats
963df32de3 Changed a sum(1) to a cksum(1). 1994-12-11 23:29:20 +00:00
ats
d879492c2b Changed a reboot(1) to a reboot(8). 1994-12-11 23:27:59 +00:00
ache
f9dc382f6c rc.local -> rc.serial
cua0? -> cuaa?
1994-12-05 19:52:29 +00:00
pst
5e1370a6d0 Fix spelling/grammar errors 1994-12-05 10:08:35 +00:00
jkh
813d1d8c36 Joe Greco <jgreco@brasil.moneng.mei.com>'s enhancements to startslip.
Submitted by:	jgreco
1994-12-04 12:26:01 +00:00
bde
7b75b11952 Fix another path that was broken by moving things to sbin/i386. 1994-12-04 08:01:24 +00:00
wollman
8192c613ef Move i386-specific programs into i386 subdirectory. 1994-12-02 23:53:23 +00:00
wollman
fa9f248392 This commit was generated by cvs2svn to compensate for changes in r4910,
which included commits to RCS files with non-trunk default branches.
1994-12-02 23:23:01 +00:00
wollman
02ba538e2e Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
1e6f21ed41 Cronyx/Sigma sync/async serial driver with PPP support
from Serge Vakulenko
1994-12-02 23:23:01 +00:00
wollman
17bb48fa11 Change obnoxious ``Not root dir'' error message into one which actually
tells you what's wrong.
1994-12-02 02:58:56 +00:00
dg
2350bbf295 In past releases of FreeBSD, I have used the exit status of "ping" to
determine whether a connection to a given machine is up or not.

In FreeBSD 2.0 (and therefore, I assume, BSD 4.4) the exit code of ping
is always zero, even if no packets were received.

I would like to propose the following change to /usr/src/sbin/ping/ping.c
to restore this useful behaviour:

Submitted by:	Denis Fortin
1994-11-29 16:09:56 +00:00
ugen
b682f16030 Interface changes to support additions to firewall. 1994-11-28 12:34:37 +00:00
ats
ffea1bbfcc Submitted by: M.C. Wong
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
1994-11-27 23:52:13 +00:00
ats
a686a27a88 Correct a litle typo in an error message: PRC -> RPC. 1994-11-26 13:57:46 +00:00
ache
1642397153 Sectors field too narow (6 digits only), increase it to 7 1994-11-24 21:56:03 +00:00
ache
da72abc9ca Fix draw_box dims 1994-11-24 21:50:26 +00:00
paul
4a8057be33 Added
CLEANFILES += makedevs.c
1994-11-22 13:34:43 +00:00
jkh
1e9b506674 ALPHA -> BETA 1994-11-21 07:38:48 +00:00
phk
c5ce0e844d Another absolute path... Two actually. 1994-11-20 23:01:27 +00:00
phk
00777402fa Guess what 1994-11-20 22:47:52 +00:00
phk
0f64dfe096 Whoops. 1994-11-20 22:46:14 +00:00
phk
4c0d04b7f5 I might soon stop to keep count of these... 1994-11-20 22:45:14 +00:00
phk
fd2550d3d3 And another absolute path -I :-< 1994-11-20 22:42:16 +00:00
phk
73136aa719 This time: an absolute -I :-< 1994-11-20 22:41:03 +00:00
phk
ef133122f9 fix another BLODDY ABSOLUTE .PATH !!!! :-< 1994-11-20 22:28:09 +00:00
ats
7fc3a47818 Add parameters "compress", "normal" and "noicmp" for the slip usage.
These names are used in the slip.hosts file as examples, but ifconfig
have formerly only accepted link0, -link0 and link1 for this.
1994-11-20 19:45:58 +00:00
ugen
695c3c825a G-d help me to do it right first time....
Minor patch to man page,test.
1994-11-20 11:53:06 +00:00
phk
bc27a932fa A couple of changes more. Now Paul & Jordan can play again... :-) 1994-11-20 00:49:21 +00:00
phk
f7ebe8faec Changes to match Pauls code. Had to "globalize" the variables for the
mountpoints.
1994-11-19 23:59:03 +00:00
paul
433a9ec864 Changed the MBR partition type field from being a string to
a decimal value.

I don't have the time to deal with users typing in partition names
such as "FreeBSD" at the moment so just allow the numerical id to be
specified for the moment.
1994-11-19 18:23:08 +00:00
nate
fff3236967 NetBSD -> FreeBSD
(Poul, bring this into 2.0 please)
1994-11-19 17:55:35 +00:00
paul
10b6f8dcf3 Implemented buttons for all the screens.
Could do with some cosmetic tuning regarding placement and things.

Fixed some dialog code (from Andrew).
Pass mountpoints onto stage2 in a struct fstab *mounts[]
Fix all the field connections to conform to the new L&F document.
1994-11-19 17:29:19 +00:00
paul
45071d7640 I hope this gets my changes merged back into the current branch.
Removed a layer of menus.
Auto select partition to install into -- first FreeBSD partition
in MBR table. Abort if no FreeBSD partition.
Added a F_BUTTON type.
Fixed up label editor to show free space properly.
Fixed a few bugs.
1994-11-19 05:20:13 +00:00
ache
36e48a1400 Insert newline into too long line 1994-11-19 00:17:55 +00:00