General :: Create A Growing Image For A Loopback Device

Aug 10, 2010

I was wondering if it is possible to create a growing image for a loopback device. Like a file that you create that will grow with the data that is placed on it instead of a file that has to be the size of the entire file system?

View 4 Replies


ADVERTISEMENT

General :: Broken Loopback Device ?

May 26, 2010

I have the following scenario: I have a file that I want to edit from certain point a certain amount of bytes.

I tried using losetup but failed:

Code:

If I loop the file entirely it works, but that's not helping me. (I'm actually keeping the C option for last since shell programming is less restrictive.

View 5 Replies View Related

General :: Create A Shell Script To Move Only Files Which Has Stopped Growing?

Jul 20, 2009

An external service I dont manage pushes mediafiles into a shared directory on my server. I need to move these files into their correct directories automatically. The problem is that if I run my script as a cronjob once every 3 minutes, I notice that the script copies files which are still on their way into my server. So I need to figure out how to have the script check that the files are complete (done downloading) before the script moves the files. This is what I got so far:

Code:

#!/bin/sh
# Script by proximity 280709.
# Locate correct directory

[code]....

View 8 Replies View Related

General :: Create Device File For Image File?

Sep 8, 2010

Everything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.

View 2 Replies View Related

Fedora :: WebCamStudio- No Loopback Device

Jul 21, 2010

I have extracted the WebCamStudio java application into a folder in my Fedora 13 x86_64 installation. I can run WebCamStudio with the command java -jar "WebcamStudio.jar".

I can successfully select sources and view preview etc. However, the bottom status line permanently states "no output". There is no vloopback device to select in Cheese, camstream, Skype, AMsn etc. Does anyone know how I can get the loopback device to work?

I have added my username to the group "video"

I only have /dev/video0 - should there be another module for the loopback device?

Linux 2.6.33.6-147.fc13.x86_64
WebcamStudio 0.55a

View 3 Replies View Related

Networking :: Pseudodevice And Loopback Device ?

Nov 22, 2010

The concepts of pseudodevice and loopback device ?

View 1 Replies View Related

Networking :: Communication Without Loopback Device

Jan 13, 2010

I have two ethernet card on my computer, I want to make a TCP or UDP communication between these two cards, so I disable loopback: #ifconfig lo down. but with out loopback I can't even ping an eth from another one. how should I do? I want traffic to really pass eth cards.

View 2 Replies View Related

Fedora :: Grub2 Loopback Boot From Livecd Iso Image Does Not Work?

Nov 6, 2009

I wonder why fedora livecd images cannot be booted by grub2 loopback method, which works with ubuntu and debian.i have tried something like this:

menuentry "fedora 11 i386" {
loopback loop /boot/iso/Fedora-11-i686-Live.iso
linux (loop)/isolinux/vmlinuz0 root=CDLABEL=Fedora-11-i686-LiveCD rootfstype=auto ro

[code]...

View 5 Replies View Related

Ubuntu :: Mount Loopback Device As Root

Jun 23, 2011

I am trying to expand my Ubuntu partition into my Windows 7 C: drive, but the win7 partioner will not let me shrink it because of immovable files. Is there anyway for me to but an loopback device in the windows partion, and have Ubuntu boot with that as the root device?

View 1 Replies View Related

Server :: Loopback Device - Maximum Size

Sep 24, 2010

This seems like a relatively simple question, but the answer seems to elude everyone: What is the MAXIMUM SIZE of a Linux loopback device (not counting any specific filesystem limitations)? Is it the maximum size of a linux block device?

View 4 Replies View Related

SUSE / Novell :: DNS And 127.0.0.2 Address / Loopback Device Lo Has Two Addresses?

Apr 19, 2010

We�re experimenting with deploying SUSE 10 SP3 systems and adding them to a Windows domain and DNS. Oddly, when we register in DNS, it gets registered under two address: the real IP address, and the address 127.0.0.2. Also, an ip addr command shows that the loopback device lo has two addresses: 127.0.0.1 and 127.0.0.2.

The above behavior is just on SP3. On SUSE 10 SP2, the lo device has only the 127.0.0.1 address, and the system is able to register correctly in DNS.

Do you know what the 127.0.0.2 address signifies, or how to get rid of it?

View 3 Replies View Related

Ubuntu :: Code To Access Hard Disk Sectors (LoopBack Device)

Jan 26, 2011

I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it has the following configuration.

Code: $> sudo fdisk -l /dev/loop0
Disk /dev/loop0: 10 MB, 10977280 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/loop0 doesn't contain a valid partition table Now what I want to do is develop a c++ program to read & write files to this loop back device,which I'm using to simulate an actual hard disk,at the blocks & sectors level. So far I've come up with the following code. But I'm still unable to read files from the hard disk one block at a time.

Code: #include <iostream>
#include <stdio.h>
using namespace std;
int main() {
char block[512]; int length=0;
cout<<"Implementation of the File Handler Read Method..."<<endl;
FILE *f = fopen("/dev/loop0", "r");
if(f == NULL) {
cout<<"Error In Opening the HardDisk File Retuning Error..."<<endl; return -1; }
//Read One Block of Data to Buffer length = fread(block, 1, sizeof(block), f);
/* Do something with the data */ cout<<"Length : "<<length<<endl;
return 0; }

When I run this Program All what I get is the message for NULL. "Error In Opening the HardDisk File Retuning Error...". So I could open the loopback device as a file an access it at the sectors & block level.

View 1 Replies View Related

General :: Use An USB Instead Of A DVD To Create ISO Image?

May 21, 2011

I just downloaded the FEDORA iso image file. Naturally, the next step is to create a DVD. The problem is I'm using a mininetbook hith no DVD unit and I have not an external one, so I think I can use the USB as an alternative, but I just don't find how to in the documentation, and the applications to burn DVD's dont have the option... how can I do this?

View 14 Replies View Related

General :: How Create Bootstick From ISO Image?

Jan 15, 2011

(I tried to post this earlier and it got lost.) I have a Ubuntu ISO image that I downloaded with Slackware, the only system I have. Ubuntu does not tell how to make a bootstick using anything but Windows,Mac, and Ubuntu. I tried "dd if=...ubuntu... of=/dev/sdb bs=512" and it did not put anything on the stick. Is there a procedure for making such a thing?

View 8 Replies View Related

General :: Create FS Image And Mount?

Jul 13, 2011

How to create the FS image and mount the same ..?

I need to store some data in the image which I'll be creating ..?

View 8 Replies View Related

General :: Create New Initrd Image In Sles10.2?

Aug 13, 2010

i need to create new initrd image in sles10.2

View 1 Replies View Related

General :: Create An Image Of Hard Drive?

Jun 14, 2011

I've performed a clean install of Linux on my system, and would like to create a snapshot of my whole disk so that I can go back to a fresh state immediately.

I used to use DriveImage XML and it was a FANTASTIC program, but unfortunately the boot CD containing it can only be created by having Windows installed. So it might be time to explore a new program that is equally simple and effective as that one.

I'd like your recommendations of imaging programs that are free, and that work off a boot CD/DVD (because the live backup thing generally takes much longer for imaging an entire disk).

One thing I liked about DriveImage XML was that it stored the backup in a fairly readable format, so if one day DriveImage XML were no longer available you wouldn't lose your backed up data. Any such programs?

Also, would these programs work for a drive that contains an encrypted root partition (i.e. enabling the encryption checkbox in the CentOS installation)?

View 8 Replies View Related

General :: How To Create / Boot RAM Image From Disk

Apr 6, 2010

How do I create/boot a ram image from a disk? I'd like to create a linux installation that is booted from a USB or CF drive and after boot does not access the disk.

View 4 Replies View Related

General :: Display Boot Splash Image On Embedded Device Using Fbsplash?

May 13, 2011

I'm working on a project to have our company logo image display on the screen during bootup. Our platform is an embedded Linux device running on a custom configured linux kernel 2.6.38.2. Our development distro is Ubuntu 10.04. I am currently trying to get fbsplash to work on our device with no luck so far.

View 1 Replies View Related

General :: Create An Image For A 300GB Hdd Drive Over The Internet

May 14, 2010

I want to make an image of a 300GB hdd and I'm looking for a program that can do this.

There's one hdd with one single partition, 300GB size and I want to create an image of the hdd. To make things more clear, I want a mirror of a hdd.

Thing is, I have a server machine over the internet, which has a 300GB hdd single partition and I want to copy its contains, including OS.

I know Acronis, I worked with it before, but... idk if it has a gb limit when creating a image of a hdd. Acronis can backup/restore images of a hdd via internet, if you have an acronis server.

Let's put it this way, I don't have time (liek always... sorry 'bout that, but I'm not lazy, I just don't have time ) to search for a program and to make tests, and I would like a little help, maybe point to a program / solution that you guys have been tested.

- Remember it's a single 300GB hdd with a single partition. I want to copy the hdd over the internet, that's why I'm pointing to a program that can makes an image of that hdd over the internet.

Like... it's not that I want especially a program that can do this, maybe there's other solution aswell. Just feel free and share your solution/opinion whatever.

View 1 Replies View Related

General :: Create ISO Image Of Running Ubuntu System

Feb 26, 2011

i have Ubuntu 10.04 installed on a virtual machine. i have made a modification and would like to create a CD of this running system.I guess i need to first make and ISO of the system and the copy to a CD. can anyone give guidance on the process to do this?

View 1 Replies View Related

General :: How To Create Disk Image Of Actual Data

Nov 15, 2010

Suppose I have a 80 GB hard disk (sda) with 4GB of contents. Using a dd to copy to a different disk

Code:
dd if=/dev/sda of=/dev/sdb
copies all the contents (including free space). So sdb also needs to be 80GB.

You will notice that in VMWare or VirtualBox disk images, it is possible to set the disk to use only the amount of space of actual data. So a 80GB virtualbox/vmware image with 4GB of contents will be 4GB.

Is it possible to do that with an actual hard disk (sda) image? I want to create an image of an actual hard disk, copy it to DVD and transport it (in mail) for restoration on another computer (having same hard disk).

View 6 Replies View Related

General :: Create An Image Of Hdd And Store On Another Computer As A Backup?

Dec 7, 2010

I Acer aspire 3620 and would like to backup whole system. My laptop has a 40Gig hdd. Is there a way I can either create an image or copy(clone) to another computer just in case I need it. If it matters I have a spare 40 gig drive on the other computer. The reason for doing this is so that I can try a system restore and if anything goes wrong I want to be able to transfer back. Also if it is posible how could I put it back and be bootable.

View 14 Replies View Related

General :: Customized And Create (CD/DVD) Knoppix Image From 6.2 Version?

Nov 17, 2010

I want customized image of knoppix 6.2 version. Please let me know how to customize and create CD/DVD knoppix image.

View 1 Replies View Related

General :: Which Mirror Image - Create A USB Startup Disk?

Jun 13, 2011

At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.

View 8 Replies View Related

General :: Installation - Create An Image File Of A Running System?

Dec 9, 2010

As I understand it creating an image of a Linux system makes an exact copy of the OS and any user files/configurations/programs etc. What i would love to do is create an image of my work PC and install it at home on my desktop. Can someone briefly explain the process of creating and installing images of Linux systems?

Home OS - windows Want - An image file that can be executed in a virtual machine(VMPlayer or VirtualBox) or booted directly on my home PC.

View 3 Replies View Related

General :: Clone Or Create Image Of Working Servers Having Centos5.3?

Dec 15, 2010

i have centos 5.3 , i want to clone or create image of my working servers having centos5.3 in another hardisk so that if my server down i can just put this another hardisk which having image or clone of the crash server and my server will up in small amount of time is it possible or not if yes then how

View 4 Replies View Related

General :: How To Create Dummy Input Device

Mar 19, 2009

Long story short - on my laptop, touch pad is recognised as PS/2 mouse. Everything works (moving, clicking, dragging, vertical scroll). But I often accidental click the pad while typing.Synaptic driver recognises it as ALPS glide point it seems (synclient -m 1 gives me back only x,y difference for the gestures, but X,Y coordinates are always 0,0) - so then I get everything right including disabling mouse on keyboard input - but scrolling doesn't work So I came up with 2 possible ideas - which I don't know how to do/test:1. Perhaps there is a way to disable mouse input while typing without synaptics drivers?2. Create a dummy input device (mouse), and tie synaptics driver to it. Add another input device in xorg.conf to point to the real touch pad as PS/2. And make the synaptics disable "real mouse" by enabling GuestMouseOff option.

View 1 Replies View Related

General :: Can't Mount Usb Disk - It Just Create /dev/sg Device But No /dev/sd

Dec 23, 2010

I have a Corsair R60 ssd disk which is a disk with both sata and usb connectors. But the usb thing seems to be a bit non-standard, or maybe its just my fedora linux.When I insert the disk using a usb cabel to a running Fedora 14 linux system, a device called /dev/sg3 is added but that is all. No new /dev/sd* device is created so I can't mount the disk.

If I look at

cat /proc/scsi/sg/device_strs

I get

ATA Hitachi HTS54321 FB2O
HL-DT-ST DVDRAM GSA-T50N RP05
Seagate Desktop 0130
Corsair CSSD-R60GB2

So the disk is there. (The last entry) but my linux will for some reason not see it as a usb hard disk. When I insert other usb disks they work fine. It is only this specific disk which causes problems. I have tried on 3 different computers with the same result.

A hint to the problem may be that if I add the disk to a windows system(With usb) the disk is called "A fixed disk" and not a portable disk as expected. The disk works fine with linux If i connect it with the sata cabel, but I would really like to have it working with usb too. (To mount it on computers without sata).

Added:I did try to mount /dev/sg3 but mount say that its not a block device. (File say Its a character special device).

Added output from dmesg:

[ 97.454073] usb 7-1: USB disconnect, address 2
[ 105.913055] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 107.048054] usb 2-3: new high speed USB device using ehci_hcd and address 5
[ 107.162900] usb 2-3: New USB device found, idVendor=1b1c, idProduct=1ab8

[code]....

I found an other guy with exactly the same problem [URL] so I think its beginning to look like a bug in the drives firmware or in the linux kernel.

Final update:Corsair have said that the disk design is broken and there does not seem to be any way to make it work.

View 1 Replies View Related

General :: Create An Image Of Slackware OS But Vmware Is Unable To Detect The Disk?

Mar 4, 2011

i am trying to create an image of Slackware OS but vmware is not able to detect the disk. it gives me below error, "Unable to detect disks or volumes on the source machine. Make sure that the source is a supported linux distribution." can some one tell me what do i need to do to create the image.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved