SpellsBook

 +Debian Install
+ Debian Install (6)
+ Disk and files (4)
+ Adding a new vserver
+ Mounting a container file as a mount point
+ Mounting a samba or windows share at reboot time
+ vserver backup
+ Packages (1)
+ Vservers (2)
 +Snippet Options
+   Printer Friendly
 +Library Options
+   View Other Library
Adobe_Flash_3_0
C_Plus_Plus
Debian_Install
Del_me_Soon
HTML_and_CSS
JavaScript
Linux_Commands
PHP
 +General Options
+   Library Home
+   PHP-CSL Credits
+   PHP-CSL License
+   Resource Links
+   Log in
Syntax for: Disk and files / Mounting a container file as a mount point

1:
mknod /dev/loop/2 b 7 2
dd  if=/dev/zero of=/west.img bs=1024 count=2560000
losetup /dev/loop/2 /west.img
mkfs.ext3 /dev/loop/2
mount -t ext3 /dev/loop/2 /vservers/west/
 
Description for: Disk and files / Mounting a container file as a mount point
  Creating a container file.
Mounting a container file as a mount point.

Note the above was intended to create a virtual file system to run an vserver in.


 
Powered by: PHP-CSL V0.9