Sponsored Content
Full Discussion: .IMG file help!!!
Top Forums UNIX for Dummies Questions & Answers .IMG file help!!! Post 302483146 by Corona688 on Friday 24th of December 2010 02:36:23 AM
Old 12-24-2010
Your original instructions didn't include a lazy unmount. Are you still doing that or not? I'm guessing you started doing lazy unmounts because a normal unmount wouldn't work, which may be significant.

Please tell us exactly what you typed in console when you tried to mount it later, word for word, letter for letter, keystroke for keystroke.

And tell us exactly what the error said when it didn't work, word for word, letter for letter, keystroke for keystroke.

Last edited by Corona688; 12-24-2010 at 03:44 AM..
 

8 More Discussions You Might Find Interesting

1. Programming

getting img url

hey, i just found this forum...how cool. question: does anybody know code or know where i can get the code to get a certain image URL from user? say user input URL from shell prompt when run the program. What is the code to take that URL open internet and download the image. thanks alot. (2 Replies)
Discussion started by: bb00y
2 Replies

2. UNIX for Advanced & Expert Users

.DSK to .IMG ?

Hi, I have a windows emulator that I am wanting to try out, but my Windows 3.1 files are split up over 6 .DSK images, and I need to convert them to an .IMG that I can actually mount on my system (so that the emulator can see it). Is there a way to do this? thanks. -patrick (0 Replies)
Discussion started by: patrick99e99
0 Replies

3. Solaris

Read/View .img files from SunOs 5.8

We use imaging software from a cardiology clinic on SunOS 5.8 and I want to be able to see these image files (.img extension) on Windows XP. Can this be done? If so, with what software (on Windows XP)? On Windows XP, I've used software like Ulead PhotoImpact and Corel PhotoPaint but I've had no... (16 Replies)
Discussion started by: sreyes27
16 Replies

4. Red Hat

Fedora installation getting stuck in initrd.img

I have a 80GB hard disk with WinXP already installed.I had tried installing Fedora 10 earlier without creating new partitions(real foolish and ignorant of me :o:o ) and tried creating partitions using Fedora10 bootable.It didnt work.Then I created a free partition and again tried installing... (4 Replies)
Discussion started by: ganesh.k28
4 Replies

5. Ubuntu

WGET in Ubuntu( vistual img ) vs Red Hat

Hi I need to fetch a file using wget command. In read Hat I have the file I need without any problem while in Ubuntu ( installed on a virtual image ) it doesn't work. More precisely my wget need to fetch a page from a web site with secure authentication so teh syntax I am using is wget... (7 Replies)
Discussion started by: manustone
7 Replies

6. UNIX for Advanced & Expert Users

Could I get the initrd.img file without recompile the kernel?

Hi, all: The vmlinuz-3.0.4.old is a kernel previous to the current running kernel vmlinuz-3.0.4 which is compiled the most currently. Could I get the initrd.img-3.0.4.old without recompile under the condition that the config-3.0.4.old, System.map-3.0.4.old and vmlinuz-3.0.4.old exist? if it... (1 Reply)
Discussion started by: liklstar
1 Replies

7. Web Development

HTML/PHP show IMG based on location

HI guys/gals, I like to add some personal touches to a welcome image on our mediawiki site, and have the welcome be displayed in the, presumed, language of the visitor. Standard would be English, but if the IP or browser or OS is set to be in India, I want to display the message in Urdu for... (5 Replies)
Discussion started by: lawstudent
5 Replies

8. Shell Programming and Scripting

How to remount .img as rw and repack

Hi fellas! I make a sh script which the following: sudo mkdir Temp sudo mount -o loop output.img Temp The command mounts the img.Thats fine.But it moun s it as read only.But I need to edit/delete some files inside it and repack it as ext4 using this command: sudo ./mkuserimg.sh -s Temp... (3 Replies)
Discussion started by: vijai
3 Replies
cdk_traverse(3) 					     Library Functions Manual						   cdk_traverse(3)

NAME
cdk_traverse - functions to support keyboard traversal SYNOPSIS
cc [ flag ... ] file ... -lcdk [ library ... ] #include <cdk.h> CDKOBJS *getCDKFocusCurrent (CDKSCREEN *screen); CDKOBJS *setCDKFocusCurrent (CDKSCREEN *screen, CDKOBJS *obj); CDKOBJS *setCDKFocusFirst (CDKSCREEN *screen); CDKOBJS *setCDKFocusLast (CDKSCREEN *screen); CDKOBJS *setCDKFocusNext (CDKSCREEN *screen); CDKOBJS *setCDKFocusPrevious (CDKSCREEN *screen); int traverseCDKScreen (CDKSCREEN *screen); void exitOKCDKScreen (CDKSCREEN *screen); void exitCancelCDKScreen (CDKSCREEN *screen); void resetCDKScreen (CDKSCREEN *screen); void exitOKCDKScreenOf(CDKOBJS *obj); void exitCancelCDKScreenOf (CDKOBJS *obj); void resetCDKScreenOf (CDKOBJS *obj); void traverseCDKOnce ( CDKSCREEN *screen, CDKOBJS *curobj, int keyCode, boolean functionKey, CHECK_KEYCODE funcMenuKey); DESCRIPTION
The functions above handle the traversal of a screen populated with various widgets. Once the screen has been created and populated with widgets, a single call to traverseCDKScreen() will allow the user to move between widgets and enter data (or otherwise manipulate widgets). Other functions are provided for use as callbacks by the widgets on the screen. Finally, there are several functions which allow the call- er to manipulate the state of the traversal, i.e., the object which has focus. In order for widgets to be used on a screen which is to be handled by traverseCDKScreen(), it must have the following methods available: injectCharObj inputWindowObj focusObj unfocusObj saveDataObj refreshDataObj In addition, the following object properties must be properly handled: acceptsFocus hasFocus inputWindow dataPtr dataType At the time of this writing, not all widgets have been modified to work with the screen-traversal facility. AVAILABLE FUNCTIONS
int traverseCDKScreen (CDKSCREEN *screen); This function contains the main screen traversal engine. It does the following: 1. Calls the refreshData method on each of the widgets to tell them to update their appearance to match the data which are referenced by their respective data pointers. 2. Calls the focusObject method on the first widget. 3. Repeats the following until one of the exit functions listed above has been called: * Read a keystroke from the keyboard. * If the keystroke is ESCAPE and a menu widget is present, activate the menu and traverse it until the user selects an entry or hits TAB. * If the keystroke is TAB/BACKTAB then call the unfocusObject method on the current widget, and move focus to the next/previous widget (not counting menu widgets). Call the focusObject method on the newly current widget. * If the keystroke is the EXIT-SAVE keystroke, then call the saveData method on each widget and return 1. * If the keystroke is the EXIT-CANCEL keystroke, return 0 without saving changes made by the user. * If the keystroke is the RESET-DATA keystroke, then call the refreshData method on each of the widgets to reset their appearance to match the data values that were present upon entry. * Otherwise, pass the keystroke to the current widget. CDKOBJS *getCDKFocusCurrent (CDKSCREEN *screen); Return a pointer to the object which currently has focus in the given screen. CDKOBJS *setCDKFocusCurrent (CDKSCREEN *screen, CDKOBJS *obj); Set the focus to the given object, if the screen contains that object. If the screen does not contain the object, return null. Oth- erwise, return the object. CDKOBJS *setCDKFocusFirst (CDKSCREEN *screen); Set focus on the first object in the given screen. CDKOBJS *setCDKFocusLast (CDKSCREEN *screen); Set focus on the last object in the given screen. CDKOBJS *setCDKFocusNext (CDKSCREEN *screen); Set focus on the next object in the given screen. CDKOBJS *setCDKFocusPrevious (CDKSCREEN *screen); Set focus on the previous object in the given screen. exitOKCDKScreen Causes the traversal engine to exit after calling the saveData method for each of the widgets. exitOKCDKScreenOf Calls exitOKCDKScreen() on the screen associated with widget obj. This function was designed to be used as a callback routine for a button widget used as an OK button on a data-entry screen. exitCancelCDKScreen Causes the traversal engine to exit without saving user modified data. exitCancelCDKScreenOf Calls exitCancelCDKScreen() on the screen associated with widget obj. This function was designed to be used as a callback routine for a button widget used as a Cancel button on a data-entry screen. resetCDKScreen Causes the traversal engine to call the refreshData method for each widget. This will cause any unsaved changes to be discarded and the widget states will be restored to their initial values. resetCDKScreenOf Calls resetCDKScreen() on the screen associated with widget obj. This function was designed to be used as a callback routine for a but- ton widget used as a Reset button on a data-entry screen. traverseCDKOnce This is a utility function, one of the pieces from which you can construct a customized version of traverseCDKScreen. BUGS
Not all widgets have had the extra methods added so that they work with the screen traversal engine. AUTHOR
Grant Edwards, Aspen Research Corporation Thomas Dickey and contributors. SEE ALSO
cdk(3), cdk_binding(3), cdk_display(3), cdk_screen(3) cdk_traverse(3)
All times are GMT -4. The time now is 07:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy