Commit Graph

407 Commits

Author SHA1 Message Date
luigi
de14294d19 comment out the 'sshd' entries as the image is now 1460KB
and does not fit into a floppy anymore (1403kb available).

There is not much you can do now except bumping up the image size
(by uncommenting the "fd_size=2880" line in ./config),
at which point you can uncomment sshd, the associated library,
and all the good stuff such as tcpdump and natd and ppp that
you might want on such a box.

A similar change should be applied to other picobsd image types.
2003-06-22 15:37:14 +00:00
luigi
5ef90f5f23 Make this compile again: we need to specify a scheduler,
and remove the count for devices "sc" and "atkbdc"

This change does not apply to RELENG_4.
2003-06-22 15:32:09 +00:00
markm
af10c47d96 We no longer have KerberosIV. Remove it here also. 2003-04-30 17:50:08 +00:00
dwmalone
8c4ce3ec4f Don't forget to send the Content-length header after calculating it.
PR:		29725
Submitted by:	Eugene Grosbein <eugen@svzserv.kemerovo.su>
2003-04-05 17:15:38 +00:00
dwmalone
0b435ab28a More warns cleanups and misc cleanups:
1) Make fetch_mode a pointer 'cos we can just use the optarg.
2) Constness.
3) Add/complete prototypes.
4) Change an int to a socklen_t.
5) Don't use C++ style comments.
6) Check return values from read and fork a little more carefully.
7) Avoid closing an uninitialised int.
8) Get rid of unneeded extern declarations.
2003-04-05 15:27:27 +00:00
dwmalone
129be1daea Don't return with a value in a void function.
Pass a time_t rather than a long to time.
2003-03-13 22:06:10 +00:00
luigi
88bebeaac6 Upgrade the root partition mount to r/w before trying to write to it.
MFC after: 3 days
2002-11-17 20:19:34 +00:00
alfred
48fe919d3e de-__P() 2002-10-10 00:32:55 +00:00
markm
4b4bdaaf37 Fix some bitrotted documentation. 2002-09-24 13:34:36 +00:00
luigi
aed4b3d58b Make this compile again (libgmd now is a port, and remove some
binaries to save space).
2002-08-24 03:54:38 +00:00
luigi
0534775ff9 Mention the special pathname @__CWD__@
Modify entry for libgmd (used by ssh) now that it is not part of the
base system anymore.
2002-08-24 03:33:31 +00:00
luigi
745a7b1537 Add "tty" entry. 2002-07-14 14:18:16 +00:00
luigi
1a2442c7c1 Add entry for the "screen" program. 2002-07-14 14:17:28 +00:00
luigi
760fc742c8 Not needed anymore. 2002-07-14 12:09:33 +00:00
luigi
c94e4ee107 Replace a logverbose call with log 2002-07-14 12:07:06 +00:00
luigi
f6c6028862 Enable building of picobsd using CURRENT sources again.
Following a suggestion by Ruslan, the initial creation of the
includes and libraries (and build tools) is now done by
invoking "make buildworld" (with -DPICOBSD which eventually will
limit the amount of stuff built with a 2-line change in Makefile.inc1).
The correct environment is then used for subsequent builds.

Also remove write_mfs_in_kernel.c in favour of using dd

All the above is conditional on __FreeBSD_version, as the previous
method still worked for versions earlier than 500035, and I am
unsure on how the "new" method works for earlier versions.

Finally, note that the crunch.conf files need some work because
some libraries (e.g. gmd) have gone away from the base installation.
2002-07-14 09:07:13 +00:00
luigi
a40b6ee161 Move creation of password databases before starting daemons,
otherwise the latter might fail because userids are not found.
2002-07-01 21:30:39 +00:00
mckusick
88d85c15ef This commit adds basic support for the UFS2 filesystem. The UFS2
filesystem expands the inode to 256 bytes to make space for 64-bit
block pointers. It also adds a file-creation time field, an ability
to use jumbo blocks per inode to allow extent like pointer density,
and space for extended attributes (up to twice the filesystem block
size worth of attributes, e.g., on a 16K filesystem, there is space
for 32K of attributes). UFS2 fully supports and runs existing UFS1
filesystems. New filesystems built using newfs can be built in either
UFS1 or UFS2 format using the -O option. In this commit UFS1 is
the default format, so if you want to build UFS2 format filesystems,
you must specify -O 2. This default will be changed to UFS2 when
UFS2 proves itself to be stable. In this commit the boot code for
reading UFS2 filesystems is not compiled (see /sys/boot/common/ufsread.c)
as there is insufficient space in the boot block. Once the size of the
boot block is increased, this code can be defined.

Things to note: the definition of SBSIZE has changed to SBLOCKSIZE.
The header file <ufs/ufs/dinode.h> must be included before
<ufs/ffs/fs.h> so as to get the definitions of ufs2_daddr_t and
ufs_lbn_t.

Still TODO:
Verify that the first level bootstraps work for all the architectures.
Convert the utility ffsinfo to understand UFS2 and test growfs.
Add support for the extended attribute storage. Update soft updates
to ensure integrity of extended attribute storage. Switch the
current extended attribute interfaces to use the extended attribute
storage. Add the extent like functionality (framework is there,
but is currently never used).

Sponsored by: DARPA & NAI Labs.
Reviewed by:	Poul-Henning Kamp <phk@freebsd.org>
2002-06-21 06:18:05 +00:00
luigi
3c1b590b17 Add a few files which are needed to build "passwd" now that
the standard version of these files have been PAMified (and axed).
2002-06-20 21:17:33 +00:00
dd
1a506b7f47 sysctl -w -> sysctl 2002-05-11 06:06:11 +00:00
luigi
2bc8601c9e Bring in a slightly older version of usr/bin/passwd which does not
require libpam and all the libraries that libpam brings in.
We have no room for those on picobsd images.
2002-05-05 20:43:27 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
ru
a40e88df53 Record libtelnet.a death. 2002-04-19 12:39:09 +00:00
ru
54bcb55671 Align for const poisoning in -lutil. 2002-04-08 11:07:51 +00:00
ru
655eb3fb4f Synch with login/login.c,v 1.81: Switch to OpenPAM. 2002-04-08 10:58:01 +00:00
luigi
e6465566f6 Fix handling of undefined variables.
Add override for /etc/rc.local .
Add hook to start syslogd if compiled-in and /etc/syslog.conf exists
2002-04-07 20:41:09 +00:00
asmodai
6a6580e549 Add a missing void in the parameter list of http_request(). 2002-04-07 17:42:27 +00:00
asmodai
ffbac76a7e Give functions proper return type, since the default is an integer, where
the author obviously meant a void since he doesn't return any values.

One caveat, http_request has three return()'s, but doesn't do anything
with it.  Either the code needs to be rewritten to take care of proper
error handling on that point, or the returns ripped out.  I made it void
for now.
2002-04-07 17:41:33 +00:00
asmodai
b88a08173b Use %lld instead of %d in order to print struct stat's st_size, which is
an off_t.

PR:		29725
Submitted by:	Eugene Grosbein <eugen@svzserv.kemerovo.su>
2002-04-07 17:22:23 +00:00
asmodai
dd9f8f3445 Garbage collect unused variables.
PR:		29725
Submitted by:	Eugene Grosbein <eugen@svzserv.kemerovo.su>
2002-04-07 17:16:28 +00:00
asmodai
922292c1c5 Actually print the port we are listening too when specified verbose mode.
PR:		29725
Submitted by:	Eugene Grosbein <eugen@svzserv.kemerovo.su>
2002-04-07 17:07:37 +00:00
abial
8682302fbd Function declared void shouldn't return any value... 2002-03-27 20:10:53 +00:00
phk
811d04c86c Modernize my email address. 2002-03-25 13:52:45 +00:00
luigi
292f82a709 Add a few popular entries. 2002-03-24 21:13:53 +00:00
ru
6740a56f48 DESTDIR does not anymore does the -I${DESTDIR}/usr/include magic
in <bsd.prog.mk> and <bsd.lib.mk>.

Reviewed by:	luigi
2002-03-22 18:36:41 +00:00
luigi
32cb7030ba Gracefully exit when no MFS signature is found in the kernel.
Add support for a new "import_files" option (see manpage for details).
2002-03-21 03:15:06 +00:00
luigi
6d841eb679 Batch of fixes to the configuration files from Bruce Montague 2002-03-15 08:46:18 +00:00
luigi
5c52748eb6 Make this compile again
Reported-by: Bruce Montague
2002-03-11 08:03:50 +00:00
luigi
04d8a3dc77 Make this compile again (increase MFS size, remove invalid option).
Reported-by: Bruce Montague
2002-03-11 08:03:07 +00:00
luigi
145ec650e8 Fix detection of existing ssh host key, generate the new one
in floppy.tree instead of mfs_tree.

Do not cleanup ${BUILDDIR}/floppy.tree, it might be useful to look
at it after an image has been built.
2002-03-11 05:54:22 +00:00
luigi
2f70b8739d Make appropriate changes to use devfs.
Add a reference to the fd_size variable to set floppy size.
2002-03-11 05:46:18 +00:00
luigi
c41381fd39 Default to ee as EDITOR (some apps such as disklabel default to "vi"
which is not available).
2002-03-11 05:42:14 +00:00
luigi
5f22dca4bb Use machdep.guessed_bootdev to guess the boot device. 2002-03-11 05:15:44 +00:00
luigi
837ffe4451 CURRENT has devfs, so we do not need to specify what devices we
want on the MFS image. Update the config files accordingly.
2002-03-10 21:12:23 +00:00
luigi
bf24f7e68a Uncomment the entry for a getty on the serial port. Boxes with
a serial console can make use of it.
2002-03-10 21:11:35 +00:00
luigi
b979035403 Add back the "sis" driver, we had some room left... 2002-03-10 21:10:25 +00:00
luigi
58e10953a4 With devfs, we do not need to initialize pty's permissions. 2002-03-10 20:47:26 +00:00
luigi
8546115965 The probable boot device is "machdep.guessed_bootdev". 2002-03-10 20:37:04 +00:00
luigi
2731e7d254 Remove host.conf, and introduce a way to override the content
of selected files (at the moment /etc/host.conf and /etc/resolv.conf)
from /etc/rc.conf , so the number of places to customize is
reduced.
2002-03-09 18:27:02 +00:00
luigi
92d4835f65 Nuke abandoned configuration. 2002-03-09 08:28:11 +00:00