08-23-2007
[SOLVED]: Procedure to mount a partitioned loopback filesystem
See the EDIT 08232007 section in my original comment for details.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I've got a RedHat 9 box with LVM support in a 2.4.22 kernel. What I would like to do is take a set of empty files created with 'dd' and concatenate them into a volume group. I've done a good deal of googling, and it seems that this is something that can be done. But when I try to use 'pvcreate'... (3 Replies)
Discussion started by: deckard
3 Replies
2. HP-UX
I have a bunch of 4 mm DDS tapes that have two partitions. I read them on my HP-UX 10.20 box by referencing the device files /dev/rmt/0m (partition 0) and /dev/rmt/0mp (partition 1). Unfortunately, my HP-UX box was lightning struck last week so now I'm trying to read these tapes using Unix Services... (2 Replies)
Discussion started by: dhaverstick
2 Replies
3. Filesystems, Disks and Memory
I'm trying to set up a set of loopback files on a digital music player so I can carry a QEMU virtual machine with me. The digital music player in question is the Rio Karma and the filesystem it uses is omfs. Based on what I read at the Rio Karma FS page:... (1 Reply)
Discussion started by: deckard
1 Replies
4. Shell Programming and Scripting
Hi one help,
I need one procedure to load data from flat file to table. Table name as input parameter for the procedure. can anyone help me
Thanks,
Raj, (1 Reply)
Discussion started by: easterraj
1 Replies
5. Solaris
Hello and Merry Christmas...
Quick question after tireless search around the web.
Description:
I have a WD My book world edition II that met an untimely death. However the 2 SATA disks inside seem to be working just fine. Want to add either one of them to my Solaris Desktop.
Since I... (5 Replies)
Discussion started by: michnmi
5 Replies
6. UNIX for Advanced & Expert Users
I am running solarix x86 on a dell r810; I have mirrored the two internal 300Gb disks and accepted the default directory structure during the installation. Oracle 11g R2 was then installed with a view to using this machine in a DR scenario.
The following steps were performed to create two disks... (3 Replies)
Discussion started by: jabberwocky
3 Replies
7. Red Hat
I wanted to know how to find un-partitioned space in a Red Hat Linux server. I tried using fdisk but does not seem to be a user friendly output.
I hope, my question is clear.
Please revert with the reply to my query.
Regards (1 Reply)
Discussion started by: RHCE
1 Replies
8. UNIX for Dummies Questions & Answers
This is in the beginning of the program:
clear
tput cup 1 20
echo "Welcome to UNIX I Final Assignment"
tput cup 4 3
echo -e "Who would you like to look up? \c"
tput cup 6 5
echo "vans, Rolland"
tput cup 8 5
echo "ones, Mildred"
tput cup 10 5
echo "mith, Julie"
tput cup 12 5
echo... (0 Replies)
Discussion started by: thriveforana
0 Replies
9. UNIX Desktop Questions & Answers
clear
echo "vans, Rolland"
echo "Press in Your Keyboard to Quit"
echo -e "Please Enter Your Choice : \c"
read option
case $option in
I have created the corresponding information for each input on the display so...
My question is...
How do I display the corresponding information... (6 Replies)
Discussion started by: thriveforana
6 Replies
10. Red Hat
Hello, please can you help and explain me.
I have two servers. Both are RHEL6.
I use the first one like router and the second one for apache.
Router forwards 80 port on the second server and I can open that from the internet (mysite.com, for example). But I can not open mysite.com if i try to... (0 Replies)
Discussion started by: 6765656755
0 Replies
mcs(1) User Commands mcs(1)
NAME
mcs - manipulate the comment section of an object file
SYNOPSIS
mcs [-cdpVz] [-a string] [-n name] file...
DESCRIPTION
The mcs command is used to manipulate a section, by default the .comment section, in an ELF object file. It is used to add to, delete,
print, and compress the contents of a section in an ELF object file, and print only the contents of a section in a COFF object file. mcs
cannot add, delete, or compress the contents of a section that is contained within a segment.
If the input file is an archive (see ar.h(3HEAD)), the archive is treated as a set of individual files. For example, if the -a option is
specified, the string is appended to the comment section of each ELF object file in the archive; if the archive member is not an ELF object
file, then it is left unchanged.
mcs must be given one or more of the options described below. It applies, in order, each of the specified options to each file.
OPTIONS
The following options are supported:
-a string Appends string to the comment section of the ELF object files. If string contains embedded blanks, it must be enclosed in
quotation marks.
-c Compresses the contents of the comment section of the ELF object files. All duplicate entries are removed. The ordering of
the remaining entries is not disturbed.
-d Deletes the contents of the comment section from the ELF object files. The section header for the comment section is also
removed.
-n name Specifies the name of the comment section to access if other than .comment. By default, mcs deals with the section named
.comment. This option can be used to specify another section. mcs can take multiple -n options to allow for specification
of multiple section comments.
-p Prints the contents of the comment section on the standard output. Each section printed is tagged by the name of the file
from which it was extracted, using the format file[member_name]: for archive files and file: for other files.
-V Prints on standard error the version number of mcs.
-z Replaces any SHT_PROGBITS sections with zeros while retaining the original attributes of the sections.
EXAMPLES
Example 1: Printing a file's comment section
The following entry
example% mcs -p elf.file
prints the comment section of the file elf.file.
Example 2: Appending a string to a comment section
The following entry
example% mcs -a xyz elf.file
appends string xyz to elf.file's comment section.
FILES
/tmp/mcs* temporary files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
ar(1), as(1), ld(1), ar.h(3HEAD), elf(3ELF), tmpnam(3C), a.out(4), attributes(5)
NOTES
When mcs deletes a section using the -d option, it tries to bind together sections of type SHT_REL and target sections pointed to by the
sh_info section header field. If one is to be deleted, mcs attempts to delete the other of the pair.
By using the -z option, it is possible to make an object file by removing the contents of SHT_PROGBITS sections while retaining the object
file's original structure as an ELF file. The need for use of the -z option is limited. However, the option can be used to deliver an
object file when the contents of SHT_PROGBITS sections are not relevant.
SunOS 5.10 1 Apr 2004 mcs(1)