aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/tst01.c
Commit message (Collapse)AuthorAgeFilesLines
* With the old sade removed, libdisk is no longer used by anything in HEADNathan Whitehorn2012-12-301-323/+0
| | | | | | | | and uses a number of problematic pre-gpart interfaces. Since it has been entirely obsoleted by interfaces in geom, remove it. Notes: svn path=/head/; revision=244865
* Compile-out support for allfreebsd, dedicate, sanitize and bios onMarcel Moolenaar2003-11-021-0/+2
| | | | | | | ia64. These commands are PC specific and not supported. Notes: svn path=/head/; revision=121886
* Fixed style(9)Yoshihiro Takahashi2002-11-151-63/+66
| | | | Notes: svn path=/head/; revision=106949
* Fix to compile for pc98.Yoshihiro Takahashi2002-11-031-0/+8
| | | | Notes: svn path=/head/; revision=106373
* Fix various minor issues.Poul-Henning Kamp2002-10-291-3/+5
| | | | | | | Don't explode on 'write' because we access a pointer we just freed. Notes: svn path=/head/; revision=106116
* More lobotomy:Poul-Henning Kamp2002-10-231-5/+1
| | | | | | | | | | 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. Notes: svn path=/head/; revision=105821
* not sure if this correct, but it compiles againSam Leffler2002-10-181-3/+3
| | | | Notes: svn path=/head/; revision=105366
* Modernize my email address.Poul-Henning Kamp2002-03-251-1/+1
| | | | Notes: svn path=/head/; revision=93149
* Add __FBSDID()s to libdiskMatthew Dillon2001-09-301-3/+3
| | | | Notes: svn path=/head/; revision=84200
* Don't call printf without a format string.Kris Kennaway2000-07-111-1/+1
| | | | Notes: svn path=/head/; revision=62980
* _PATH_DEV'ify libdiskJohn Baldwin2000-06-281-1/+2
| | | | Notes: svn path=/head/; revision=62223
* /dev/rXXX -> /dev/XXXMike Smith2000-05-311-1/+1
| | | | | | | | This should fix sysinstall and other tools that don't expect the 'r' devices to exist anymore (and thus don't create them). Notes: svn path=/head/; revision=61101
* Changes for PC-98.KATO Takenori2000-03-291-0/+13
| | | | Notes: svn path=/head/; revision=58794
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* More support for Alpha installs.Jordan K. Hubbard1999-01-291-1/+3
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=43393
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better.Poul-Henning Kamp1996-11-271-21/+5
| | | | Notes: svn path=/head/; revision=19989
* Cast lseek arguments appropriately.Jordan K. Hubbard1996-07-091-3/+3
| | | | | | | Submitted-By: "Frank ten Wolde" <franky@pinewood.nl> Notes: svn path=/head/; revision=17032
* Make libdisk C++ aware:Joerg Wunsch1996-03-241-2/+1
| | | | | | | | | | - 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. Notes: svn path=/head/; revision=14792
* Update the -current sources from the 2.1 branch.Peter Wemm1995-12-071-2/+7
| | | | | | | Approved (in spirit) by: jkh Notes: svn path=/head/; revision=12661
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-111-1/+9
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-14/+14
| | | | Notes: svn path=/head/; revision=8881
* Added MakeDevDisk(struct disk*, char *path);Poul-Henning Kamp1995-05-121-1/+5
| | | | | | | fixed bug in extended slice naming. Notes: svn path=/head/; revision=8477
* Get the CHUNK_COMPAT_BSD flag right.Poul-Henning Kamp1995-05-111-3/+3
| | | | Notes: svn path=/head/; revision=8436
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.Poul-Henning Kamp1995-05-101-1/+11
| | | | Notes: svn path=/head/; revision=8404
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-041-2/+2
| | | | | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags. Notes: svn path=/head/; revision=8264
* Export the chunk names properly.Jordan K. Hubbard1995-05-031-3/+1
| | | | Notes: svn path=/head/; revision=8241
* start CHS is 0xff,0xff,0xff if past 1024.Poul-Henning Kamp1995-05-011-1/+53
| | | | | | | | | 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. Notes: svn path=/head/; revision=8196
* get bootblocks right.Poul-Henning Kamp1995-04-301-2/+62
| | | | | | | | | | 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. Notes: svn path=/head/; revision=8183
* Now we do writes too.Poul-Henning Kamp1995-04-301-3/+23
| | | | Notes: svn path=/head/; revision=8178
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-291-2/+20
| | | | | | | Rules for only one fat & one extended in MBR. Notes: svn path=/head/; revision=8160
* Even More stuff. Disk_Names() is here amongst other things.Poul-Henning Kamp1995-04-291-14/+11
| | | | Notes: svn path=/head/; revision=8158
* Next Iteration, getting better.Poul-Henning Kamp1995-04-291-12/+116
| | | | | | | | | | | Made an All_FreeBSD() function. Added a cmd-line interface (lowest rank) to the tst01 program. The tst01 program is harmless (worst it can do is coredump), but it is instructive to run, you can see what the slice-code things of your disk... Notes: svn path=/head/; revision=8157
* Sanitize and explain a little bit... Implement the first rules...Poul-Henning Kamp1995-04-291-34/+5
| | | | Notes: svn path=/head/; revision=8156
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffPoul-Henning Kamp1995-04-281-0/+66
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! Notes: svn path=/head/; revision=8153