| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Don't explode on 'write' because we access a pointer we just freed.
|
|
|
|
| |
order instead of last.
|
|
|
|
|
| |
This file depends on some major surgery in the rest of libdisk which is
not yet committed.
|
|
|
|
| |
I've cloned write_ia64_disk.c from write_i386_disk.c.
|
|
|
|
| |
on alpha, sparc64 and ia64
|
|
|
|
|
|
|
| |
remove CHUNK_BSD_COMPAT, it was a bad idea, and now its gone.
remove DOSPTYP_ONTRACK, missed in OnTrack removal commit.
unifdef -DHAVE_GEOM
make tst01 compile again.
|
| |
|
|
|
|
|
| |
many lists of disk device driver names in the system. At this point
we should really get the names from the XML, but hey...
|
|
|
|
| |
with the disk. GEOM will automatically retaste when we closet he filedesc.
|
|
|
|
|
|
|
| |
own file and own copy of WriteDisk() to do things in.
This should have happened years ago, instead of adding #ifdefs all
over the place.
|
| |
|
|
|
|
| |
- Fix to build w/o the HAVE_GEOM option.
|
| |
|
| |
|
| |
|
|
|
|
| |
numbers, but so far havn't come up with anything: Add an #ifdef PC98.
|
|
|
|
| |
an extra argument for all archs.
|
|
|
|
|
|
|
|
|
| |
Constify some things.
Staticize some things.
Remove some unused things.
Prototype some things.
Don't install a gazillion man-pages links.
Drop support for ON-TRACK disk-manager.
|
| |
|
| |
|
|
|
|
| |
Approved by: sam
|
|
|
|
|
|
|
|
|
|
|
|
| |
o fillin media s/h/c fields from new XML phk just added; need this because
sysinstall uses them in the fdisk look-alike
o add new tags to xml parser
o cleanup parser a touch; remove unused tags and move tag parsing stuff to
a table to simplify future additions
o redo callback to pass 64-bit values since mediasize overflows u_int32_t
o loosen parsing sanity checks a touch to deal with new xml we must handle
o move sector size probing to non-geom handling since we now get it from xml
o remove WHOLE_DISK_SLICE buggery now that we get mediasize from xml
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get the xml configuration for the devices and "parse" the information to
get what's needed
o replace #ifdef DEBUG constructs with DPRINT/DPRINTX to make the code more
readable
Note the xml "parser" is very very hackish and should be replaced with a
real one. This one was done to be very small and special-purpose; don't
think about copying it elsewhere.
Approved by: phk
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o memory wasn't reclaimed in certain cases
o add more msgs under #ifdef DEBUG
o rewrite tangle of for loops for clarity
NB: Open_Disk should redo how it malloc's memory so the caller can free
everything. Documentation says the caller can free the disk list to
reclaim everything but this leaks the indirect strings. Fixing this
is simple for the sysctl case but adds complexity to the fallback,
non-sysctl, case.
|
| |
|
|
|
|
| |
Submitted by: kawanobe@st.rim.or.jp (Kawanobe Koh)
|
| |
|
|
|
|
|
|
| |
during disk probing with malloc debugging enabled.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of disklabel.h and
therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them
in programs which already include <sys.disklabel.h> is currently a
no-op.
This commit adds a number of such #includes.
Once I have verified that I have fixed all the places which need fixing,
I will commit the updated versions of the three #include files.
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
|
|
|
| |
initialize it to zero so we don't have to have everbody and their
aunt including FFS specific header files.
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
|
|
|
| |
argument. Leave a compatibility shim for Delete_Chunk().
Implement DELCHUNK_RECOVER flag so sysinstall can ask libdisk
to recover space when deleting a chunk.
|
|
|
|
| |
Submitted by: <anarcat@anarcat.dyndns.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysinstall will automatically expand the previous partition to take up
the freed up space. So you can 'D'elete /home and /usr will get the
combined space, or you can 'D'elete /tmp and /var will get the combined space.
This gives the user, developer, or lay person a huge amount of flexibility
in constructing partitions from an 'A'uto base. It takes only 3 or 4
keystrokes to achieve virtually any combination of having or not having
a /tmp and/or /home after doing an 'A'uto create.
Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should
be less controversial.
MFC after: 6 days
|
|
|
|
|
|
|
|
| |
if and only if a target directory is devfs. Previous patch
doesn't correct, it's unconditionally avoid to create a device
file if kernel knows devfs.
PR: 31109
|
| |
|
|
|
|
|
| |
than making device node(s).
Submitted by: Hiroo ONO <hiroo@oikumene.gcd.org>
|
|
|
|
|
| |
Set_Boot_Blocks() from void to int had not reached here. Callers
still don't check the new return value.
|
| |
|
| |
|
|
|
|
|
|
| |
instead of char *.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
with a trailing zero-width space: `e.g.\&'.
|
| |
|