Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-29 | mount_mfs does not require disklabel to be run; | Jason McIntyre | |
diff From: Navan Carson confirmed/ok mikeb | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||
2014-07-20 | Mark fatal() as printf-like. | Philip Guenther | |
Don't put a format string that's only used once in a variable. | |||
2014-06-30 | Use getrlimit(2) instead of assuming MAXDSIZ is available in userland. | Otto Moerbeek | |
ok deraadt@ | |||
2014-01-24 | Don't include <machine/vmparam.h> directly. Instead, get it with its necessary | Miod Vallat | |
dependencies via <sys/sysctl.h>. Unbreaks ppc userland build. | |||
2013-11-22 | Whole bunch of (unsigned char) casts carefully added for ctype calls. | Theo de Raadt | |
Careful second audit by millert | |||
2013-11-12 | add a variety of missing prototypes | Theo de Raadt | |
2013-11-05 | Replace direct references to p_size, p_offset and d_secperunit with | Kenneth R Westerback | |
DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value. | |||
2013-11-03 | Add missing (long long) cast of variable, (long long) casts | Kenneth R Westerback | |
for defines fragnum, fsbtodb, cgsblock, and cgdmin. | |||
2013-11-01 | Sprinkle (long long) casts where %lld is being used to print daddr_t | Kenneth R Westerback | |
variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@ | |||
2013-10-07 | Say 'fragments' where fragments are meant. Divide by DEV_BSIZE | Kenneth R Westerback | |
to convert from bytes to DEV_SIZE. ok otto@ zhuk@ (for his chunk) | |||
2013-10-07 | Show number of sectors, not the number of 512-byte blocks, when | Kenneth R Westerback | |
saying "n sectors of m bytes". Issue pointed out by David Vasek on misc@. Thanks! | |||
2013-10-07 | Oops. Too mechanical -- can't use DL_SECTOBLK() to set fssize, since | Kenneth R Westerback | |
command line sector size overrides disk label sector size. Add a comment to make sure I don't do it again. | |||
2013-10-06 | daddr_t tweaks. %lld -> %llu, intermediate disk sector calculation | Kenneth R Westerback | |
variable, drop pointless casts, vax-only sector variable to u_int64_t. No intentional functional change. | |||
2013-10-06 | daddr_t comment tweak and whitespace fix. | Kenneth R Westerback | |
2013-06-11 | final removal of daddr64_t. daddr_t has been 64 bit for a long enough | Theo de Raadt | |
test period; i think 3 years ago the last bugs fell out. ok otto beck others | |||
2013-04-23 | handle large ino_t; ok tedu | Theo de Raadt | |
2011-06-05 | fix format string | Charles Longeau | |
ok dcoppa@ otto@ also reviewed by Vadim Zhukov | |||
2011-05-23 | Allow specifying k/m/g/... suffixes in newfs(8) -S and -s options. | David Coppa | |
Useful for mount_mfs, now you can just say: # mount_mfs -s 50m swap /tmp And it will do what you want, taking into account sector size. Old behaviour of -s (specifying count of sectors) is, of course, preserved. All the work was done by Vadim Zhukov (persgray(at)gmail com). OK myself, otto@, thib@ | |||
2011-04-26 | setrlimit only if mfs; ok millert@ | Otto Moerbeek | |
2011-03-31 | these days, newfs creates one inode per 4 fragments, rather than one per 8KB, | Stuart Henderson | |
this lets it adapt to large filesystems (disklabel -E automatically increases fragment and block size for these). ok otto@ | |||
2010-12-13 | stray tab | Marco Peereboom | |
2010-07-24 | mount -f doesn't help mfs, but it doesn't hurt, so stop warning about it. | Ted Unangst | |
ok deraadt | |||
2010-07-02 | garbage collect an unused variable | Theo de Raadt | |
2010-05-18 | dont let sys/ioctl.h imply that you get the ioctls in dkio.h. this | David Gwynne | |
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@ | |||
2010-05-03 | Switch newfs to opendev(3) - this simplies the code and will allow it to | Joel Sing | |
benefit from planned changes to opendev(3). ok krw@ marco@ | |||
2010-04-23 | Recycle unused disklabel fields in order to create a disklabel unique | Joel Sing | |
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@ | |||
2010-03-21 | compute an estimate of how much memory is needed to fsck_ffs the fs | Otto Moerbeek | |
we're about to create and warn the user if this is larger than either physmem or MAXDSIZ; ok deraadt@ krw@ thib@ | |||
2010-03-21 | document -b and -f get their defaults from the disklabel; ok jmc@ | Otto Moerbeek | |
2010-03-20 | wee tweak; | Jason McIntyre | |
2010-03-20 | Make FFS2 the default format for file systems larger than INT_MAX | Kenneth R Westerback | |
512-byte blocks. Better than just blowing up. Tweak man page to document this and clarify various things. Inspired by problems noted during an install by Harald Dunkel. Suggestions and man page corrections from otto@ and jmc@ ok beck@ | |||
2009-12-23 | partion -> partition. First one (mkfs.c) noted by Brad Tilley on tech@. | Kenneth R Westerback | |
2008-08-08 | Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a. | Kenneth R Westerback | |
512) bytes; ffs is inextricably tied to using b_blkno and disklabel always uses sectorsize units. Thus use DEV_BSIZE units for all fields describing ffs filesystems and convert to/from sectors where required. This enables the creation and use of ffs filesystems on non-512 byte sectorsize devices. This diff allows i386 and sgi (the two test platforms) to find disklabels that are not on a sectorsize boundary. Same change to further archs coming. This is a no-op on 512-byte sectorsize devices. This work triggered by jsing@'s need to create ffs filesystems on sgi cdroms so we can create cdrom install media for sgi. sgi testing by jsing@ ok jsing@ pedro@ "looks sane" beck@ weingart@ | |||
2008-08-04 | refuse to run on block devices; prompted by marco; ok marco@ millert@ | Otto Moerbeek | |
deraadt@ | |||
2008-08-03 | spread the unwritten wisdom newfs should be run on raw devs, not on | Otto Moerbeek | |
block devs; ok marco@ jmc@ millert@ deraadt@ | |||
2008-07-06 | Don't change the size of the partition being newfs'd when sectorsize, | Kenneth R Westerback | |
either from the disklabel or via -S, is not 512 bytes. Disklabel partition sizes are sectors and not 512 byte blocks. One less 'block is 512 bytes' assumption. 2^32 or so to go. ok otto@ millert@ | |||
2008-06-27 | documentation tweak. | Igor Sobrado | |
2008-06-24 | - move -S and -t into the main option descriptions: they were the only | Jason McIntyre | |
options left of the old tuning list, and it makes sense to have one list now - document -T. this was requested by todd (fries), and comes largely from the description in netbsd's page of the same name ok millert otto | |||
2008-06-04 | warnx already prepends string with a colon, no need to manually add one | Tobias Stoeckmann | |
here. ok millert, otto | |||
2008-01-29 | More read/write result checking fixes to avoid unsigned comparisons vs | Kenneth R Westerback | |
-1. ok henning@ beck@ ray@ | |||
2008-01-15 | s/fragements/fragments/ in usage(). | Stuart Henderson | |
'please fix' jmc | |||
2008-01-12 | document the max size of FFS and FFS2 file systems plus some rewording; | Otto Moerbeek | |
with and ok jmc@ | |||
2008-01-05 | handle 64-bit blkno's in format string | Otto Moerbeek | |
2007-11-26 | revised diff that handles the no mfs parts correctly | Ted Unangst | |
2007-11-25 | when running as newfs, there is no argv[1].. backout previous | Theo de Raadt | |
2007-11-25 | Iruata Souza sent a diff that fixes weird occurences when mounting with | Ted Unangst | |
a relative path: use realpath to only mount with absolute names. ok deraadt thib | |||
2007-11-05 | forgotten arg to printf, Tobias Ulmer | Otto Moerbeek | |
2007-07-07 | Initialize the first 2 block's worth of inodes for ffs1 as well as ffs2. | Todd C. Miller | |
This was not happening since acg.cg_initediblk gets cleared for the ffs1 case. OK otto@ | |||
2007-06-26 | Enable creation of larger than 1TB FFS2 filesystems. Note that this | Otto Moerbeek | |
won't work yet. There remains sys/ufs work. ok deraadt@ | |||
2007-06-10 | remove last instances of daddr_t; ok thib@ | Otto Moerbeek | |