05-27-2010
People come to my office, I live there.
7 More Discussions You Might Find Interesting
1. Programming
I have a program written in C on HP-UX 11i. The program is as
below ...
long long a;
a = 12345678987654321;
printf ("%lld",a);
I compile the code using cc compiler on HP-UX using
-Ae +DD32 option as i want it to create a 32-bit binary.
But the... (1 Reply)
Discussion started by: Shobhit
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Greetings,
I'm relatively new-comer to these forums and have a Q to the mods. Just wondering what's the policy regarding the long running threads where they tend to go say over 30 posts and they become "troubleshooting" threads rather than being "educational" and/or "hinting" threads?
... (4 Replies)
Discussion started by: vgersh99
4 Replies
3. UNIX for Advanced & Expert Users
I have a long string in ASCII file of approx 60k bytes file size.
I need to know
1.How many charcters are adjectly in string.
export MAX_COL_SIZE=`awk "length>max{max=length}END{print max}" test.txt`
this return file cann't open...can anyone advice why??
2. How many 'TRX consist in my... (1 Reply)
Discussion started by: u263066
1 Replies
4. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
5. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies
6. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
7. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT DEBIAN
mic-chroot
MIC-CHROOT(1) General Commands Manual MIC-CHROOT(1)
NAME
mc-chroot - chroot into a live image in order to do some changes
SYNOPSIS
mic-chroot [options] <image|image fs>
<image> is a live image file name, <image fs> is a directory path which
contains the whole file system unpacked from a live image.
DESCRIPTION
mic-chroot can chroot into a live image to do some changes, you can use it to unpack a live image then do some changes, once changes are
done, you can regenerate a live image including those changes you did.
mic-image-manager has a GUI tool for mic-chroot, you can use it if you prefer to use GUI instead of command line.
OPTIONS
--version show version number
-h, --help show this help message
-s SAVETO, --save-to=SAVETO Save unpacked filesystem to the specified path
--unpack-only Just unpack an image, this is used tounpack an image with -s option together
-b BINDMOUNTS, --bind-mounts=BINDMOUNTS Specify bind mount list, for example: -b "/proc:/proc;/:/parentroot"
-c CONVERTTO, --convert-to=CONVERTTO Convert it to the specified type live image on exiting, the allowed value is livecd or liveusb
--convert-only Just convert an image, this will skip chroot and directly convert an image/filesytem with -c option together
-o OUTDIR, --outdir=OUTDIR Output directory to use (default: current work dir)
EXAMPLES
Unpack an image to a directory and chroot into it:
mic-chroot -s /my/fs/root
EXIT STATUS
mic-image-convertor returns a zero exist status if it succeeds, otherwise return non-zero and print error message.
AUTHOR
Yi Yang, Anas Nashif, Jianfeng Ding
SEE ALSO
mic-image-creator(1), mic-convertor(1), mic-image-writer(1), mic-livecd-iso-to-disk(1), mic-image-manager(1)
perl v5.12.3 2011-05-31 MIC-CHROOT(1)