mount -o loop question.

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



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




-- 
Sendmail administration is not black magic.  There are legitimate technical reasons why it requires the sacrificing of a live chicken.

  | |0| |   Jobst Schmalenbach, jobst@xxxxxxxxxxxxxx, General Manager
  | | |0|   Barrett Consulting Group P/L & The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
_______________________________________________
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