[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: mkdosfs
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2009-03-28 13:34:58
Message-ID: 200903281434.58663.vda.linux () googlemail ! com
[Download RAW message or body]
On Saturday 28 March 2009 08:35, Vladimir Dronnikov wrote:
> >
> > Check current svn first :D
> >
>
> Seems OK. Thanks!
>
> I treat seek-o-fobia as means for using stdout for resulting image, right?
> I did:
> # mkfs.vfat /proc/self/fd/1 1440 >dos1
>
> The resulting image mounts correctly, but is of size 27136. Shouldn't
> we fill the image in with zeros up to requested size?
This will take long, long, long, long, long, long time on a 2Tb disk...
To be honest, my intention is not to make "mkfs.vfat /proc/self/fd/1"
*generally* usable, I just don't want to make it *totally impossible*.
I think it is mainly useful as a debugging tool, to see what
we would write out, without actually playing with terabyte-sized images:
# ./busybox mkdosfs -F 32 -v /proc/self/fd/1 10111000111 >TEST
Device '/proc/self/fd/1':
heads:255, sectors/track:63, bytes/sector:512
media descriptor:f8
total sectors:20222000222, clusters:157965093, sectors/cluster:128
FATs:2, sectors/FAT:1234103
volumeID:49ce2696, label:''
writes out 1263790080 byte large file. Thus we *can* test 11 Tb image
creation.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic