9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. UNIX for Advanced & Expert Users
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
3. UNIX for Dummies Questions & Answers
I've been trying to create an IMG file for the past week with no success. I've tried using:
dd if=/dev/zero of=myimage.img bs=512 count=2880
mke2fs myimage.img
mkdir /media/mount_point
mount -o loop myimage.img /media/mount_point
cp -aR <file> /media/mount_point
umount /media/mount_point
... (30 Replies)
Discussion started by: neur0n
30 Replies
4. Red Hat
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. Filesystems, Disks and Memory
COuld you please telle me the diffrence between DSK and RDSK with exemple if possible...
Thanks a lot in advance.
Regards. (7 Replies)
Discussion started by: guillaume35
7 Replies
6. Solaris
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
7. Solaris
Hi all,
I just find some strange device (at least to me) on my Sun Blade server, CP3060, like below:
bash-3.00# cd /dev/dsk
bash-3.00# ls c3*
c3t600A0B80002FA5F50000000000000000d0s0 c3t600A0B80002FA60C0000000000000000d0s4
c3t600A0B80002FA5F50000000000000000d0s1 ... (6 Replies)
Discussion started by: sleepy_11
6 Replies
8. UNIX for Dummies Questions & Answers
Hello!
When I use "sar -d" I get information about disk activities like:
sd0 ...
sd0,a ...
sd0,b ...
.....
sd22 ...
sd22,a ...
.....
How I can find by , for example sd22,a , what physical disk is it. For example /dev/dsk/c1t3d0s1 easy to read and I can find by it physical disk.... (4 Replies)
Discussion started by: Colf
4 Replies
9. Programming
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
img-xpm(3tk) img-xpm(3tk)
NAME
img-xpm - Img, X Windows Pixmap Format (xpm)
SYNOPSIS
package require Tk
package require img::xpm ?1.3?
image create photo ?name? ?options?
DESCRIPTION
The package img::xpm is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its
own, via package require img::xpm.
Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing
raster images in the X Windows Pixmap Format (xpm). More specifically img::xpm extends Tk's photo image type.
The name of the new format handler is xpm. This handler does not provide additional configuration options.
All of the above means that in a call like
image create photo ?name? ?options?
[1] Image data in xpm format (options -data and -file) is detected automatically.
[2] The format name xpm is recognized by the option -format.
SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img-
window, img-xbm, img-xpm
KEYWORDS
image handling, tk, xpm
COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com>
Img 1.3 img-xpm(3tk)