aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove Ontrack special from All_FreeBSD().Poul-Henning Kamp1995-05-253-8/+9
| | | | | | | Add chunk->disk pointer. Notes: svn path=/head/; revision=8745
* Align slices to cylinder boundries.Jordan K. Hubbard1995-05-243-7/+18
| | | | | | | Submitted By: phk Notes: svn path=/head/; revision=8721
* Fix a typo, now there should always be an active slice.Poul-Henning Kamp1995-05-211-2/+2
| | | | Notes: svn path=/head/; revision=8670
* Do not allocate the first track.Poul-Henning Kamp1995-05-201-1/+5
| | | | Notes: svn path=/head/; revision=8657
* Remove two printfs before Jordan has a fit over them.Poul-Henning Kamp1995-05-181-4/+1
| | | | Notes: svn path=/head/; revision=8617
* Fixed the calculation of the reserved space for bad144. Thanks Rod!Poul-Henning Kamp1995-05-151-2/+2
| | | | Notes: svn path=/head/; revision=8538
* Fixed typo.David Greenman1995-05-151-1/+1
| | | | Notes: svn path=/head/; revision=8534
* Create_Chunk_DWIM will not allocate anything in the last cylinder of aPoul-Henning Kamp1995-05-151-3/+18
| | | | | | | | | CHUNK_BAD144 slice. Also mknod the 'c' partition for freebsd slices, so bad144(8) will have something to work on. Notes: svn path=/head/; revision=8527
* Parse ^? correctly nowAndrey A. Chernov1995-05-141-0/+3
| | | | Notes: svn path=/head/; revision=8523
* Parse ^? now, our termcap use it and some termcaps from otherAndrey A. Chernov1995-05-141-1/+5
| | | | | | | systems use it too Notes: svn path=/head/; revision=8522
* Fix error returning address of local arrayAndrey A. Chernov1995-05-141-1/+2
| | | | Notes: svn path=/head/; revision=8518
* Fix FtpPasv to not return address of local variable, close PR 399Andrey A. Chernov1995-05-131-1/+1
| | | | | | | Submitted by: John Capo <jc@irbs.com> Notes: svn path=/head/; revision=8500
* Added MakeDevDisk(struct disk*, char *path);Poul-Henning Kamp1995-05-123-4/+93
| | | | | | | fixed bug in extended slice naming. Notes: svn path=/head/; revision=8477
* Forgot to add these.Paul Richards1995-05-124-0/+1228
| | | | Notes: svn path=/head/; revision=8476
* New libforms.Paul Richards1995-05-129-872/+1141
| | | | | | | | | | Bumped major number. Ncurses backend still needs improving. Other back-ends need to be written. Notes: svn path=/head/; revision=8475
* Get the CHUNK_COMPAT_BSD flag right.Poul-Henning Kamp1995-05-113-45/+40
| | | | 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-104-4/+53
| | | | Notes: svn path=/head/; revision=8404
* Bump major number instead of minorAndrey A. Chernov1995-05-082-6/+6
| | | | Notes: svn path=/head/; revision=8353
* Recognize slice type #6 as dosPoul-Henning Kamp1995-05-084-12/+28
| | | | | | | handle OnTrack Disk manager correctly. Notes: svn path=/head/; revision=8346
* Add check for rootfs > cyl 1024.Poul-Henning Kamp1995-05-081-2/+6
| | | | Notes: svn path=/head/; revision=8343
* I bet Jordan is tearing his hair out, trying to figure the previous patchPoul-Henning Kamp1995-05-081-2/+2
| | | | | | | out... here is the real thing. Notes: svn path=/head/; revision=8341
* Fix bug.Poul-Henning Kamp1995-05-081-1/+2
| | | | Notes: svn path=/head/; revision=8339
* Whoops! An extra paren somehow got in there. Fixed.Jordan K. Hubbard1995-05-071-2/+2
| | | | Notes: svn path=/head/; revision=8312
* Always zero new chunks - keeps things like the private structures from havingJordan K. Hubbard1995-05-071-2/+2
| | | | | | | bogus data in them. Notes: svn path=/head/; revision=8311
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.Poul-Henning Kamp1995-05-066-79/+76
| | | | Notes: svn path=/head/; revision=8303
* Make it so that the command formats are the same for both -i and -o.Peter Dufault1995-05-052-16/+71
| | | | | | | This means "t" has to stand for bit fields, since b is a valid hex number. Notes: svn path=/head/; revision=8297
* If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we willPoul-Henning Kamp1995-05-052-8/+41
| | | | | | | align this chunk properly. Have at it Jordan... Notes: svn path=/head/; revision=8290
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-047-31/+56
| | | | | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags. Notes: svn path=/head/; revision=8264
* Add the private void *pointer to the chunks, and the functions to manage it.Poul-Henning Kamp1995-05-034-8/+41
| | | | | | | Make the reassignment of partition names less bogus. Notes: svn path=/head/; revision=8250
* Bump minor numberAndrey A. Chernov1995-05-031-0/+2
| | | | Notes: svn path=/head/; revision=8249
* Bump minor numberAndrey A. Chernov1995-05-032-2/+6
| | | | Notes: svn path=/head/; revision=8247
* Cosmetic changes and paranoia checks:Bill Paul1995-05-031-5/+5
| | | | | | | | | | | | | | | | | | ypbind.c: Make fewer assumtions about the state of the dom_alive and dom_broadcasting flags in roc_received(). If select() fails, use syslog() to report the error rather than perror(). Check that all our malloc()s succeed. Report malloc() failure in ypbindproc_setdom_2() to callers. yplib.c: Use #defined constants in ypbinderr_string() rather than hard-coded values. Notes: svn path=/head/; revision=8245
* Export the chunk names properly.Jordan K. Hubbard1995-05-033-7/+16
| | | | Notes: svn path=/head/; revision=8241
* Make the target for tst01 more sensible.Poul-Henning Kamp1995-05-035-43/+60
| | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=8233
* foo -> unknownJordan K. Hubbard1995-05-021-2/+2
| | | | Notes: svn path=/head/; revision=8228
* I need Open_Disk() to not spew on my screen. #ifdef out some diagnosticJordan K. Hubbard1995-05-021-1/+3
| | | | | | | printfs. Notes: svn path=/head/; revision=8227
* Fix bracket error for LogMaskAndrey A. Chernov1995-05-021-1/+1
| | | | | | | Submitted by: Ruslan Belkin <rus@home2.UA.net> Notes: svn path=/head/; revision=8226
* foo -> unknown.Jordan K. Hubbard1995-05-012-8/+8
| | | | | | | I have to be able to show this stuff to the user. :-) Notes: svn path=/head/; revision=8207
* Added function and man page for ftok(3), used in conjunction withJoerg Wunsch1995-05-015-1/+278
| | | | | | | | | | the so-called "System V IPC". Submitted by: jbeukema@HK.Super.Net (John Beukema) Obtained from: Th. Lockert <tholo@sigmasoft.com>, via NetBSD Notes: svn path=/head/; revision=8198
* Stick a more BSD-like Makefile here so that I can link to the library.Jordan K. Hubbard1995-05-011-14/+15
| | | | Notes: svn path=/head/; revision=8197
* start CHS is 0xff,0xff,0xff if past 1024.Poul-Henning Kamp1995-05-013-19/+68
| | | | | | | | | 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
* Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).Poul-Henning Kamp1995-04-304-43/+45
| | | | | | | | Get the CHS's right. Get the disklabels (more) right. Notes: svn path=/head/; revision=8192
* get bootblocks right.Poul-Henning Kamp1995-04-305-52/+133
| | | | | | | | | | 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
* Use 0xff for CHS when past 1024 cyls.Poul-Henning Kamp1995-04-302-28/+47
| | | | | | | Fix (hopefully) a bug Gary found. Notes: svn path=/head/; revision=8180
* Make the default case less scary :-)Poul-Henning Kamp1995-04-301-0/+2
| | | | Notes: svn path=/head/; revision=8179
* Now we do writes too.Poul-Henning Kamp1995-04-309-53/+360
| | | | Notes: svn path=/head/; revision=8178
* Small fix for the following problems:Bill Paul1995-04-291-2/+10
| | | | | | | | | | | | | | | | - If you take the wheel entry out of /etc/group and turn on NIS, the '+:*::' line is incorrectly flagged as the entry for wheel (the empty gid section is translated to 0), hence getgrgid() returns '+' as the name of the group instead of 'wheel.' - Using just '+:' as the 'turn on NIS' switch in /etc/group makes getgrgid() dump core because of a null pointer dereference. (Last time I was in here, I foolishly assumed that fixing the core dump problems with getgrnam() and getgrent() would fix getgrgid() too. Silly me.) Notes: svn path=/head/; revision=8172
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-297-10/+238
| | | | | | | 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-293-32/+212
| | | | Notes: svn path=/head/; revision=8158
* Next Iteration, getting better.Poul-Henning Kamp1995-04-297-46/+181
| | | | | | | | | | | 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