Version |
Releasedate |
Description |
1.00 |
10/24/2005 |
initial release |
1.01 |
10/26/2005 |
added support for symbolic links |
1.02 | 08/27/2009 |
corrected a syntax error |
share_cdrom_images.sh [start|stop] [imagefile ...]
bash-2.05# ./share_cdrom_images.sh start
share_cdrom_images.sh - Reading the config file
"/etc/share_cdrom_images.conf" ...
share_cdrom_images.sh - Starting the share for
"/var/cdimg/iso/sol10x86_companioncd.iso" (Mountpoint is
"/tmp/sol10comp") ...
share_cdrom_images.sh - Creating a lofi device for
"/var/cdimg/iso/sol10x86_companioncd.iso" ...
share_cdrom_images.sh - Mounting "/tmp/sol10comp" to "/dev/lofi/1" ...
share_cdrom_images.sh - Sharing "/tmp/sol10comp" ...
share_cdrom_images.sh - Starting the share for
"/var/cdimg/BootCD_2.0.11_cdrom_with_ISOImage.iso" (Mountpoint is
"/tmp/bootcd") ...
share_cdrom_images.sh - Creating a lofi device for
"/var/cdimg/BootCD_2.0.11_cdrom_with_ISOImage.iso" ...
share_cdrom_images.sh - Mounting "/tmp/bootcd" to "/dev/lofi/2" ...
share_cdrom_images.sh - Sharing "/tmp/bootcd" ...
share_cdrom_images.sh - Starting the share for
"/var/cdimg/vxstor41.iso" (Mountpoint is "/tmp/vxstor") ...
share_cdrom_images.sh - Creating a lofi device for
"/var/cdimg/vxstor41.iso" ...
share_cdrom_images.sh - Mounting "/tmp/vxstor" to "/dev/lofi/3" ...
share_cdrom_images.sh - Sharing "/tmp/vxstor" ...
bash-2.05#
bash-2.05# ./share_cdrom_images.sh status
share_cdrom_images.sh - Reading the config file
"/etc/share_cdrom_images.conf" ...
share_cdrom_images.sh - Checking the status of
"/var/cdimg/iso/sol10x86_companioncd.iso" (Mountpoint is
"/tmp/sol10comp") ...
share_cdrom_images.sh - The lofi device exists (/dev/lofi/1)
share_cdrom_images.sh - The mount exists
share_cdrom_images.sh - The directory is shared
share_cdrom_images.sh - Checking the status of
"/var/cdimg/BootCD_2.0.11_cdrom_with_ISOImage.iso" (Mountpoint is
"/tmp/bootcd") ...
share_cdrom_images.sh - The lofi device exists (/dev/lofi/2)
share_cdrom_images.sh - The mount exists
share_cdrom_images.sh - The directory is shared
share_cdrom_images.sh - Checking the status of
"/var/cdimg/vxstor41.iso" (Mountpoint is "/tmp/vxstor") ...
share_cdrom_images.sh - The lofi device exists (/dev/lofi/3)
share_cdrom_images.sh - The mount exists
share_cdrom_images.sh - The directory is shared
bash-2.05#
bash-2.05#
bash-2.05# ./share_cdrom_images.sh stop
share_cdrom_images.sh - Reading the config file
"/etc/share_cdrom_images.conf" ...
share_cdrom_images.sh - Stopping the share for
"/var/cdimg/iso/sol10x86_companioncd.iso" (Mountpoint is
"/tmp/sol10comp") ...
share_cdrom_images.sh - Unsharing "/tmp/sol10comp" ...
share_cdrom_images.sh - Umounting "/tmp/sol10comp" ...
share_cdrom_images.sh - Removing the lofi device "/dev/lofi/1" for
"/var/cdimg/iso/sol10x86_companioncd.iso" ...
share_cdrom_images.sh - Stopping the share for
"/var/cdimg/BootCD_2.0.11_cdrom_with_ISOImage.iso" (Mountpoint is
"/tmp/bootcd") ...
share_cdrom_images.sh - Unsharing "/tmp/bootcd" ...
share_cdrom_images.sh - Umounting "/tmp/bootcd" ...
share_cdrom_images.sh - Removing the lofi device "/dev/lofi/2" for
"/var/cdimg/BootCD_2.0.11_cdrom_with_ISOImage.iso" ...
share_cdrom_images.sh - Stopping the share for
"/var/cdimg/vxstor41.iso" (Mountpoint is "/tmp/vxstor") ...
share_cdrom_images.sh - Unsharing "/tmp/vxstor" ...
share_cdrom_images.sh - Umounting "/tmp/vxstor" ...
share_cdrom_images.sh - Removing the lofi device "/dev/lofi/3" for
"/var/cdimg/vxstor41.iso" ...
bash-2.05#
image_file ; mount_point ; mount_options ; share_options ; alias