CVS log for src/lib/libdisk/create_chunk.c
Up to [FreeBSD] / src / lib / libdisk
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.86.28.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (3 months ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.86.28.1: preferred, colored
Changes since revision 1.86.28.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.86.28.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.86.26.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.86.22.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.86.22.1: preferred, colored; next MAIN 1.86.24.1: preferred, colored
Changes since revision 1.86.22.1: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.86.22.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.86.22.1: preferred, colored; next MAIN 1.86.24.1: preferred, colored
Changes since revision 1.86.22.1: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.86.24.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.86.22.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.86.22.1: preferred, colored; next MAIN 1.86.24.1: preferred, colored
Changes since revision 1.86.22.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.86.22.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.86.20.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.86.18.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.86.16.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.46.2.8.16.1: download - view: text, markup, annotated - select for diffs
Fri Jan 14 03:07:41 2005 UTC (7 years ago) by scottl
Branches: RELENG_4_11
CVS tags: RELENG_4_11_0_RELEASE
Diff to: previous 1.46.2.8: preferred, colored; next MAIN 1.46.2.9: preferred, colored
Changes since revision 1.46.2.8: +3 -1 lines
Merge the ips driver bits. Tags were slid on the files that were added to the RELENG_4 branch. This commit covers the files that existed and were merely changed. Approved by: re
Revision 1.46.2.9: download - view: text, markup, annotated - select for diffs
Thu Jan 13 17:55:24 2005 UTC (7 years ago) by scottl
Branches: RELENG_4
Diff to: previous 1.46.2.8: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.8: +3 -1 lines
Teach libdisk about the ipsd devices. Note: I don't like to editorilize in commits, but libdisk is just plain lame. Being required to teach it about each disk device name is part of the magic folklore that is just plain wrong. This is one of the many many many reasons why libdisk & sysinstall need to be thrown away and rebuilt from scratch. No amount of tweaking and fixing them will make them better.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 5 14:07:31 2005 UTC (7 years, 1 month ago) by delphij
Branches: MAIN
CVS tags: RELENG_9_BP, RELENG_8_BP, RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7, RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6, HEAD
Branch point for: RELENG_9, RELENG_8, RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1, RELENG_6_4
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +0 -2 lines
Remove an unnecessary defination of New_Chunk, which has been defined in libdisk.h.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Apr 21 23:21:13 2004 UTC (7 years, 9 months ago) by grehan
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +24 -1 lines
PowerPC support. submitted by: Suleiman Souhlal <refugee@segfaulted.com> approved by: phk, jhb
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Mar 16 17:07:06 2004 UTC (7 years, 10 months ago) by jhb
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +5 -5 lines
Change libdisk and sysinstall to use d_addr_t rather than u_long for disk 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
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Nov 12 17:44:37 2003 UTC (8 years, 3 months ago) by marcel
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +4 -0 lines
The partition naming on ia64 (e.g. da0p1) cannot be selected based on whether the parent chunk is of type whole. This also applies to MBR slices for non-GPT disks. Since most of the GPT handling is conditionally compiled, do the same with the partition naming. This fixes a braino that caused slices to be named as GPT partitions and generally messing up an install. Pointy hat: marcel
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Nov 2 08:39:08 2003 UTC (8 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +13 -5 lines
o Move Int_Open_Disk() from disk.c to open_disk.c for use by all platforms except ia64 and use Int_Open_Disk() in open_ia64_disk.c on ia64. We need to know more than GEOM can provide us so we're forced to read from the disk. Move uuid_type() to open_ia64_disk.c and remove all references on non-ia64. o Pass the GEOM conftxt to Int_Open_Disk() so that only Open_Disk() needs to know about GEOM and libdisk can more easily be used with media not handled by GEOM. o Create an ia64 specific definiton of struct disk on ia64, because we don't need/have most of the fields other platforms need and other fields not applicable on platforms other than ia64. o Do not compile change.c on ia64. It's too PC specific. o In Fixup_Names() in create_chunk.c, try all partition numbers that are valid for the GPT disk. We have the total number of partitions that can be allocated in the disk structure on ia64. Also, use the GPT partition naming if we're creating one under a chunk of type "whole". It's a GPT partition in that case. o In Create_Chunk(), compile-out the PC specific code on ia64 that checks BIOS geometry restrictions. o In Debug_Disk() in disk.c, dump the ia64 specific fields. o Save the partition index in the chunk on ia64 so that we can preserve it when we write the data back to disk. This avoids that partitions get moved around or swapped after installing FreeBSD, which may render a disk unusable.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Apr 30 21:03:16 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
Teach libdisk that AMD64 works just like i386
Revision 1.80: download - view: text, markup, annotated - select for diffs
Fri Apr 4 16:35:13 2003 UTC (8 years, 10 months ago) by phk
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +0 -1 lines
Libdisk does not need to include <sys/diskslice.h> any more. Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h> Move i386/pc98 specific bits from <sys/reboot.h> to <i386/include/bootinfo.h> as well. Adjust includes in sys/boot accordingly.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Feb 4 17:26:45 2003 UTC (9 years ago) by jhb
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +9 -9 lines
Remove mostly unused disk arguments from Fixup_*_Names() functions.
Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 13 21:08:21 2003 UTC (9 years ago) by jhb
Branches: RELENG_5_0
CVS tags: RELENG_5_0_0_RELEASE
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +19 -1 lines
MFC: Workaround the case where we do a Create_Chunk_DWIM() in a freebsd chunk that has no child chunk. Approved by: re
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jan 10 19:25:38 2003 UTC (9 years, 1 month ago) by jhb
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +19 -1 lines
- Make New_Disk() non-static so it can be used in Create_Chunk_DWIM(). - In Create_Chunk_DWIM(), if there is a freebsd chunk that has no children chunks, then trying to add a child part chunk will fail even though there is free space. Handle this special case by adding an unused chunk the full size of the freebsd chunk as a child of the freebsd chunk before adding the new part chunk. This situation can happen when changing the type of an existing slice to be a FreeBSD slice type or when installing onto a blank disk on Alpha (which has no slices.) Reviewed by: phk MFC after: 2 days
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Nov 15 13:24:29 2002 UTC (9 years, 2 months ago) by nyan
Branches: MAIN
CVS tags: RELENG_5_0_BP
Branch point for: RELENG_5_0
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +51 -35 lines
Fixed style(9)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Mon Nov 11 04:46:39 2002 UTC (9 years, 3 months ago) by marcel
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
MBR slices are named the same on ia64 as they are on i386.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Oct 29 07:37:11 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -1 lines
the 'd' partition hasn't been magic for years, so allocate it in natural order instead of last.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Oct 23 21:05:42 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -7 lines
More lobotomy:
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.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Oct 22 15:07:50 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +0 -17 lines
Remove the last traces of bogus MAKEDEV functionality.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Oct 22 10:51:58 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +0 -12 lines
Avoid a lot of #ifdef PC98 code by giving a couple of the Chunk functions an extra argument for all archs.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Oct 22 09:13:02 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -205 lines
Swing the weed-whacker around libdisk: 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.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Oct 21 22:03:03 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -0 lines
Lobotomize MakeDev(), we don't need it with devfs.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Oct 8 12:12:03 2002 UTC (9 years, 4 months ago) by nyan
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -0 lines
Fix to support pc98.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Oct 4 18:10:39 2002 UTC (9 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +326 -327 lines
White-space change only. Move closer to style(9).
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Oct 1 07:24:51 2002 UTC (9 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -0 lines
Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1: 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.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu May 30 21:00:42 2002 UTC (9 years, 8 months ago) by wollman
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -1 lines
Use correct printf format specifier to print unsigned longs.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Mar 25 13:49:15 2002 UTC (9 years, 10 months ago) by phk
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -1 lines
Modernize my email address.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Nov 11 23:46:53 2001 UTC (10 years, 3 months ago) by matusita
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +0 -0 lines
Forced commit: previous patch comes from PR: 31009 not 31109. Noticed by: Hiroo ONO <hiroo@oikumene.gcd.org> (PR submitter)
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Nov 11 12:16:50 2001 UTC (10 years, 3 months ago) by matusita
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +11 -7 lines
One more fix for sysinstall/libdisk to create a device file 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
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Oct 10 07:46:04 2001 UTC (10 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +10 -1 lines
Check to see if the devfs MIB exists and return 1 if it exists rather than making device node(s). Submitted by: Hiroo ONO <hiroo@oikumene.gcd.org>
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Sep 30 21:16:57 2001 UTC (10 years, 4 months ago) by dillon
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
Add __FBSDID()s to libdisk
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Aug 20 12:53:35 2001 UTC (10 years, 5 months ago) by kris
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -1 lines
Mark some functions as __printflike() and/or taking const char * arguments instead of char *. MFC after: 2 weeks
Revision 1.46.2.8: download - view: text, markup, annotated - select for diffs
Sun May 13 21:01:37 2001 UTC (10 years, 9 months ago) by jkh
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5, RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4, RELENG_4_11_BP, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Branch point for: RELENG_4_11
Diff to: previous 1.46.2.7: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.7: +15 -11 lines
MFC: (part 2) - don't bomb out from this library on error, return
some sort of appropriate failure code.
Revision 1.46.2.7: download - view: text, markup, annotated - select for diffs
Sun May 13 20:16:32 2001 UTC (10 years, 9 months ago) by jkh
Branches: RELENG_4
Diff to: previous 1.46.2.6: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.6: +52 -45 lines
*** empty log message ***
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sun May 13 20:08:54 2001 UTC (10 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +15 -11 lines
+ add u_long sector_size to struct disk (documented in libdisk.3) + make Open_Disk sense the sector size by trying 512, 1024 and 2048 in this order. This makes the kernel note that dscheck(cd1): bio_bcount 512 is not on a sector boundary (ssize 2048) dscheck(cd1): bio_bcount 1024 is not on a sector boundary (ssize 2048) if 2048 is the sector size. If this worries anyone: the message is from /usr/src/sys/kern/subr_diskslice.c and shutups are to be placed there. + Have read_block and write_block use an additional parameter, the sector size. + replace all barfout calls with return NULL, 0, __LINE__, etc. Note that this does NOT emit diagnostics. More often than not, you don't want library functions to scribble on stderr -- it may not even be available. The right thing is to propagate the error condition to upper management. The app should take care of errors. + use d1->sector_size instead of 512 in various places. I've left many places untouched, especially those writing MBRs. I simply added another arg hardcoded as 512. This is because I would not know what I'm doing... I felt this approach would be reasonably backward compatible and not introduce any new bugs in critical software. Famous last words. Messing with MBRs might soon put me in the same screwup meister category as, uh, never mind. :-) + bump the max no of disks from 20 to 32 (due to PR 24503). PR: 8434 / 8436 / 24503 Submitted by: Jens Schweikhardt <schweikh@schweikhardt.net>
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Apr 1 12:18:20 2001 UTC (10 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +36 -36 lines
Add spaces around operators. It's OK, the Project and afford them now -- they aren't as expensive as they used to be.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Apr 1 11:37:31 2001 UTC (10 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -4 lines
Try to untangle some of the #ifdef spaghetti. Also, looking to the future, don't assume all the world is an i386 and all its disk layout brain damage will be repeated by other platforms. So all the diking out if we are an Alpha, becomes adding in if we are an i386.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Apr 1 11:22:40 2001 UTC (10 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +8 -3 lines
Quiet warnings on the Alpha.
Revision 1.46.2.6: download - view: text, markup, annotated - select for diffs
Sun Mar 18 22:39:23 2001 UTC (10 years, 10 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.46.2.5: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.5: +5 -6 lines
MFC: don't call err() on the Alpha. Approved by: jkh
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Mar 18 21:30:10 2001 UTC (10 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -6 lines
Libraries should _never_ call exit() themselves (or its alternate spelling `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh
Revision 1.46.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 23 18:42:11 2001 UTC (11 years ago) by msmith
Branches: RELENG_4
Diff to: previous 1.46.2.4: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.4: +3 -1 lines
MFC: teach libdisk about 'aac'.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 6 23:15:01 2000 UTC (11 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -1 lines
MFS: add ATA raid support for sysinstall
Revision 1.46.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 6 23:09:18 2000 UTC (11 years, 3 months ago) by jkh
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE
Diff to: previous 1.46.2.3: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.3: +3 -1 lines
Add ATA raid controller support for sysinstall. Submitted by: debnar@o-c.sk
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Sep 13 05:04:48 2000 UTC (11 years, 5 months ago) by msmith
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -1 lines
Teach libdisk about 'aac'
Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Fri Jul 14 06:30:59 2000 UTC (11 years, 7 months ago) by jhb
Branches: RELENG_4
CVS tags: RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.46.2.2: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.2: +3 -2 lines
MFC: _PATH_DEV'ify libdisk and fix a misspelling in an error message.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 28 22:28:49 2000 UTC (11 years, 7 months ago) by jhb
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
_PATH_DEV'ify libdisk
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jun 5 13:33:38 2000 UTC (11 years, 8 months ago) by nyan
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -2 lines
Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue May 30 15:18:30 2000 UTC (11 years, 8 months ago) by msmith
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -4 lines
De-support 'wd'; with it making a dual appearance with 'ad', things depending on libdisk to detect a list of actually-there disk devices were providing duplicate entries (eg. sysinstall).
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu May 25 08:24:38 2000 UTC (11 years, 8 months ago) by alfred
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
fix stray 'i' from editor.
Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Thu May 25 02:24:50 2000 UTC (11 years, 8 months ago) by msmith
Branches: RELENG_4
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.1: +3 -1 lines
MFC: teach libdisk about 'twe' disks
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu May 25 02:23:47 2000 UTC (11 years, 8 months ago) by msmith
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -1 lines
Teach libdisk about 'twe' disks.
Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 13:07:45 2000 UTC (11 years, 10 months ago) by nyan
Branches: RELENG_4
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +23 -1 lines
MFC: Supported PC-98.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Mar 29 15:10:27 2000 UTC (11 years, 10 months ago) by kato
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +23 -1 lines
Changes for PC-98.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Mar 9 15:05:20 2000 UTC (11 years, 11 months ago) by jlemon
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_0_0_RELEASE
Branch point for: RELENG_4
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Fix pointer addition bug (3 -> 4). Submitted by: david.w.james@bt.com
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Mar 8 18:14:01 2000 UTC (11 years, 11 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
Correct device naming for IDA disk nodes (idad)
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri Feb 18 03:06:43 2000 UTC (11 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -3 lines
Hide more debugging behind isDebug(); what's currently spewing out will only alarm people.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Dec 22 19:06:29 1999 UTC (12 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +12 -6 lines
Just on the off-chance that somebody might use libdisk in a totally lobotomized environment, say booted from a floppy with no /etc full of password and group files, give sensible fallbacks for roots uid and operators gid. This might fix sysinstall.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Dec 15 08:33:56 1999 UTC (12 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +39 -13 lines
Catch up to the fact that block devices are toast. Teach about the afd driver. Teach new char dev for ad driver. Make ownerships correct. Submitted by: jhb
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Nov 27 21:20:57 1999 UTC (12 years, 2 months ago) by msmith
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -3 lines
Remove 'sd' support. SCSI disks are known as 'da' these days.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Nov 27 14:33:29 1999 UTC (12 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -8 lines
Remove BAD144 support
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Nov 2 03:40:13 1999 UTC (12 years, 3 months ago) by msmith
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -1 lines
Teach libdisk about the AMI and Mylex RAID drivers. You should be able to install directly to arrays managed by these controllers now.
Revision 1.21.2.10: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:18:34 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.9: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.9: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.24.2.6: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:16:58 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.24.2.5: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.5: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 29 14:56:41 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.34.2.3: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.3: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:04:29 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jul 5 09:43:28 1999 UTC (12 years, 7 months ago) by msmith
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -2 lines
Merge from -stable; support for the 'ida' driver, move fla to major 102
Revision 1.34.2.3: download - view: text, markup, annotated - select for diffs
Mon Jul 5 09:22:17 1999 UTC (12 years, 7 months ago) by msmith
Branches: RELENG_3
Diff to: previous 1.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.2: +4 -2 lines
Add support for the 'ida' driver. Fix character major for 'fla' (102 not 101).
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Wed May 12 23:51:56 1999 UTC (12 years, 9 months ago) by msmith
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +2 -2 lines
MFC: Fix handling of 'wd' in MakeDev. Remove axe from foot.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed May 12 23:50:50 1999 UTC (12 years, 9 months ago) by msmith
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Fix my own Pie Floater. (Correctly handle 'wd' devices)
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sat May 8 21:24:02 1999 UTC (12 years, 9 months ago) by dfr
Branches: RELENG_3
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
MFC: More alpha-related fixes.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue May 4 22:44:47 1999 UTC (12 years, 9 months ago) by msmith
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
Clean up after another half-Danish. Add 'ad' as another known disk driver of the same kind as 'wd'.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jan 14 21:48:13 1999 UTC (13 years ago) by phk
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_1_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -1 lines
Bring us one step closer to sysinstall'ing on a DOC2k device.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Jan 8 00:32:19 1999 UTC (13 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -1 lines
Changes for alpha support. Submitted by: dfr
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Oct 27 21:14:03 1998 UTC (13 years, 3 months ago) by msmith
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -6 lines
Fixes for handling 'wfd' (and any other disk with a non-2-character name) Submitted by: Some from Satoh Junichi (junichi@astec.co.jp)
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 15 10:23:17 1998 UTC (13 years, 4 months ago) by gibbs
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -3 lines
Remove references to the "od" device.
Revision 1.24.2.5: download - view: text, markup, annotated - select for diffs
Sun Jul 19 06:51:38 1998 UTC (13 years, 6 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE
Diff to: previous 1.24.2.4: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.4: +8 -5 lines
MFC: doc fixes, casts, cosmetic.
Revision 1.24.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 21 00:32:20 1998 UTC (13 years, 10 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_6_RELEASE
Diff to: previous 1.24.2.3: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.3: +5 -6 lines
Deal with device names > 2 chars in length.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Mar 20 23:43:03 1998 UTC (13 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -1 lines
MF22: teach about LS-120 devices.
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Fri Mar 20 23:27:17 1998 UTC (13 years, 10 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.24.2.2: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.2: +3 -1 lines
Teach libdisk about wfd drives.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 10 17:19:52 1998 UTC (14 years ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.24.2.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.2.1: +2 -1 lines
MFC: verbose major/minor check.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Feb 10 17:19:12 1998 UTC (14 years ago) by jkh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1 lines
Be more verbose if we can't determine device major/minor.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 16 12:50:36 1998 UTC (14 years ago) by jkh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -1 lines
Non-intrusive changes to support Justin's CAM stuff.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Feb 22 15:06:31 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -1 lines
Revert $FreeBSD$ to $Id$
Revision 1.21.2.9: download - view: text, markup, annotated - select for diffs
Fri Feb 7 03:24:11 1997 UTC (15 years ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE
Diff to: previous 1.21.2.8: preferred, colored
Changes since revision 1.21.2.8: +3 -1 lines
Merge from -current.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:09:08 1997 UTC (15 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +1 -1 lines
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.
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 14 11:56:42 1996 UTC (15 years, 2 months ago) by joerg
Branches: RELENG_2_2
CVS tags: RELENG_2_2_5_RELEASE, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1 lines
YAMFC
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 13 07:55:00 1996 UTC (15 years, 2 months ago) by jkh
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1 lines
Close PR#2198: I've added an installation from optical disk drive facility. This enables FreeBSD to be installed from an optical disk, which may be formatted in "super floppy" style or sliced into MSDOS-FS and UFS partitions. Note: ncr.c should be reviewed by Stefan Esser <se@freebsd.org> and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this into 2.2. Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
Revision 1.21.2.8: download - view: text, markup, annotated - select for diffs
Tue May 28 22:51:12 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE
Diff to: previous 1.21.2.7: preferred, colored
Changes since revision 1.21.2.7: +2 -5 lines
Merge from HEAD.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Apr 29 05:03:01 1996 UTC (15 years, 9 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_2_BP
Branch point for: RELENG_2_2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -5 lines
Move some warn()'s into DEBUG space since I don't need them coming out in my curses interfaces and spamming my screen.
Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Sun Mar 24 19:04:46 1996 UTC (15 years, 10 months ago) by joerg
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.6: preferred, colored
Changes since revision 1.21.2.6: +4 -4 lines
Bring in from HEAD: make libdisk C++ aware.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Mar 24 18:55:37 1996 UTC (15 years, 10 months ago) by joerg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
Make libdisk C++ aware: - add __BEGIN_DECLS and __END_DECLS, - add a bunch of ``const'' qualifiers all over the place, - rename the `private' struct member into `private_data' to avoid the clash with the C++ keyword.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Dec 7 10:33:20 1995 UTC (16 years, 2 months ago) by peter
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +289 -227 lines
Update the -current sources from the 2.1 branch. Approved (in spirit) by: jkh
Revision 1.21.2.6: download - view: text, markup, annotated - select for diffs
Sat Nov 18 10:02:10 1995 UTC (16 years, 2 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.5: preferred, colored
Changes since revision 1.21.2.5: +2 -2 lines
*really* shut this thing up. Debugging output was permanantly stapled to "on". Fix that.
Revision 1.21.2.5: download - view: text, markup, annotated - select for diffs
Fri Nov 17 23:04:04 1995 UTC (16 years, 2 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.4: preferred, colored
Changes since revision 1.21.2.4: +1 -2 lines
Shut this up for 2.1.1.
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:00:40 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.3: preferred, colored
Changes since revision 1.21.2.3: +1 -7 lines
Remove a little TOO much verbosity from here.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 14 09:29:58 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.2: preferred, colored
Changes since revision 1.21.2.2: +296 -246 lines
Add some debugging abilities to this.
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 13 08:19:09 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21.2.1: preferred, colored
Changes since revision 1.21.2.1: +29 -13 lines
Sync with development sources.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Wed Sep 20 10:43:02 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +12 -9 lines
1. Pick a proper default netmask in the TCP/IP install screen. 2. Handle the `all disk for FreeBSD' case more gracefully. Submitted by: joerg
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Jun 11 19:29:33 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
Branch point for: RELENG_2_1_0
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Merge RELENG_2_0_5 into HEAD
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed May 31 23:53:45 1995 UTC (16 years, 8 months ago) by jkh
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -2 lines
Fixes to put bad144 information in the right place. Submitted By: phk
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue May 30 08:28:09 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +8 -8 lines
Remove trailing whitespace.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed May 24 08:59:38 1995 UTC (16 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +8 -1 lines
Align slices to cylinder boundries. Submitted By: phk
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 20 19:11:44 1995 UTC (16 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -1 lines
Do not allocate the first track.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon May 15 19:03:08 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Fixed the calculation of the reserved space for bad144. Thanks Rod!
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon May 15 00:58:25 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +18 -3 lines
Create_Chunk_DWIM will not allocate anything in the last cylinder of a CHUNK_BAD144 slice. Also mknod the 'c' partition for freebsd slices, so bad144(8) will have something to work on.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri May 12 18:49:57 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +83 -2 lines
Added MakeDevDisk(struct disk*, char *path); fixed bug in extended slice naming.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu May 11 05:22:52 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +33 -41 lines
Get the CHUNK_COMPAT_BSD flag right.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed May 10 05:57:02 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +33 -1 lines
Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 8 01:26:47 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
I bet Jordan is tearing his hair out, trying to figure the previous patch out... here is the real thing.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 8 00:44:46 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
Fix bug.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat May 6 03:28:28 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -7 lines
General sanitation and cleanup. Killed the "reserved" type, it wasn't.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu May 4 07:00:53 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -4 lines
Make the partitions names even more sensible CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 3 22:36:50 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +19 -2 lines
Add the private void *pointer to the chunks, and the functions to manage it. Make the reassignment of partition names less bogus.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 3 06:30:50 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +34 -19 lines
Make the target for tst01 more sensible. Remove bogus targets. Allocate partition letters as follows: lowest offset "flags & CHUNK_IS_ROOT" gets 'a', lowest offset "subtype==FS_SWAP" gets 'b' the rest is allocated in offset order from this sequence "defghab". This will generally make sense. Added rules to complain if more than one CHUNK_IS_ROOT or more than one FS_SWAP per FreeBSD chunk. Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk. Run Fixup_Names in Open_Disk.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon May 1 04:05:24 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
start CHS is 0xff,0xff,0xff if past 1024. end CHS is 1023,bios_hd,bios_sect if past 1024. This way we can find bios the geometry again. Added a primitive "scan" to tst01.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Apr 30 11:04:12 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2 lines
get bootblocks right. Add mbr and bteasy17 to tst01 read partitions from kernel instead of disk. Still problems with writing labels, discussing with Bruce. Extended slices doesn't get written yet.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Apr 30 06:09:25 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -4 lines
Now we do writes too.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 29 07:21:10 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +110 -2 lines
Names are assigned when chunks are created. Rules for only one fat & one extended in MBR.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 29 01:55:20 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -1 lines
Sanitize and explain a little bit... Implement the first rules...
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 28 23:57:00 1995 UTC (16 years, 9 months ago) by phk
Branches: MAIN
This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuff in the new sysinstall. If you want to give a helping hand, then send email to phk@FreeBSD.ORG. DO NOT COMMIT TO THIS DIRECTORY!
