summaryrefslogtreecommitdiffstats
path: root/sbin/newfs
Commit message (Collapse)AuthorAgeFilesLines
* man page link tmpfs.8 -> mfs.8 for former SunOS userswosch1996-02-021-1/+1
|
* A better algorithm to place the numbers on the lines.joerg1996-01-301-17/+17
| | | | Submitted by: satoshi
* Fix a bunch of spelling errors.mpp1996-01-291-1/+1
|
* Make the numbers for the "superblock backups" fit nicely on the screen,joerg1996-01-251-1/+35
| | | | | even for larger partitions. Until now, partition sizes > 500 MB messed up the screen.
* Change the reference to format(8) (which we don't have) to fdformat(1) andmpp1996-01-221-1/+2
| | | | scsiformat(8) (which we do have). Closes PR# 663.
* Add hooks into the mount_mfs code in newfs to do the FreeBSD-stylepeter1996-01-011-1/+15
| | | | | | | LKM loading if it was not configured into the system. Note that the LKM for MFS is not enabled by default, but I got it working on my machine.. I'll see what I did..
* Shorten a variable name.dg1995-09-171-4/+4
|
* Avoid the "calculated sectors per cylinder disagrees with disklabel"joerg1995-09-091-1/+9
| | | | | warning for the default case where the user hasn't specified either -t or -u on the command line. It's been confusing our users.
* Fixed error in maxcontig calculation that caused it to default to "1".dg1995-09-081-1/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Flush stdout when writing out each superblock backup.dg1995-05-021-0/+1
|
* Yank out the rewriting of disklabels. This code can and will get confusedphk1995-04-191-52/+0
| | | | | | in a couple of cases, and it doesn't do much anyway. It used to save only the newfs params (block/frag/cgroup.. and nothing more. Something that don't belong in a disklabel in the first place.
* Allow zero as value for certain arguments to indicate "take from disklabel".phk1995-02-051-2/+2
|
* Change the defaults for newfs to disregard the geometry in the disklabel.phk1995-02-052-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | We pretend we have one head with two megabyte worth of sectors per cylinder. The code try to access another head in what it belives to the same physical cylinder, because it belives that it would be faster than waiting for the next free sector under this head to come around. Most modern drives doesn't have a "classical" geometry, and thus we end up fooling ourselves doing the above optimization. With this change we will fill a cylinder sequentially if we can, and thus get much more mileage from the track-buffer/cache built into the drives. As a result a lot of seeks to the next or previous track should be avoided by this. (My disk is a lot less noisy actually...) You can still get the old behaviour, by specifying zero for the numbers. This will also solve the problem with newfs barfing at really big drives. Obtained from: adult advice from Kirk.
* Add support for filesystem-specific `-o' options, and re-implement thewollman1994-11-011-1/+1
| | | | | | | | | | | | | | | | most common cd9660 and nfs options like God intended them. (It is now possible to say mount -o ro,soft,bg,intr there:/foo/bar /foo/bar again.) This whole getmntopt() business is an incredible botch; it never should have been anything more than a wrapper around getsubopt(3). Because if the way the current hackaround is implemented, options which take arguments (like the old `rsize' and `wsize') are still unavailable, and must be accessed the new, broken way. (It's unimaginable how Berkeley managed to screw up one of the few things about NFS that Sun actually got right to begin with!)
* Restrict fs_maxfilesize to 2^40; this is part of a bug fix from Kirkdg1994-10-221-0/+2
| | | | | | | McKusick to work around problems in FFS related to the blkno of a 64bit offset not fitting into an int. Submitted by: Marshall Kirk McKusick
* Put back the `:' in the trinary ?: so this can actually compile again! :)jkh1994-10-131-1/+1
|
* Added '-F file' option of mount_mfs. This allows me to make floppy imagesphk1994-10-123-8/+59
| | | | | without waiting for my floppy-drive all the time :-) Might have other interesting uses too.
* Backed out part of the last change that prevents the rpos table fromdg1994-10-093-6/+8
| | | | | | being output if <= 1 rpos; there is a bug in the kernel which doesn't quite get along with this. Changed default #rpos to 1, and fixed up manual page. Converted nrpos to 1 if user specifies 0.
* Fixed manpage to conform to current reality.dg1994-10-011-1/+4
| | | | Submitted by: Rod Grimes, with additional sentence by me.
* 1) If nrpos <= 1, don't output rpos table (and set fs_cpc to 0) - disablingdg1994-10-012-13/+23
| | | | | | | | | the use of the rotational position table. 2) Allow specification of 0 rotational positions (disables function). 3) Make rotdelay=0 and nrpos=0 by default. The purpose of the above is to optimize for modern SCSI (and IDE) drives that do read-ahead/write-behind.
* Set fs_clean.dg1994-08-261-0/+1
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-264-0/+2201
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud