| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
digit beyond your time.
Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't strdup the name when calling deviceRegister because the string is
copied within new_device.
* Use a subtype of 165, not 3, when creating a slice in noninteractive
mode.
PR: bin/135333
PR: bin/66350
Approved by: rrs (mentor)
MFC after: 1 month
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
application. Reword the boot manager screen to try and avoid confusion.
Reviewed by: randi
Approved by: rrs (mentor)
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
to 'Expert Mode', to make it less confusing to new users, to whom
a 'wizard' is a set of simple dialogs with the 'next >>>' button.
Approved by: re (kensmith)
|
|
|
|
|
|
|
|
|
|
| |
both the disk partitioning screen (the 'F' key) and via install.cfg (the
VAR_DEDICATED_DISK option). This functionality is currently broken in 8.x
due to libdisk and geom generating different partition names; this commit
merely acts to help steer users away from the breakage.
Submitted by: randi
Approved by: re (kensmith)
|
| |
|
|
|
|
|
|
| |
to 65535 cylinders.
Submitted by: Carlos A. M. dos Santos <unixmania@gmail.com>
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
fails, suggest setting kern.geom.debugflags to 16.
PR: bin/94409
Submitted by: Markus Oestreicher <m punkt oe at x dash trader dot de>
MFC after: 10 days
|
|
|
|
|
|
|
|
| |
this now compiles on i386 with WARNS?= 3. Most of the fixes included
adding missing 'static' keywords to internal functions, using fully-defined
terminators in statically defined arrays of structs, and various
signed vs unsigned mismatches. Also G/C'd unused configSecurity()
function.
|
|
|
|
|
|
|
|
| |
completely noop.
- Geometry sanitization for non-interactive mode is moved to correct place.
Reported by: Anton Yuzhaninov <citrin at citrin dot ru>
Pointyhat: me
|
|
|
|
|
|
| |
know what they are doing in non-interactive mode. Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.
|
|
|
|
| |
Submitted by: Hirokazu WATANABE
|
|
|
|
|
|
|
|
|
|
| |
This adds a safebelt that prevents users to mark more than
one "active" partitions, which will lead to a unbootable
machine, especially in multi-boot configurations.
PR: bin/71404
MFC After: 3 days
Approved by: murray (mentor)
|
|
|
|
|
|
|
| |
that actually need it. This makes it easier for a platform porter to
find the files that may need tweaking to support whatever MD specific
partitioning is needed. It also helps to prevent that the libdisk API
gets exposed and/or used where it's not needed.
|
|
|
|
| |
maintainability and generally avoids confusion.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
addresses. For arch's with 64-bit longs, this is a nop, but for i386 this
allows sysinstall to properly handle disks and filesystems > 1 TB.
Changes from the original patch include:
- Use d_addr_t rather than inventing a blkcnt type based on int64_t.
- Use strtoimax() rather than strtoull() to parse d_addr_t's from config
files.
- Use intmax_t casts and %jd rather than %llu to printf d_addr_t values.
Tested on: i386
Tested by: kuriyama
Submitted by: julian
MFC after: 1 month
|
|
|
|
|
| |
o Do not set bootblocks on ia64. It's not even a functionality in
libdisk on ia64.
|
| |
|
|
|
|
|
|
|
| |
'use entire disk'. Neither for ia64 while I'm here - it needs a MBR if
its going to use fdisk+disklabel. The ia64 case is mostly academic though
because you'd be creating two partitions (dos + freebsd) rather than
a single freebsd-only partition.
|
|
|
|
|
| |
Approved by: re (murray)
Obtained from: obrien
|
|
|
|
|
|
|
|
|
|
|
|
| |
type of new slices and to change the type of existing slices. This also
has the advantage of moving a few #ifdef PC98's up to where the macros
are defined instead of in the middle of the code.
- Change the behavior of the 'T' option in the slice editor so that the
default value in the dialog box is the current type of the existing
slice rather than defaulting to changing the slice to a FreeBSD slice as
this is more intuitive.
Approved by: re
|
|
|
|
|
|
| |
editor.
Approved by: re (jhb)
|
|
|
|
|
|
|
|
| |
bug fixed yesterday. New slices created in the fdisk editor and slices
whose sub-type is changed are of type 'mbr' if their sub-type is not a
magic type, not type 'unknown'.
Approved by: re
|
|
|
|
|
|
|
| |
defined.
Tested on: i386, alpha, sparc64
Approved by: re
|
| |
|
| |
|
|
|
|
|
|
|
| |
With this change there's no a priori difference between EFI and
FAT partitions. With this change and the corresponding change to
libdisk, we can create EFI partitions, just like regular FAT
partitions.
|
|
|
|
| |
but not made conditional upon it.
|
|
|
|
|
|
|
| |
- Disabled 'Syscons, Font', 'Syscons, Screenmap' and 'Syscons, Ttys' menus
on pc98.
- Fixed the MenuMouseType and MenuMousePort menus for pc98.
- Fixed some comments for pc98.
|
|
|
|
| |
PC98 with less ifdef madness.
|
|
|
|
| |
Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
|
|
|
|
|
|
|
|
|
| |
something applies to. So change #ifndef to an explicit list of defines.
* Treate sparc64 and ia64 as 64-bit platforms, which means larger roots.
* sparc64 should halt back to the firmware, not reset.
* sparc64 doesn't need to play MS-DOS/BIOS partition crap games.
Reviewed by: jake
|
|
|
|
| |
#ifndef __alpha__ to #ifdef __i386__
|
|
|
|
| |
above 4GB.
|
|
|
|
| |
and label a disk from a sysinstall script.
|
|
|
|
|
|
|
|
| |
instead of hardcoding them into the binary. This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.
Suggested by: jhb
MFC in: 1 week
|
| |
|
|
|
|
|
|
| |
Turn on my asbesto suit, and document the DD and Wizard mode menu
keys. It's a nuisance to always have to look them up in the source
code when needed.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a few cosmetic problems:
o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.
|
|
|
|
|
|
| |
non-advertised option (F = "FreeBSD only"), and leave the A key with
standard partitioning. It seems people still want a runtime backdoo
to get to dangerously dedicated mode.
|
|
|
|
|
|
|
|
|
|
| |
at people. This has been sitting in my tree for a few months now. I
have spoken with quite a few folks about this and the support for doing
this was pretty strong. I dont remember names though, so I cannot share
the blame :-(. Note that this does not *remove* DD mode, it just stops
waving it at new users. You can still set it via config files etc, and
the bootblocks and kernel still support it. You can still use disklabel
to make true DD disks.
|
|
|
|
|
|
| |
no as a default. Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
|
|
|
|
| |
- Cosmetic changes.
|
|
|
|
| |
- Axe the 1024 cylinder checks as they are no longer relevant.
|