Commit Graph

36 Commits

Author SHA1 Message Date
John Baldwin
ef48c744aa - Remove the -T from the 4.x newfs as well.
- Don't write out 0xaa55 to the end of the filesystem as md(4) doesn't
  generate that warning and it breaks 'disklabel mdX auto'.
- Use the 'canonical' disk name mdX instead of /dev/mdX to disklabel so
  we can use disklabel auto for mfsroot filesizes that aren't a standard
  size in /etc/disktab.
2001-11-20 20:25:12 +00:00
John Baldwin
22c4079990 The -T argument to newfs is only needed if teh disk isn't already labeled.
Since we run disklabel before newfs, this doesn't apply in this case.
2001-11-20 20:06:21 +00:00
Yoshihiro Takahashi
c82db554a8 Use the md device not olny a version of the system is 5 but 5 and over.
Requested by:	matusita
MFC after:	1 day
2001-11-16 03:01:50 +00:00
Yoshihiro Takahashi
19ea5a3fbf Use the vn driver on a stable system. 2001-11-15 07:27:25 +00:00
David E. O'Brien
3bcda1f141 Add FreeBSD IDs to some files and make the others consistent in style. 2001-04-08 23:09:21 +00:00
David E. O'Brien
221bdf6158 Everyone that has commented seems to agree `-m 0' will cause no problems. 2001-03-10 17:10:48 +00:00
David E. O'Brien
1363575f81 Remove tunefs'ing that was OBE by rev 1.30.
Submitted by:	bde
2001-03-09 12:33:53 +00:00
David E. O'Brien
ca5bd0c65a newfs with `-m 1'
This is needed even with `-o space' as the kernel decides to be "helpful"
and not really do space optimization.  Looking at src/sys/ufs/ffs/ffs_alloc.c
we see why:		if (fs->fs_minfree <= 5 ||
		            fs->fs_cstotal.cs_nffree >
		            (off_t)fs->fs_dsize * fs->fs_minfree / (2 * 100))
			            break;
	            log(LOG_NOTICE, "%s: optimization changed from SPACE to TIME\n"

I have picked `1' vs. `0' just incase some code somewhere has the assumption
the %free can never be `0'.

Helped with understanding why -m 1 made a different:	imp
2001-03-09 01:03:15 +00:00
Poul-Henning Kamp
2caebfe61a Use mdconfig/md instead of vn. 2001-01-31 22:58:39 +00:00
David E. O'Brien
518bd5cfa7 Using `r'aw device name is out of vogue now. 2000-11-27 09:19:18 +00:00
Jordan K. Hubbard
c8d2a747a4 MFS: comment character and readability fixes. 2000-11-05 22:49:15 +00:00
Tatsumi Hosokawa
b98c5f70ff Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
Poul-Henning Kamp
5de7f65fc9 We don't do blockdevices any more.
XXX: should use /dev/MAKEDEV
2000-07-08 07:46:01 +00:00
Jordan K. Hubbard
d0840ab627 don't mknod stuff without making sure it's not there first. 1999-12-16 00:51:38 +00:00
Poul-Henning Kamp
c628363b98 Make it possible to make release on archaic kernels. 1999-11-27 18:48:10 +00:00
Jordan K. Hubbard
ccfcf93e53 1. Adjust fs sizes to get floppies back under control.
2. Viciously slash all CD support out of boot.flp.  It's basically just
   a net boot floppy now.
1999-01-26 15:14:11 +00:00
Mike Smith
901b072607 Replace /mnt with ${MNT}
PR:		misc/7965
Submitted by:	Junji SAKAI sakai@jp.freebsd.org
1999-01-12 22:12:12 +00:00
Jordan K. Hubbard
92e86f9920 Hammer on the boot floppy generation bits some more. This is looking
a little better.
1999-01-05 03:44:08 +00:00
Jordan K. Hubbard
cb48829cff Update this to deal with new boot block placement.
Reported by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-01-02 23:15:20 +00:00
Jordan K. Hubbard
c42340bcb7 Put mfsroot.gz on yet another filesystem so that the boot blocks
can really read it.  Hmm.  I have no idea *how* this worked in our
earlier tests on the x86. :)
1998-12-06 04:06:39 +00:00
Jordan K. Hubbard
cb488ea5e9 Updates for Alpha. 1998-10-13 21:03:56 +00:00
Jordan K. Hubbard
1c61cf54dd Whoops, correct brain-o. 1998-10-03 14:16:06 +00:00
Jordan K. Hubbard
b9dd246109 Add a tweak for the alpha. 1998-10-03 14:10:28 +00:00
John Hay
4f0591349b Make the vn device that is being used to build the floppies configurable.
You can now do something like "make release VNDEVICE=vn1". This makes it
possible to do something else with vn0, for instance building another
release.
1998-03-22 18:39:42 +00:00
Jordan K. Hubbard
b386088ba6 1. Sync ABOUT.TXT changes.
2. Go back to using a filesystem on the boot floppy; the rawboot boot blocks
   were just too non-functional for other things.
1997-02-05 04:29:53 +00:00
Joerg Wunsch
661a46b5a1 Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''.

Requested by:	jkh
1996-12-01 17:19:29 +00:00
Poul-Henning Kamp
f8d8dfe86e Try to impreve DD mode.
Try to make 4Mb floppies work again.
1996-11-27 22:52:34 +00:00
Jordan K. Hubbard
891ccbd5b7 Purely cosmetic cleanup. 1996-11-09 09:24:30 +00:00
Jordan K. Hubbard
23c0fda959 Installation cleanup, round II. 1996-10-01 12:13:29 +00:00
Jordan K. Hubbard
ae33fac50c Some release changes I've had to make in dealing with the floppy space
crisis.
1996-07-09 16:52:53 +00:00
Joerg Wunsch
1117d2af7a Make the reduction algorithm to tune the file system size less
aggressive, in order to avoid /mnt: file system full problems.

Introduce a deadlock counter.

Turn off echoing again, it's cluttering the screen/log.

Gross hack to avoid the `vn0: invalid primary partition table: no magic'
warning.

Seems that doFS.sh is now doing the job...
1996-01-21 17:24:54 +00:00
Joerg Wunsch
bc8a32f09c Remove phk's errr... interesting idea of slicing a floppy into 10
cylinder groups. :)
1996-01-21 15:09:25 +00:00
Poul-Henning Kamp
c66cda217a I belive this works now. 1996-01-14 19:10:16 +00:00
Poul-Henning Kamp
a91fd1190d Shrink BOOTMFS kernel further. Make doFS.sh more intelligent.
boot4.flp should work fine as far as I can tell.
1996-01-13 23:31:46 +00:00
Poul-Henning Kamp
f477ac8ae6 Don't make the fs-image in /dev :-) 1996-01-10 06:32:22 +00:00
Poul-Henning Kamp
288fe4dbdf Moved doFS into shell-script so we can be more smart about it.
make two boot floppies, one without help files for 4MB systems.
Mine's loading one now. :-)  -O2 may be needed.
1996-01-08 22:13:50 +00:00