History log of /dragonfly/sbin/newfs/mkfs.c (Results 1 – 25 of 31)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 161c3d83 13-Oct-2019 Sascha Wildner <saw@online.de>

world/kernel: Use the powerof2() macro in various places.


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1
# 32506cfa 10-Apr-2018 Sascha Wildner <saw@online.de>

Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM.

<sys/ioctl_compat.h> really is only for old tty related stuff.

Also bump __DragonFly_version, because there is one port which

Move the IOCTLTRIM ioctl to a better header and rename it to DAIOCTRIM.

<sys/ioctl_compat.h> really is only for old tty related stuff.

Also bump __DragonFly_version, because there is one port which uses
IOCTLTRIM currently, i.e. benchmarks/fio. We'll send a patch upstream
that switches it to DAIOCTRIM, and once the updated version has hit
the /usr/dports tree, I will remove IOCTLTRIM from base.

show more ...


# c309c6d4 07-Apr-2018 Sascha Wildner <saw@online.de>

ufs: Rename a number of UFS constants throughout the tree.

ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS1_MAXSYM

ufs: Rename a number of UFS constants throughout the tree.

ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS1_MAXSYMLINKLEN

This helps to better sepate them from identically named EXT2 constants
which I'll rename in a later commit.

It also helps with my makefs(8) port.

I went with FreeBSD's names, so it is UFS1_MAXSYMLINKLEN even though
we'll probably never have UFS2, but since they are in public headers,
some stuff in dports might benefit from it in the future.

For safety, bump <sys/param.h> too.

show more ...


Revision tags: v5.2.0, v5.3.0, v5.2.0rc
# a92dccf2 20-Dec-2017 Sascha Wildner <saw@online.de>

Add __attribute__((__noreturn__)) to various function prototypes in sbin/.

This general cleanup is useful in various ways. It helps the compiler
optimize better and it also helps later GCCs detect b

Add __attribute__((__noreturn__)) to various function prototypes in sbin/.

This general cleanup is useful in various ways. It helps the compiler
optimize better and it also helps later GCCs detect better when to give
-Wimplicit-fallthrough warnings and when not.

Found-with: -Wsuggest-attribute=noreturn

show more ...


Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3
# dc71b7ab 31-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadl

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadler.com>

show more ...


Revision tags: v3.4.2
# 25a2db75 06-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Remove advertising header from all userland binaries.

From: Eitan Adler <lists@eitanadler.com>


Revision tags: v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1
# 44ebca50 20-Oct-2012 Sascha Wildner <saw@online.de>

newfs(8): Remove an unused variable.

Found-by: gcc47


Revision tags: v3.2.0, v3.3.0
# 50a61867 01-Oct-2012 John Marino <draco@marino.st>

gcc47 build fixes: Unused-but-set-variable + more warnings

The following programs fail to build with gcc47 due to the new
unused-but-set-variable warning. They've been fixed in various ways.
The on

gcc47 build fixes: Unused-but-set-variable + more warnings

The following programs fail to build with gcc47 due to the new
unused-but-set-variable warning. They've been fixed in various ways.
The ones set with WARNS=3 suppress cast-qual warning
There is a single enum-compare error too.

This effort is not complete.

bin/csh pass -Wno-unused-but-set-variable
bin/mined source file modified
bin/sh set WARNS=3
crypto/openssh source file modified (2)
gnu/lib/libdialog source file modified
gnu/usr.bin/gdb/kgdb source file modified
gnu/usr.bin/rcs source file modified
lib/libalias source file modified
lib/libdevstat source file modified
lib/libdm set WARNS=3
lib/libevtr source file modified
lib/libldns pass -Wno-unused-but-set-variable
lib/libncp source file modified
lib/libpam set WARNS=3
lib/libsmdb pass -Wno-unused-but-set-variable
lib/libstand source file modified (4)
lib/libtcplay source file modified
lib/libthread_xu source file modified (2)
libexec/rshd source file modified
libexec/telnetd source file modified
libexec/ypxfr pass -Wno-enum-compare
sbin/atm/fore_dnld source file modified
sbin/atm/ilmid source file modified
sbin/atm/camcontrol source file modifief (2)
sbin/ccdconfig source file modified
sbin/cryptdisks source file modified
sbin/ffsinfo source file modified
sbin/fsirand source file modified
sbin/growfs source file modified
sbin/hammer source file modified
sbin/ldconfig source file modified (real bug here?)
sbin/mount source file modified
sbin/mount_ufs source file modified
sbin/mount_extfs source file modified
sbin/mountd source file modified
sbin/natd source file modified
sbin/newfs source file modified
sbin/ping6 set WARNS=3, source modified
sbin/rcorder source file modified
sbin/reboot source file modified (real bug here?)
sbin/udevd source file modified
sbin/usched source file modified
sbin/vinum source file modified
sys/boot/common source file modified
sys/boot/pc32/loader source file modified
usr.bin/brandelf source file modified
usr.bin/bzip2 pass -Wno-unused-but-set-variable
usr.bin/dfregress source file modified
usr.bin/ee source file modified
usr.bin/less pass -Wno-unused-but-set-variable

show more ...


Revision tags: v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


# 4a568af9 08-Oct-2011 Sascha Wildner <saw@online.de>

Fix the i386 buildworld.

Reported-by: Joachim de Groot <jdegroot@web.de>


# e0fb398b 07-Oct-2011 Tim <bissont@mac.com>

TRIM support

Signed-off-by: Samuel J. Greear <sjg@thesjg.com>


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0
# e0efe3ae 05-Sep-2009 Matthew Dillon <dillon@apollo.backplane.com>

MFS - Use mmap() instead of malloc().

* mmap does not have the dataspace limitations which malloc does, allowing
us to create a much larger MFS filesystem.


# 272b4ce8 01-Sep-2009 Matthew Dillon <dillon@apollo.backplane.com>

MFS - Fix MFS size passed to kernel mfs component

* Half the size was being passed because fssize is adjusted by
mkfs from a sector-based count to a filesystem-block-based count.
This caused fai

MFS - Fix MFS size passed to kernel mfs component

* Half the size was being passed because fssize is adjusted by
mkfs from a sector-based count to a filesystem-block-based count.
This caused failures as the MFS filesystem filled up.

show more ...


# ac9389d5 17-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

MFS - Clean up debug code, remove stuff no longer needed for DEVFS


# a3e91732 17-Aug-2009 Matthew Dillon <dillon@apollo.backplane.com>

MFS - Fix bug in SIGUSR1 signaling.

* The signaling code was using sigblock() improperly, not only passing
the wrong mask but also trying to restore the original mask using
sigblock() instead of

MFS - Fix bug in SIGUSR1 signaling.

* The signaling code was using sigblock() improperly, not only passing
the wrong mask but also trying to restore the original mask using
sigblock() instead of sigsetmask().

show more ...


Revision tags: v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 41e59acb 20-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Remove all dependancies newfs had on accessing the disklabel. Use
getdisktabbyname() instead of getdiskbyname() and use DIOCGPART instead
of DIOCGDINFO to get the geometry information. Also make th

Remove all dependancies newfs had on accessing the disklabel. Use
getdisktabbyname() instead of getdiskbyname() and use DIOCGPART instead
of DIOCGDINFO to get the geometry information. Also make the -v option
work properly with regular files.

NOTE: newfs will no longer retrieve the fs fragment and block size fields
from the disklabel, so non-default operation must be specified with options.
newfs will also no longer attempt to update the disklabel.

show more ...


# 8df7ed2b 13-Aug-2006 Sascha Wildner <swildner@dragonflybsd.org>

Fix typo in comment.

Submitted-by: Trevor Kendall <trevorjkendall@gmail.com>


# d5d88fdc 13-Aug-2006 Sascha Wildner <swildner@dragonflybsd.org>

Use 'j' size modifier for printf'ing ino_t.


# 67ad9090 03-Apr-2006 Matthew Dillon <dillon@dragonflybsd.org>

A number of structures related to UFS and QUOTAS have changed name.

dinode -> ufs1_dinode
dqblk -> ufs_dqblk (and other quota related structures)


# 4462150b 06-Jan-2005 Chris Pressey <cpressey@dragonflybsd.org>

Raise WARNS of newfs to 6:
- Use static char buffer instead of string constant;
- Move and add some function prototypes;
- Don't reuse a scratch variable, use a real pid_t to hold the
result of a f

Raise WARNS of newfs to 6:
- Use static char buffer instead of string constant;
- Move and add some function prototypes;
- Don't reuse a scratch variable, use a real pid_t to hold the
result of a fork();
- Cast variables as needed (mainly to u_long and u_int32) to avoid
signed-unsigned comparison warnings;
- Rename some variables to avoid name clashes;
- Mark some parameters as unused;
- Add MOPT_NULL as a struct mntopt constant for terminating a list.

And apply some style(9):
- Move out some loop invariant code, for clarity;
- Remove `register' keywords;
- Make explicit some checks against NULL.

Based-on-patch-by: Peter Schuller
<peter_dot_schuller_at_infidyne_dot_com>
Tested-by: typical usage of installer

show more ...


# 7cee7052 18-Dec-2004 Sascha Wildner <swildner@dragonflybsd.org>

Clean (void) casts from sbin


# a5655e72 26-Jun-2004 Matthew Dillon <dillon@dragonflybsd.org>

Do not generate the 'Block size restricts cylinder groups to BLAH' warning
when generating an MFS filesystem.


# 8af0d623 04-Feb-2004 Joerg Sonnenberger <joerg@dragonflybsd.org>

Fix various warnings.

Patch submitted by Simon "corecode" Schubert.


# 76f3e8b3 01-Dec-2003 Matthew Dillon <dillon@dragonflybsd.org>

Add the -C option to mount_mfs. This option will automatically copy the
underlying filesystem into the MFS mount being created over it. It does
this by loading the directory and file structure into

Add the -C option to mount_mfs. This option will automatically copy the
underlying filesystem into the MFS mount being created over it. It does
this by loading the directory and file structure into memory, creating the
MFS mount, then storing the directory and file structure back into the MFS
mount.

This will be used when booting from read-only media to generate an 'easy'
read-write template. For example:

mount_mfs -s 16384 -C swap /var

Softlinks, devices, regular files, directories, and hardlinks are maintained.
Fifos and sockets are not copied.

show more ...


# 9a76cd75 01-Nov-2003 David Rhodus <drhodus@dragonflybsd.org>

* Nuke ~771 __P()'s from our tree.

Work sent-in by: Eirik Nygaard <eirikn@kerneled.com>


12