History log of /freebsd-9.3-release/usr.sbin/sysinstall/misc.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 209359 20-Jun-2010 randi

Clean up item_add and remove -fno-strict-aliasing from CFLAGS. Note that
the "aux" value in libdialog is really an opaque pointer, but libdialog
stores it as a long for historical reasons.

Approved by: cperciva (mentor)


# 160380 15-Jul-2006 simon

Add FreeBSD version information to the menu title so it's possible to
see which release you are installing (really which FreeBSD version the
installer is running, but that shouldn't matter in all normal cases).

PR: bin/100309
Submitted by: Joao Barros <joao.barros@gmail.com> (original version)
Idea from: FreeBSD ideas page
MFC after: 1 week


# 108804 06-Jan-2003 obrien

save_realloc() should use reallocf() to close memory leaks.
item_add() should use safe_realloc() as it does no error checking itself.


# 107525 02-Dec-2002 marcel

ia64 specific.
o Mount the EFI file system as msdosfs and not ufs as it's a FAT
file system. Introduce Mount_msdos() for this to go side-by-side
with Mount().
o Also, since mounting is performed as a command (which means it's
queued, sorted, lost, found and executed), we cannot create a
directory on the file system by calling mkdir. We must make sure
the mkdir happens after the mount. Introduce Mkdir_command() to
allow mkdir operations to be queued, sorted, lost, found and
executed as well.

Approved by: re (jhb, rwatson)


# 83842 22-Sep-2001 murray

Silence warnings :

Use static as necessary.
Use __unused as necessary.
sizeof(int) != sizeof(void *)


# 53748 27-Nov-1999 phk

Remove BAD144 support.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 34679 19-Mar-1998 jkh

Add noatime option to new filesystems to speed up initial extraction.
Suggested by: bde


# 32567 16-Jan-1998 jkh

Adapt to new mount(2) argument syntax.
Submitted by: bde


# 30956 05-Nov-1997 obrien

MFS.


# 26598 13-Jun-1997 jkh

YAMF22


# 24597 03-Apr-1997 jkh

Make all this work under -current again.
Submitted-By: Chuck Robey <chuckr@glue.umd.edu>


# 23588 09-Mar-1997 jkh

Add a registration screen so we can finally start counting our little user
puppies.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22931 19-Feb-1997 jkh

ARGH!! Fix obligatory 12th hour fumble. :-(


# 22868 18-Feb-1997 jkh

Don't use /mnt in multi-user mode if we're installing a new filesystem.


# 22099 29-Jan-1997 jkh

Fix broken layout help (this is what broke the TCP help screen).
Allow DITEM_NO_ECHO to be encoded in layout field types and make
user.c use it for the password item.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21243 03-Jan-1997 jkh

Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them. Also reorganize includes and generally clean up.


# 20569 16-Dec-1996 jkh

1. Engage brain. 2. Write macro. Previous commit attempted to perform
2 before 1.


# 20377 12-Dec-1996 jkh

Add some additional smarts for XFree86 configuration.
Fix a bogon I thought I fixed in the last commit.


# 20331 11-Dec-1996 jkh

Be more efficient in how we use memory (stumbled across while looking for
something else) for attributes and variables.

Remove stack-stomper in sstrncpy().


# 20247 09-Dec-1996 jkh

As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it. Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>


# 17034 09-Jul-1996 jkh

A number of improvements in the way statistics are printed, add a "chroot"
option for installing distributions and/or packages to somewhere other than /,
say for a case where you're installing to an external disk on some other
machine's behalf. More miscellaneous fixes to various problems I stumbled
across while adding this stuff.


# 17005 08-Jul-1996 jkh

Whoops! Now that I'm decompressing docs into /tmp, it's important to
make sure that /tmp is there first! :-) While I'm at it, clean up the
somewhat inexplicably bogus Mkdir() function.


# 16718 25-Jun-1996 jkh

Make "Fake" turn off more potentially system-nuking options.


# 16462 17-Jun-1996 jkh

Init network at proper time.


# 15419 28-Apr-1996 jkh

Fix an ancient index list bug.
Make FTP re-initializion work.
Fix fix fix.


# 15355 22-Apr-1996 jkh

Bring this into sync.

I still have a _very very annoying_ display bug which occurs when a menu
item causes a submenu to be displayed - the screen repaints for the original
menu (which is restored upon return from the submenu) are off by about 4
characters. I've tried restoring the screen, the cursor position, you name
it - same deal. Grrrr! This commit is my first step in trying to get someone
else to help me look into this one since I'm just tearing my hair out at this
point!


# 15242 13-Apr-1996 jkh

1. Update all the copyrights to delete useless clauses 3 and 4.
2. Change more of the menu code over to new system.
3. Streamline label editor.


# 14670 18-Mar-1996 jkh

Lots of fixes:

1. Revamp package installer to use new dependency lists and also
pkg_add's new `read from stdin' mode to prevent a copy of the package
from hitting the disk unnecessarily.

2. More fixes for running "not as init" - don't get upset if CDROM already
mounted, do the right thing instead.

3. If running as init, assume first-time install and _don't show the
(W)rite option in the fdisk screen.

4. Many other little tweaks, some of which will have to wait for fuller testing
until I can create a boot floppy (testing certain system-destroying
features of sysinstall can be a royal pain). Expect some more commits.


# 13428 14-Jan-1996 phk

Mount the disks we install on async, we might as well.
Saves a lot of time.


# 12661 07-Dec-1995 peter

Update the -current sources from the 2.1 branch.

Approved (in spirit) by: jkh


# 9202 11-Jun-1995 rgrimes

Merge RELENG_2_0_5 into HEAD


# 8881 30-May-1995 rgrimes

Remove trailing whitespace.


# 8837 29-May-1995 jkh

Sync up my work for the night. This should implement ALL possible
installation methods and provide a fairly robust set of menu options.
This should also fix a few more bugs on Poul-Henning's latest gripe
list.


# 8739 24-May-1995 jkh

Put back some changes that were smashed in yesterday's release tree
shoot-down.


# 8709 23-May-1995 jkh

Add my first cut at TCP/IP device configuration. If this works, the
ftp installation method should now function. We'll know as soon as my
make release builds the floppies. I'm just committing this out of my
release tree now so that it doesn't get clobbered again.


# 8607 18-May-1995 jkh

Fix quoting error.


# 8606 18-May-1995 jkh

I had the arguments to Mount() backwards. Argh.


# 8556 16-May-1995 jkh

This will now compile and even scribble helpfully on your disks.
It remains to be seen how successfully. The distribution loading code
is still not here yet, but the partition/newfs/mount/cpio-extract cycle
is as complete as it's ever going to get, modulo possible bug fixes.
The TCP/IP setup screen is also sort of here, albeit in a highly-changing
state due to the fact that per-interface information isn't being kept
right now but is being added (thanks, Gary!).


# 8363 08-May-1995 jkh

Sync these up so that they'll get into my CVS tree at home, where I'll continue
working on the distribution extract stuff.


# 8208 01-May-1995 jkh

Commit my latest changes before having a nap. Still not close to done,
nor is it in sync with my working sources, but it leaves me less CVS hassles
to bring in the new files at this time. Still no documentation to translate
quite yet, but soon. This stuff is actually very close now.


# 8174 29-Apr-1995 jkh

o Add extra menu types (radio implemented, multiple choice shortly).
o Make the framework generally more robust.
o Figured out how to nest the menu descriptions - no more grotty initialization
of menus.
o Fix bug with helpline and helpfile not being reset.
o Add stubs for the media selection code.

Coming next: Fdisk and disklabel screens using Phk's new libdisk stuff.


# 8098 27-Apr-1995 jkh

This commit was generated by cvs2svn to compensate for changes in r8097,
which included commits to RCS files with non-trunk default branches.


# 8097 27-Apr-1995 jkh

Here is my first "framework" commit of the new sysinstall. There is a LOT
more to come in the next 24 hours, this is just the first stable result of
8 hours of hacking so far. The specification format for menus is pretty
much hammered out and the beginnings (very humble) of the doc hierarchy
are present for an example. It should be quite easy to add a lot more
menus quickly to this since I did go somewhat out of my way to make the
framework easy to work with. This is NOT the glorious semi-graphical
sysinstall (or whatever its name will be) that the install-geeks are working
on, this is simply the "son of sysinstall" I've been promising to write in
the interim for 2.0.5 and 2.1R (super install doesn't come until 2.2R).