Commit Graph

126360 Commits

Author SHA1 Message Date
itojun d6c33e0ef5 kill a sprintf 2004-04-21 19:10:31 +00:00
christos f29f4783da constification lossage (hi gimpy) 2004-04-21 19:01:17 +00:00
itojun d2f1c029b9 kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
dbj 48019a3a47 simply logic and flow of check_part function 2004-04-21 18:27:26 +00:00
itojun e133d13e80 kill some strcpy 2004-04-21 18:16:14 +00:00
cl a01e0b0219 parse bootdev parameter for partition and set booted_partition accordingly 2004-04-21 18:06:51 +00:00
dbj 1b003e4b0c abstract superblock field reading into shell function 2004-04-21 18:06:06 +00:00
itojun 4c6511de84 avoid unbounded sprintf(), use snprintf() 2004-04-21 18:03:13 +00:00
itojun 0f06e31eb6 no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
itojun d66a0005a1 sprintf -> snprintf 2004-04-21 17:45:38 +00:00
drochner c6bba42c07 initialize the lock 2004-04-21 17:38:48 +00:00
cl ff6c26a333 - setup vfr rules when running as domain-0
- patch ethernet address if running as domain-0 so that arp can work

also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
dbj 115f147f20 add function for reporting verbose messages 2004-04-21 17:26:42 +00:00
dbj 496faa9025 tweak return value of check_part function 2004-04-21 17:07:47 +00:00
dbj 324ebbbef7 some minor shell programming tweaks recommended by christos
use [ -n ] instead of [ ! -z ]
use $() instead of ``
use just "$@" instead ${1+"$@"}
2004-04-21 17:02:41 +00:00
dbj bbf17112c5 use shell constructs and cat instead of sed since
sed may not be available early in the rc.d sequence
2004-04-21 16:12:31 +00:00
christos fced18d9f6 fix constification botch. (hi gimpy) 2004-04-21 15:51:22 +00:00
christos 02d8761f8f No need for extra copy of umount.c 2004-04-21 15:22:10 +00:00
christos 330d7c9870 un-__P 2004-04-21 15:21:44 +00:00
christos ba0b3992d2 add #ifdef SMALL so that we can use this in the install media. 2004-04-21 15:20:40 +00:00
drochner 3874dc0ca9 defopt COMPAT_20 2004-04-21 12:44:13 +00:00
cl 3ba9d3ae38 don't crash when changing/adding ip addresses 2004-04-21 12:43:43 +00:00
wiz 55bf8ce8b5 Refer statvfs instead of removed statfs. 2004-04-21 12:22:27 +00:00
wiz 9567493662 Whitespace nits; expand an abbreviation; fix a minus;
remove a superfluous .It.
2004-04-21 12:20:48 +00:00
wiz 3274408555 Whitespace nits; fix a minus; remove unnecessary {}. 2004-04-21 12:18:23 +00:00
wiz 1c276b3fae Mark up NULL, and fix a minus. 2004-04-21 12:16:00 +00:00
cl b5acdb9f14 cleanup debugging printf's 2004-04-21 12:14:45 +00:00
wiz bb32d7ba63 Drop trailing whitespace. 2004-04-21 12:10:36 +00:00
christos 0b9201b140 similar fix to enami's in the fstypename field. Not really needed, but better
safe than sorry.
2004-04-21 12:00:36 +00:00
christos 22df5bb240 try to make this compile. XXX: this will not work yet (hi simon) 2004-04-21 11:50:26 +00:00
wiz 6cbd2718d7 Use mdoc macros instead of roff to mark up table;
mark up some more stuff.
2004-04-21 11:45:42 +00:00
enami d92f7ed982 Don't copy past the end of destination array boundary; the size of source
array changed due to recent statvfs change.
2004-04-21 07:58:02 +00:00
simonb b81e6f2ef6 ANSIfy, some KNF. 2004-04-21 07:05:07 +00:00
jdc eb71bd67da Add missing mvin* and mvwin* manual pages. 2004-04-21 06:24:32 +00:00
simonb 0495170a7a Fix some statfs->statvfs fallout. Compile tested only... 2004-04-21 05:20:27 +00:00
matt e3b919c754 Constify if.c radix.c and route.c (and fix related fallout). 2004-04-21 04:17:28 +00:00
kim 293fb86ada Formatting tweaks to make things line up yet not have columns
run into each other.  Fix one typo while here.
2004-04-21 02:46:34 +00:00
christos 90345b38a6 add sys/dirent.h 2004-04-21 02:40:42 +00:00
christos 34728fd71f more statvfs1 fallout. 2004-04-21 02:40:05 +00:00
christos 4bdb80839b add sys/dirent.h 2004-04-21 02:38:16 +00:00
christos 36d3802e0f fix more statvfs1 fallout 2004-04-21 02:37:20 +00:00
matt af6ed48cd8 Remove non-__STDC__ code. 2004-04-21 02:33:28 +00:00
matt 7836b0179d Don't declare prurequests or tcpstates. Let them come in from the
appropriate include files.
2004-04-21 02:30:56 +00:00
matt 1e2af75b25 Constify the request arrays and define in _KERNEL. 2004-04-21 02:30:13 +00:00
christos 5ccca4a99a s/statvfs/statvfs1/ 2004-04-21 02:27:34 +00:00
christos baf95c5d08 use VFS_MAXFIDSZ 2004-04-21 02:22:49 +00:00
christos 4a16c676d7 Add a define for VFS_MAXFIDSIZE 2004-04-21 02:21:49 +00:00
wiz 6c1c771fcd Less modesty, christos! 2004-04-21 01:10:25 +00:00
christos 4cad55e29b mention statvfs. 2004-04-21 01:07:35 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00