Displaying 20 results from an estimated 1197 matches for "mkfs".
2015 Jan 13
3
[PATCH] mkfs: add 'label' optional argument
Add the 'label' optional argument to the mkfs action, so it is possible
to set a filesystem label direct when creating it. There may be
filesystems not supporting changing the label of existing filesystems
but only setting it at creation time, so this new optarg will help.
Implement it for the most common filesystems (ext*, fat, ntfs, btrfs,...
2012 Feb 16
1
[PATCH] mkfs: wipefs before we mkfs
we wipe the filesystem signatures from device before do mkfs,
since we can't trust mkfs can remove the filesystem signature absolutely.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/mkfs.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/daemon/mkfs.c b/daemon/mkfs.c
index 5475582..19224ec 10...
2008 Apr 25
2
reversing the effects of mkfs.btrfs?
I was playing around with btrfs, and did a mkfs.btrfs on one of my
partition. Mistakes, it was my data partition (ext3 based).
I have not yet mounted the device, but the mkfs.btrfs continued to
completion.
Is it possible to salvage my ext3 filesystem? Anyway to reverse the
effect of mkfs.btrfs?
Thank you for your help/answer.
--
Regards...
2011 Dec 14
1
[PATCH] mkfs: optimization and code cleanup
Optimizations by reducing the STREQ operations and do some
code cleanup.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/mkfs.c | 29 +++++++++++++----------------
1 files changed, 13 insertions(+), 16 deletions(-)
diff --git a/daemon/mkfs.c b/daemon/mkfs.c
index a2c2366..7757623 100644
--- a/daemon/mkfs.c
+++ b/daemon/mkfs.c
@@ -44,13 +44,16 @@ do_mkfs_opts (const char *fstype, const char *device, int blocksize,
in...
2013 Nov 14
3
[PATCH] btrfs-progs: mkfs: extend -O syntax to disable features
A way of disabling features that are on by default in case it''s not
wanted, eg. due to lack of support in the used kernel.
Signed-off-by: David Sterba <dsterba@suse.cz>
---
mkfs.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/mkfs.c b/mkfs.c
index cd0af9ef8b4f..f825e1b6bc2d 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1168,7 +1168,11 @@ static int parse_one_fs_feature(const char *name, u64 *flags)
int found = 0;
for (i = 0; i < ARRAY_SIZE(mkfs_f...
2010 Dec 02
2
[PATCH 0/2] Add mkfs-opts API with optional arguments
This requires changing the generator so it can handle passing optional
arguments all thr way through to the daemon, changing the protocol
(see previous patch set), and implementing the new mkfs-opts call.
At the moment there is just an optional blocksize argument, thus
mimicking what you can already do with 'mkfs-b'. But this change will
allow us in future to encode much of the rest of the /sbin/mkfs
command line.
Here is how it works from guestfish (with verbose & trace):...
2013 Dec 10
0
[PATCH] daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
From: "Richard W.M. Jones" <rjones@redhat.com>
If you use virt-make-fs to create a partitionless FAT-formatted disk
image then currently you will get an error:
$ virt-make-fs --type=fat . /tmp/test.img
'mkfs' (create filesystem) operation failed.
Instead of 'fat', try 'vfat' (long filenames) or 'msdos' (short filenames).
mkfs: fat: /dev/sda: mkfs.fat: Device partition expected, not making filesystem on entire device '/dev/sda' (use -I to override) at /usr/bin/virt-ma...
2008 Jun 18
1
mkfs.ocfs2: double free or corruption
Dear Srs,
I get this error when running "mkfs.ocfs2":
=================================================================================
# mkfs.ocfs2 -b 4K -C 32K -N 255 -L backup_ocfs2_001 /dev/sdb1
mkfs.ocfs2 1.2.7
Filesystem label=backup_ocfs2_001
Block size=4096 (bits=12)
Cluster size=32768 (bits=15)
Volume size=6000488677376 (1831203...
2010 Jun 30
2
How can binaries be different when package versions are identical? (mkfs.ext3 on CentOS 5.4)
...g
an ext3 filesystem on one takes seconds, on the other minutes.
Partition Size Server 1 Server 2
1 GB 0.7 sec 0.3 sec
4 GB 2.5 sec 1.2 sec
40 GB 15 sec 13 min
WTF
e2fsprogs RPM is e2fsprogs-1.39-23.el5 on both systems
mkfs --version reports "util-linux 2.13-pre7" on both systems
mkfs -V reports the same on both systems (mke2fs 1.3 (29-May-2006)
Using EXT2FS Library version 1.39)
file size on mkfs and mkfs.ext3 binaries is identical
However, checksum on these binaries differs across servers, and "cmp&q...
2001 Nov 08
2
Which mkfs tool can I use for an ext3 file system??
HI,
I have just upgraded my Linux 7.1 to 7.2 (so I can
have ext3 available for use). My question is how do I
format a partition for an ext3 file system? We can
normally run the command 'mkfs' or 'mkfs.ext2' to
format an ext2 file system, or 'mkfs.xfs' for an xfs
file system. I was looking for some utilily like
'mkfs.ext3' or similar.
Question: Does ext3 support large file (file > 2GB)?
Eventhough there's no mention of ext3 supporting large
file, a f...
2013 Sep 05
3
[PATCH v2 0/3] btrfs-progs: prevent mkfs from aborting with small volume
Here are 3 patches to avoid undesired aborts of mkfs.btrfs.
These are based on top of Chris''s btrfs-progs.git:
git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
Thanks,
H.Seto
Hidetoshi Seto (3):
btrfs-progs: error if device for mkfs is too small
btrfs-progs: error if device have no space to make primary c...
2009 Nov 08
1
[PATCH] Add reiserfs tools to appliance.
...ttp://www.annexia.org/fedora_mingw
-------------- next part --------------
>From 7fe17011f1b048b7292fdee169f303e492d894fb Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones at redhat.com>
Date: Sun, 8 Nov 2009 12:17:18 +0000
Subject: [PATCH] Add reiserfs tools to appliance.
Also get the mkfs command to work with "reiserfs" parameter.
---
appliance/packagelist.in | 2 ++
daemon/mkfs.c | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/appliance/packagelist.in b/appliance/packagelist.in
index b3609df..a0cedb9 100644
--- a/appliance/pack...
2011 Mar 02
1
Problem with mkfs.ocfs2
When I try and run the mkfs.ocfs2 command after I have updated all of the other nodes in the cluster with the new node information in cluster.conf I am getting the following error:
mkfs.ocfs2 -b 4k -C 32K -L "ocfs2" -N 4 /dev/sdb1
mkfs.ocfs2 1.4.4
Cluster stack: classic o2cb
Overwriting existing ocfs2 partition.
mk...
2009 Jan 13
1
[btrfs-progs 1/4] Add man/mkfs.btrfs.8.in
Add man/mkfs.btrfs.8.in
Kept the name with the name in, so that further processing such as
BUILD_DATE BUILD_VERSION etc. could be included later.
All man pages included in the man directory to avoid file cluttering.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
---
man/mkfs.btrfs.8.in | 63 ++++...
2010 Oct 01
3
question on mkfs.hfsplus
I am wanting to use the mkfs.hfsplus as mentioned here
http://www.oli.id.au/createosxdmgdiskimagesinlinux
but I dont have the command.
yum provides "*/mkfs.hfsplus" returns no packages found.
Where do I find this command? Thanks.
Jerry
2013 May 16
0
[PATCH] btrfs-progs: mkfs: add -O option to specify fs features
Extend mkfs options to specify optional or potentially backwards
incompatible features.
Signed-off-by: David Sterba <dsterba@suse.cz>
---
man/mkfs.btrfs.8.in | 9 ++++
mkfs.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 123 insertions(+), 10 deletions(-)...
2012 Apr 02
2
[PATCH 0/2] Fix btrfs blocksize and bind mkfs.btrfs (RHBZ#807905).
https://bugzilla.redhat.com/show_bug.cgi?id=807905
Currently if you specify the blocksize parameter to mkfs-opts with a
btrfs filesystem, then it fails, because mkfs.btrfs interprets the -b
option as meaning filesystem size.
The first patch fixes this by disallowing blocksize (it cannot be
mapped meaningfully into btrfs parameters).
The second patch adds the full /sbin/mkfs.btrfs utility to the API.
We...
2004 Mar 10
1
mkfs under different kernels
Is there any difference between running mkfs.ext3 under a 2.4 kernel and
running that under a 2.6 kernel?
Any benefits gained from doing it under 2.6?
2008 Jul 28
1
why does mkfs.ocfs2 take so long?
Hi,
Why does mkfs.ocfs2 take so long compared to gfs2 (pretty fast iirc),
xfs (almost instantaneous), or ext3 (slow but still ok)? I'm using:
# mkfs.ocfs2 -F -b 4k -C 4k -L san1 -T mail /dev/vg/san1
mkfs.ocfs2 1.3.9
Overwriting existing ocfs2 partition.
WARNING: Cluster check disabled.
Proceed (y/N): y
Filesyst...
2011 Nov 01
1
btrfs-progs
...Y_SOURCE=2 -g -Werror -Os -c btrfsctl.c
gcc -g -Werror -Os -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o volumes.o utils.o btrfs-list.o btrfslabel.o -luuid
ls mkfs.c
mkfs.c
gcc -Wp,-MMD,./.mkfs.o.d,-MT,mkfs.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -Werror -Os -c mkfs.c
mkfs.c:39:24: fatal error: attr/xattr.h: No such file or directory
compilation terminated.
make: *** [mkfs.o] Error 1
andy@eccles:~/btrfs-progs$
Is attr a required dependency of...