10-28-2011
By VMBOX, do you mean VM VirtualBox?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a short script that takes a filename and secure copies the file to a remote machine. i'd like to be able to take a * character and secure copy all the files in the directory.
first of all, how would i compare $1 to see if it's a * character?
if or didn't do it.
second question is... (3 Replies)
Discussion started by: csejl
3 Replies
2. Shell Programming and Scripting
hi folks,
I am trying to write a script for deleting all the files which are older than "N" days from current directory.
CODE:
FileName="*.*"
NumDays=-1
echo $FileName
echo $NumDays
find * -prune -name $FileName -mtime $NumDays -exec rm {} \;
Now the problem here is when i... (3 Replies)
Discussion started by: amarnath
3 Replies
3. Solaris
Hello all.
I am trying to compile Apache 2 (again!) and the configure script keeps telling me it does not recognize the options. Everything I am including is in the --help list.
For example: --enable-so. First I will put in the LD flags, then configure with the --enable-so option.
... (2 Replies)
Discussion started by: RobertSubnet
2 Replies
4. Red Hat
I am currently working with 2 virtual machines (VirtualBox), my plan is to configure a kickstart for rhel 5.5 on one and using the other to install it too.
The problem I have having is the machines do not talk to one another ?!
I am running ubuntu 10.04 with (2 VMboxes) that do not talk to... (8 Replies)
Discussion started by: NelsonC
8 Replies
5. Shell Programming and Scripting
I will be passing an argument to a csh script
The script can be either of two forms
For example, either
script.csh zloc=5/10
or
script.csh zloc=5/10/20
So there can be either two values or three values. How can I distinguish which one the user has inputted?
I have made... (1 Reply)
Discussion started by: kristinu
1 Replies
6. Solaris
I've just installed Sol 10 Update 9 on a Sun 4140 server and have a RAID 1 configuration (2 136 Gb drives) for the OS and have created a RAID 5 array (6 136 GB) drives. When i log into the system I am unable to see the RAID 5 disks at all. I've tried using the devfsadm command but no luck and... (9 Replies)
Discussion started by: goose25
9 Replies
7. Shell Programming and Scripting
I thought I posted this before, but cannot see the post, so will re-post.
Apologies if it now appears twice !
My script prompts for a 7 digit parameter : read f1
I then run a find command to search for files with $f1 in its contents :
find . -print | grep $f1 {file} > temp1
I then run a cut... (1 Reply)
Discussion started by: malts18
1 Replies
8. Solaris
Hello,
I've read many posts that offer tips on how to mount a CDROM but I haven't seen any on how to get the system to recognize the CDROM drive.
I was transferring files from CDROM to the hard drive successfully. I entered the third CDROM and the system refused to automount it. I tried... (2 Replies)
Discussion started by: TrueSon
2 Replies
9. Filesystems, Disks and Memory
Hi,
I need to know what are the storages attached to some of our corporate servers. I run this command from the server only to get a list of WWNs :
# /usr/local/bin/evainfo -a
Devicefile Array WWNN Capacity ... (1 Reply)
Discussion started by: anaigini45
1 Replies
10. Shell Programming and Scripting
Sorry I put -r I ment to out -w but its not perform none of -w, -r, -x flags
Using centos 6.4
#!/bin/bash
echo -e "enter the name of file :\c"
read file_name
if
then
if
then
echo "Type some text date. Tp quit press crtl-"
cat >> $file_name
... (2 Replies)
Discussion started by: zbest1966
2 Replies
LEARN ABOUT DEBIAN
xmount
xmount(1) xmount xmount(1)
NAME
xmount - Tool to crossmount between multiple input and output harddisk image files
SYNOPSIS
xmount [[fopts] [mopts]] <ifile> [<ifile> [...]] <mntp>
DESCRIPTION
xmount allows you to convert on-the-fly between multiple input and output harddisk image types. xmount creates a virtual file system using
FUSE (Filesystem in Userspace) that contains a virtual representation of the input image. The virtual representation can be in raw DD, Vir-
tualBox's virtual disk file format, Microsoft's Virtual Hard Disk Image format or in VmWare's VMDK file format. Input images can be raw DD,
EWF (Expert Witness Compression Format) or AFF (Advanced Forensic Format) files. In addition, xmount also supports virtual write access to
the output files that is redirected to a cache file. This makes it possible to boot acquired harddisk images using QEMU, KVM, VirtualBox,
VmWare or alike.
OPTIONS
fopts: (Options specific to FUSE)
-d: Enable FUSE's and xmount's debug mode.
-h: Display this help message.
-s: Run single threaded.
-o no_allow_other: Disable automatic addition of FUSE's allow_other option.
-o <fmopts> :
Specify fuse mount options. Will also disable automatic addition of FUSE's
allow_other option!
INFO: For VMDK emulation, you have to uncomment "user_allow_other" in
/etc/fuse.conf or run xmount as root.
mopts: (Options specific to xmount)
--cache <file> :
Enable virtual write support and set cachefile to use.
--in <type> :
Specify input image type. Type can be "dd" or "ewf".
--info :
Print out some infos about used compiler and libraries.
--out <type> :
Specify output image type. Type can be "dd", "vdi", "vhd", "vmdk(s)".
--owcache <file> :
Same as --cache <file> but overwrites existing cache.
--rw <cache_file> :
Same as --cache.
--version :
Same as --info.
INFO: Input and output image type defaults to "dd" if not specified.
ifile:
Input image file. If you use EWF files, you have to specify all image
segments! (If your shell supports it, you can use .E?? as file
extension to specify them files)
mntp:
Mount point where virtual files should be located.
BUGS
Hopefully none. If you find any, please e-mail to <bugs@pinguin.lu>.
EXAMPLE
To xmount an EWF image from your acquired disk as a raw DD image under /mnt, use the following command:
xmount --in ewf ./acquired_disk.E?? /mnt
To xmount the same ewf image as vdi file, you would use a command like this:
xmount --in ewf --out vdi ./acquired_disk.E?? /mnt
And to enable virtual write support on a raw DD input image xmounted as VDI file:
xmount --out vdi --cache ./acquired_disk.cache ./acquired_disk.dd /mnt
Gillen Daniel May 9, 2012 xmount(1)