summaryrefslogtreecommitdiffstats
path: root/mkfs.c
AgeCommit message (Expand)AuthorFilesLines
2015-01-28btrfs-progs: autoconf: use standard PACKAGE_* macrosKarel Zak1-5/+4
2015-01-27btrfs-progs: drop feature defines from C files, in favour of CFLAGS definesDimitri John Ledkov1-3/+0
2015-01-19btrfs-progs: make getopt tables static constDavid Sterba1-1/+1
2015-01-19btrfs-progs: cleanup, move getop long options close to their useDavid Sterba1-20/+20
2014-12-18btrfs-progs: include headers required for musl-libcMerlijn Wajer1-0/+2
2014-12-10btrfs-progs: mkfs: make skinny-metadata defaultDavid Sterba1-1/+2
2014-10-16btrfs-progs: mkfs should be consistent in calling register deviceAnand Jain1-2/+2
2014-08-22btrfs-progs: mkfs make --uuid require an argumentDavid Sterba1-1/+1
2014-08-22btrfs-progs: mkfs: remove experimental tagDavid Sterba1-3/+2
2014-08-22btrfs-progs: define BTRFS_MKFS_SMALL_VOLUME_SIZE for small volumeAnand Jain1-1/+1
2014-08-22btrfs-progs: dont break the stringAnand Jain1-2/+2
2014-08-22btrfs-progs: Add minimum device size checkQu Wenruo1-0/+30
2014-08-22btrfs-progs: mkfs: allow UUID specification at mkfs timeEric Sandeen1-2/+22
2014-05-02btrfs-progs: fix mkfs.btrfs segfault with --features optionHolger Hoffstätte1-1/+1
2014-05-02Btrfs-progs: mkfs: remove ununsed parametersRakesh Pandit1-2/+2
2014-05-02Btrfs-progs: mkfs: Remove 'zero_end =1' since it has been set to a valueLi Yang1-1/+0
2014-03-21btrfs-progs: skip erroneous free before initializationGui Hecheng1-1/+2
2014-03-21btrfs-progs: fix bug on mkfs with relative path specifiedGui Hecheng1-6/+17
2014-03-21Btrfs-progs: mkfs: make sure we can deal with hard links with -r optionWang Shilong1-12/+9
2014-03-21Btrfs-progs: mkfs: don't create extent for an empty fileWang Shilong1-0/+3
2014-03-21btrfs-progs: include <sys/xattr.h> instead of <attr/xattr.h>Christophe Vu-Brugier1-1/+1
2014-01-31Btrfs-progs: add support for the no holes incompat flagJosef Bacik1-0/+2
2014-01-31btrfs-progs: handle error in the btrfs_prepare_deviceAnand Jain1-1/+8
2014-01-31btrfs-progs: remove NULL-ptr judge before free for btrfs-progsGui Hecheng1-2/+1
2014-01-31btrfs-progs: Turning ON incompat isn't an errorAnand Jain1-2/+1
2014-01-31Btrfs-progs: fix the mismatch of extent buffer's spaceLiu Bo1-0/+1
2013-11-15btrfs-progs: for mixed group check opt before default raid profile is enforcedAnand Jain1-9/+9
2013-11-14btrfs-progs: mkfs: enable extended refs by defaultDavid Sterba1-3/+10
2013-11-14btrfs-progs: mkfs: extend -O syntax to disable featuresDavid Sterba1-1/+5
2013-11-08mkfs: change default metadata blocksize to 16KBChris Mason1-1/+18
2013-11-07btrfs-progs: don't leak buffer on add_file_items() errorEric Sandeen1-0/+1
2013-11-07Btrfs-progs: rework open_ctree to take flags, add a new one V2Josef Bacik1-1/+1
2013-10-16mkfs: fix mkfs -r to properly allocate spaceChris Mason1-161/+70
2013-10-16btrfs-progs: use better name for nodiscard variable and flip the logicDavid Sterba1-4/+4
2013-10-16btrfs-progs: fix -Wmissing-noreturnChris West (Faux)1-0/+3
2013-10-16btrfs-progs: error if device have no space to make primary chunksHidetoshi Seto1-0/+17
2013-10-16btrfs-progs: error if device for mkfs is too smallHidetoshi Seto1-0/+5
2013-10-16btrfs-progs: local variable memory freedGui Hecheng1-1/+11
2013-10-16Btrfs-progs: fix compile warning in is_ssd()Wang Shilong1-1/+7
2013-10-16btrfs-progs: mkfs should check for small vol well beforeAnand Jain1-9/+11
2013-10-16btrfs-progs: avoid write to the disk before sure to create fsAnand Jain1-63/+41
2013-09-03Btrfs-progs: mkfs can now create fs with skinny extentsFilipe David Borba Manana1-22/+15
2013-09-03btrfs-progs: use NULL instead of 0Zach Brown1-1/+1
2013-09-03btrfs-progs: don't use <linux/fs.h>Zach Brown1-1/+0
2013-09-03btrfs-progs: remove __CHECKER__ from main codeZach Brown1-3/+0
2013-09-03btrfs-progs: mkfs.btrfs documentation: clarify current restrictions of sector...Koen De Wit1-1/+1
2013-09-03btrfs-progs: drop unused parameter from btrfs_release_pathEric Sandeen1-3/+3
2013-08-09Btrfs-progs: return error on write failure in make_btrfs()Filipe David Borba Manana1-1/+1
2013-08-09btrfs-progs: per-thread, per-call pretty bufferZach Brown1-3/+1
2013-08-09btrfs-progs: mkfs: add -O option to specify fs featuresDavid Sterba1-10/+114
2013-07-03Btrfs-progs: fix missing recow roots when making btrfs filesystemWang Shilong1-35/+21
2013-04-23btrfs-progs: use clearer var names in is_ssd()Eric Sandeen1-8/+9
2013-04-23btrfs-progs: replace blkid_probe_get_wholedisk_devnoEric Sandeen1-14/+5
2013-04-23btrfs-progs: do not enable extended refs in mkfs by defaultDavid Sterba1-1/+0
2013-04-23btrfs-progs: revert skinny extents changes from mkfsDavid Sterba1-10/+1
2013-04-23Btrfs-progs: add skinny metadata support to progs V3Josef Bacik1-2/+11
2013-04-23btrfs-progs: mkfs should first check all disks before writing to a diskAnand Jain1-160/+32
2013-03-14btrfs-progs: document force option in mkfs usage(); add long optEric Sandeen1-0/+2
2013-03-10btrfs-progs: separate super_copy out of fs_infoDavid Sterba1-6/+6
2013-03-10btrfs-progs: update mkfs.btrfs help info for raid5/6Zhi Yong Wu1-1/+1
2013-02-19btrfs-progs: require mkfs -f force option to overwrite filesystem or partitio...Eric Sandeen1-2/+98
2013-02-19Btrfs-progs: check out if the swap deviceTsutomu Itoh1-2/+50
2013-02-06Merge branch 'cov-fixes-v1-integration-20130201' of http://git.zabbo.net/cgit...Chris Mason1-20/+27
2013-02-06Merge branch 'for-chris' of git://repo.or.cz/btrfs-progs-unstable/devel into ...Chris Mason1-18/+74
2013-02-05btrfs-progs: don't close(-1)Zach Brown1-1/+1
2013-02-05btrfs-progs: use ftw() unstead of system("du")Zach Brown1-19/+26
2013-02-01Add basic RAID[56] supportDavid Woodhouse1-8/+32
2013-01-31btrfs-progs: mkfs support for extended inode refsMark Fasheh1-5/+8
2013-01-31btrfs-progs: fix mkfs.btrfs -r optionEric Sandeen1-0/+2
2013-01-25btrfs-progs: kill check for /'s in labelsJosef Bacik1-7/+0
2013-01-23Btrfs-progs: detect if the disk we are formatting is a ssdJosef Bacik1-3/+60
2013-01-23btrfs-progs: Use sysconf instead of getpagesizeEric Sandeen1-2/+2
2013-01-21btrfs-progs: Handle errors returned from open_ctreeDanny Kukawka1-1/+2
2013-01-17Move parse_size() to utils.[hc]Goffredo Baroncelli1-31/+0
2013-01-17btrfs-progs: add -V description in print_usageWang Sheng-Hui1-0/+1
2013-01-17Btrfs-progs: Fix compiler warnings on PPC64Wade Cline1-1/+2
2012-10-04btrfs-progs: limit the max value of leafsize and nodesizeRobin Dong1-6/+23
2012-10-02Btrfs-progs: only enforce a maximum size if we specify oneJosef Bacik1-9/+6
2012-10-02btrfs-progs: mkfs: rename nodiscard option to KDavid Sterba1-4/+4
2012-07-06btrfs-progs: mkfs: add option to skip trimDavid Sterba1-4/+11
2012-07-05Merge branch 'for-chris' of git://github.com/idryomov/btrfs-progs into 0.20Chris Mason1-4/+12
2012-07-03btrfs-progs: enforce block count on all devices in mkfsJosef Bacik1-0/+1
2012-07-03mkfs: Handle creation of filesystem larger than the first deviceJan Kara1-0/+4
2012-06-05mkfs: avoid heap-buffer-read-underrun for zero-length "size" argJim Meyering1-1/+1
2012-06-05mkfs: use strdup in place of strlen,malloc,strcpy sequenceJim Meyering1-2/+1
2012-03-26mkfs: make -l and -n an alias for each otherChris Mason1-4/+8
2012-03-13Btrfs-progs: allow dup for data chunks in mixed modeIlya Dryomov1-4/+12
2011-12-12Btrfs-progs: change the way mkfs picks raid profilesIlya Dryomov1-11/+35
2011-12-12Btrfs-progs: fail gracefully on error from open_ctree()Ilya Dryomov1-4/+5
2011-10-25btrfs-progs: Improvement for making btrfs image from source directory.Zhong, Xin1-15/+16
2011-10-25Btrfs-progs: specify label length larger than 255 bytes cause mkfs.btrfs buff...Jeff Liu1-2/+2
2011-10-25remove unused variablesHubert Kario1-3/+0
2011-10-25mkfs.btrfs: Fix compilation errors with gcc 4.6Hugo Mills1-3/+4
2011-10-25mkfs.btrfs: fix error text in '-r' modeSergei Trofimovich1-1/+1
2011-10-25mkfs.btrfs: fix memory leak caused by 'scandir()' callsSergei Trofimovich1-0/+16
2011-10-25mkfs.btrfs: free buffers allocated by pretty_sizesSergei Trofimovich1-1/+3
2011-10-25mkfs.btrfs: write zeroes instead on uninitialized data.Sergei Trofimovich1-0/+7
2011-10-25mkfs.btrfs: fix symlink names writingSergei Trofimovich1-1/+3
2011-10-25mkfs.btrfs: fail on scandir error (-r mode)Sergei Trofimovich1-0/+6
2011-10-25Fix unused-but-set errors in gcc-4.6Chris Ball1-3/+0
2011-10-25btrfs-progs: Add new feature to mkfs.btrfs to make file system image file fro...Donggeun Kim1-24/+840
2011-10-25Btrfs-progs: add support for mixed data+metadata block groupsJosef Bacik1-35/+87
2009-06-08Mixed back reference (FORWARD ROLLING FORMAT CHANGE)Chris Mason1-1/+6
2009-06-03Fix printf format casting errorsLuca Bruno1-1/+1
2009-06-03Add -V|--version to mkfs.btrfs argument parserLuca Bruno1-1/+11
2009-01-11Fix mispatch of the experimental warningsChris Mason1-0/+3
2009-01-07Fix mkfs.btrfs usage help to match the current argsShen Feng1-1/+5
2009-01-07Make the minimum filesystem size error message more clearShen Feng1-0/+7
2008-12-17Btrfs: update converter for the new disk formatYan Zheng1-1/+1
2008-12-05superblock duplicationYan Zheng1-2/+5
2008-12-08Btrfs: move data checksumming into a dedicated treeChris Mason1-2/+2
2008-10-29Add root tree pointer transaction idsYan Zheng1-0/+1
2008-09-26update mkfs.btrfs for the new space balancing codeZheng Yan1-0/+29
2008-09-23Full back reference supportZheng Yan1-13/+8
2008-07-24btrfs-progs new dir index supportJosef Bacik1-1/+1
2008-07-24Print the version string in a few programsChris Mason1-0/+3
2008-05-05Add a readonly flag open_ctree to force RO opensChris Mason1-2/+2
2008-05-01Fix uninitialized variables, and use -O so gcc starts checking for themChris Mason1-1/+1
2008-04-28Add btrfs-vol command to balance, add and (eventually) remove devicesChris Mason1-0/+7
2008-04-25Add mkfs.btrfs -A offset to control allocation start on devicesChris Mason1-1/+7
2008-04-22Update the Ext3 converterChris Mason1-2/+2
2008-04-22Add a command to show all of the btrfs filesystems on the box (btrfs-show)Chris Mason1-6/+10
2008-04-18Add checks to avoid adding the same device twice during mkfsChris Mason1-0/+8
2008-04-18Use better chunk sizes for small and large filesystemsChris Mason1-1/+1
2008-04-18Add support for filesystem labels via mkfs.btrfs -LChris Mason1-18/+44
2008-04-16Add raid10 supportChris Mason1-1/+6
2008-04-15Add chunk uuids and update multi-device back referencesChris Mason1-4/+5
2008-04-09Use leafsize and nodesize == pagesize for nowChris Mason1-2/+2
2008-04-04Recow all roots at the end of mkfsChris Mason1-1/+44
2008-04-03Add mkfs options for data and metadata mirroring modesChris Mason1-9/+35
2008-04-03Add support for single single duplication of metadataChris Mason1-29/+51
2008-04-03Add mirroring support across multiple drivesChris Mason1-0/+25
2008-04-01Use getopt_long and introduce long mkfs options. -s now means --sectorsizeChris Mason1-3/+21
2008-04-01check if partition is mounted before mkfsGoldwyn Rodrigues1-0/+19
2008-03-24Walk all block devices looking for btrfsChris Mason1-3/+5
2008-03-24ioctls to scan for btrfs filesystemsChris Mason1-108/+53
2008-03-24Add support for multiple devices per filesystemChris Mason1-4/+41
2008-02-15mkfs: Zero 2MB at the start and end of the deviceChris Mason1-6/+51
2008-01-04Update btrfs-progs to match kernel sourcesYan1-255/+14
2007-12-21Add online resizing ioctlsChris Mason1-7/+35
2007-12-13Reorder extent back refs to differentiate file data from btree blocksChris Mason1-2/+2
2007-12-12Create macros to generation set/get funcs for on disk structuresChris Mason1-8/+11
2007-12-11Add back pointers from extents to the file or btree referencing themChris Mason1-1/+0
2007-12-09Add generation numbers to block pointersChris Mason1-1/+1
2007-11-30Add simple stripe size parameterv0.9Chris Mason1-3/+8
2007-10-17Remove the last radix tree (block_group_cache)Chris Mason1-11/+12
2007-10-15Switch to byte granular allocationsChris Mason1-67/+112
2007-10-15Allow large blocksChris Mason1-14/+15
2007-08-29btrfs-progs support for root block accountingv0.8Josef Bacik1-1/+2
2007-08-07add defrag ioctlv0.6Chris Mason1-0/+1
2007-06-12i386 fixes from axboeChris Mason1-1/+2
2007-06-12add GPLv2Chris Mason1-0/+18
2007-06-12printf cleanupsChris Mason1-2/+2
2007-06-09remove device treeChris Mason1-49/+10
2007-06-07endian fixes, makefile fixesChris Mason1-3/+3
2007-05-30data vs metadata flag for block groupsChris Mason1-1/+6
2007-04-26start of block group codeChris Mason1-0/+54
2007-04-24get rid of the extent_item type fieldChris Mason1-1/+0
2007-04-23fsck checks against extent map, small fixesChris Mason1-0/+2
2007-04-20add owner and type fields to the extents aand block headersChris Mason1-0/+1
2007-04-12add some support for multiple devices to progsChris Mason1-1/+4
2007-04-11early support for multiple devicesChris Mason1-16/+56
2007-04-11use a different inode number for subvols than the root root dirChris Mason1-9/+5
2007-04-10drop owner and parentidChris Mason1-9/+0
2007-04-10drop the inode map treeChris Mason1-45/+9
2007-04-09groundwork for subvolume and snapshot rootsChris Mason1-0/+1
2007-04-06start of support for subvolumesChris Mason1-19/+54
2007-04-05uuidsChris Mason1-0/+4
2007-04-02sync up with kernel sourcesChris Mason1-1/+1
2007-03-26generations on headersChris Mason1-0/+1
2007-03-22mkfs and dir-test fixesChris Mason1-1/+1
2007-03-21create a root dir in mkfsChris Mason1-5/+69
2007-03-20Better block record keeping, real mkfsChris Mason1-1/+94
2007-03-20Add inode map, and the start of file extent itemsChris Mason1-7/+37
2007-03-15Use a chunk of the key flags to record the item type.Chris Mason1-13/+15
2007-03-14variable block size supportChris Mason1-120/+51
2007-03-13Change the super to point to a tree of trees to enable persistent snapshotsChris Mason1-6/+122
2007-03-13rename funcs and structs to btrfsChris Mason1-13/+13
2007-03-13struct extent_item endianChris Mason1-4/+4
2007-03-12struct item endian fixesChris Mason1-15/+21
2007-03-12struct key endian fixesChris Mason1-7/+7
2007-03-12get/set for struct header fieldsChris Mason1-5/+5
2007-02-23Block sized tree extents and extent deletionChris Mason1-16/+21
2007-02-21extent fixesChris Mason1-2/+5
2007-02-20add mkfs.cChris Mason1-0/+69