Re: mount -o loop question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The question is what do you want from this feature. The LVM would be 
able to provide you the ability to adjust the size dynamically. loop 
device is not part of this game. It offers you build the kernel or fixed 
file only. To append the number of null will make the system to be 
reformatted again to me.

I don't think we can do it.

------------
Banyan He
Blog: http://www.rootong.com
Email: banyan@xxxxxxxxxxx

On 2012-10-23 2:08 PM, Jobst Schmalenbach wrote:
> Hi,
>
> I know I can create a file and mount it like this:
>
>    dd if=/dev/zero of=/tmp/somefile bs=1024 count=100000
>    mke2fs /tmp/somefile
>    mount /tmp/somefile /mnt -o loop
>
> but that has a problem it cannot grow.
>
> Is there a way to do the same (above) but have it not restricted to a size?
>
> Or can I append blocks to the end of the file without distroying it?
>
>
>
> Jobst
>
>
>
>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux