cvs commit: src/sys/sys mdioctl.h src/sys/dev/md md.csrc/sbin/mdconfig Makefile mdconfig.8 mdconfig.c

Scott Long scottl at samsco.org
Fri Sep 17 07:42:15 PDT 2004


Ceri Davies wrote:
> On Fri, Sep 17, 2004 at 12:45:36AM +0200, Pawel Jakub Dawidek wrote:
> 
>>On Fri, Sep 17, 2004 at 01:09:59AM +0300, Giorgos Keramidas wrote:
>>+> > +> 	Filesystem                        Size    Used   Avail Capacity  Mounted on
>>+> > +> 	[...]
>>+> > +> 	/dev/md0                           15T    249M     14T     0%    /mnt
>>+> > +> 	/dev/md1                           11T    128K     10T     0%    /mnt2
>>+> >
>>+> > ragepxe:root:~# mdconfig -l -u 0
>>+> > md0     swap       15T
>>+> > ragepxe:root:~# mdconfig -l -u 1
>>+> > md1     vnode      11T
>>+> 
>>+> I think most of us were already jealous enough by seeing the first post :-P
>>+> (Thanks for the extra md coolness these commits made possible :-))
>>
>>Jealous about what?:) You know, that you can setup 15TB of md(4) swap-backed
>>device on 512MB swap partition, right?
> 
> 
> What happens if you try to fill them?
> 
> Ceri

The advantage of what Pawel has done is that you can simulate very large
disks for the purpose of debugging other utlities like sysinstall,
bsdlabel, fdisk, newfs, growfs, etc.  Some of these programs have
limitations that cannot be changed, but they can be verified and fixed
to have sane behaviour.

Scott


More information about the cvs-src mailing list