01-17-2009
This waring is there on the system before also as " wrong magic number" which now is coming with "corrupt lable; wrong magic number "
10 More Discussions You Might Find Interesting
1. Solaris
Hi
I'm having a big trouble running a configuration tool (ftamtool) which uses xview on sunos 5.8, it refuses to start and says: XView error: could not load font 'FONT_FAMILY_SANS_SERIF...
How to force the program to use installed fonts and where are fonts installed available to use ?
... (0 Replies)
Discussion started by: andryk
0 Replies
2. Solaris
Error is like
/users/d12381/check.sh: mail_sysadmin@mycompany: not found
Plz help me to sort out this issue (6 Replies)
Discussion started by: Renjesh
6 Replies
3. Solaris
If i have diks layout like below
0 root wm 0 - 634 471.29MB (635/0/0)
965200
1 var wm 635 - 2014 1.00GB (1380/0/0)
2097600
2 backup wm 0 - 2732 1.98GB (2733/0/0)
4154160
3 swap wu 2015 - 2704 ... (1 Reply)
Discussion started by: tpx99
1 Replies
4. HP-UX
Hi,
I would like to ask for your help. I tried to log in through console to my server HP-UX 10.20 but I keep receiving error message as below:
Vxfs: mesg 001: vx_nospace -/dev/vg02/lvol6 file system full
Vxfs: mesg 001: vx_nospace - /dev/vg02/lvol9 file system full
How should I stop this... (4 Replies)
Discussion started by: yeazas
4 Replies
5. Solaris
Hi All,
when i run the command prtvtoc the output shows
38309 cylinders
38307 accessible cylinders
as per my undertanding the 1st cylinder is used for storing the vtoc , how about the second cylinder ? where its used and for what purpose?
Thanks (9 Replies)
Discussion started by: kumarmani
9 Replies
6. Shell Programming and Scripting
Hi,
I have an command which find the files modified within last 8 days and then after selecting the files from the location it make the tar format and send it to the specified destination ...now I want that this task to be automative ..that is it should happen after every 5 minutes ...for that... (3 Replies)
Discussion started by: NARESH SAXENA
3 Replies
7. Solaris
Hello,
I have a X86 server (solaris 10) with 4 similar disks. One of these 4 disks is the root disk.
I need to create a mirror disk to the root disk and two hot spares using the remaining 3 disks.
However, when I use the fmthard commad, I am getting the below error:
root@xxxxxxxx>prtvtoc... (5 Replies)
Discussion started by: mystition
5 Replies
8. Shell Programming and Scripting
if ; then
rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatchedCan anyone please help me in correcting it.
Please use code tags next time for your code and data. Thanks (2 Replies)
Discussion started by: D_Sethi
2 Replies
9. Solaris
Hi,
I am trying to mirror a disk (which was already mirror and after breaking it, doing it again). This is root disk and in control of veritas. Somehow, slice information is not coming correctly on this. Can somebody give some pointer to fix it ?
root@tdrp091:/root# prtvtoc /dev/rdsk/c3t0d0s2 |... (6 Replies)
Discussion started by: solaris_1977
6 Replies
10. Solaris
Hi,
It is Solaris-10 with ZFS. c0t1d0 is original disk. c0t0d0 was faulty disk, which was replaced with new one and by mistake somebody ran opposite command
# prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t1d0s0
Now rpool is in suspended state. Right now server is up, but allowing ssh... (6 Replies)
Discussion started by: solaris_1977
6 Replies
fileutil::magic::cgen(n) file utilities fileutil::magic::cgen(n)
__________________________________________________________________________________________________________________________________________________
NAME
fileutil::magic::cgen - Generator core for compiler of magic(5) files
SYNOPSIS
package require Tcl 8.4
package require fileutil::magic::cgen ?1.0?
package require fileutil::magic::rt ?1.0?
package require struct::tree
package require struct::list
::fileutil::magic::cgen::2tree script
::fileutil::magic::cgen::treedump tree
::fileutil::magic::cgen::treegen tree node
_________________________________________________________________
DESCRIPTION
This package provides the generator backend for a compiler of magic(5) files into recognizers based on the fileutil::magic::rt recognizer
runtime package. For the compiler frontend using this generator see the package fileutil::magic::cfront.
COMMANDS
::fileutil::magic::cgen::2tree script
This command converts the recognizer specified by the script into a tree and returns the object command of that tree as its result.
It uses the package struct::tree for the tree.
The script is in the format specified by magic(5).
::fileutil::magic::cgen::treedump tree
This command takes a tree as generated by ::fileutil::magic::cgen::2tree and returns a string encoding the tree for human consump-
tion, to aid in debugging.
::fileutil::magic::cgen::treegen tree node
This command takes a tree as generated by ::fileutil::magic::cgen::2tree and returns a Tcl script, the recognizer for the file types
represented by the sub-tree rooted at the node. The generated script makes extensive use of the commands provided by the recognizer
runtime package fileutil::magic::rt to perform its duties.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category fileutil
:: magic of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may
have for either package and/or documentation.
SEE ALSO
file(1), fileutil, magic(5)
KEYWORDS
file recognition, file type, file utilities, mime, type
fumagic 1.0 fileutil::magic::cgen(n)