9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
the following code turns back ticks "`" to new lines "\n". Then, it attempts to grab only a certain section of the output and excludes lines that contain particular patterns...i.e. "ZooLine|echo|opencert".
awk -vs1="\`" '{gsub(s1,"\n",$0)} 1 {print ; if(/NewLine \(\)/,/}/{if(!/NewLine|echo... (3 Replies)
Discussion started by: SkySmart
3 Replies
2. Shell Programming and Scripting
Hi All,
I have a big configuration log where I want to change string "aaa" to "bbb" under
auto-config-policy only right after "deny", "accept" and "hold" strings, nowhere else.
<<<< text >>>>>
auto-config-policy test
deny aaa precedence 4 profile aaa any
deny aaa... (4 Replies)
Discussion started by: temp.sha
4 Replies
3. UNIX for Dummies Questions & Answers
Hi all, I have a tab separated file, and one of the fields is sub-delimited by colon. The problem is there can be zero to 4 colons within this field. When I try to change colons to tabs the result is a file with a differing number of fields.
I want to go from:
a:b:c:d:e
a:b:c
a:b:c:d:e
a... (4 Replies)
Discussion started by: torchij
4 Replies
4. Shell Programming and Scripting
Hi Guys !
can anyone help me to write the code doing same thing without using awk. is it possible using cut command?
awk '{c++} END {for(k in c} print k "\t\t" c;}' file_name | sort -nrk 2 | column -t
thanks in advance
BR
Ewa (4 Replies)
Discussion started by: me_newbie
4 Replies
5. UNIX Desktop Questions & Answers
I have an issue with the display resolution under Xfce. The monitor can handle 1024x768, but the screen display is 800x600. The control panel does not allow me to change this.
I also found the file .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml in which I have made changes, but after a... (0 Replies)
Discussion started by: figaro
0 Replies
6. AIX
Hi all,
In AIX I need to set the below two as of now these are not.
1)Opnoexpn is not set in sendmail.cf
2)Opnovrfy is not set in sendmail.cf
Please let me know the steps to set Opnoexpn and Opnovrfy in sendmail.cf
Thanks and Regards,
Pavankumar (0 Replies)
Discussion started by: pavankumar432
0 Replies
7. Solaris
I've installed Solaris 8, but didn't quite give it the correct (machine) time.
Think the machine is out of sync.
Can I change that afterwards or do I have to do another install right from the beginning? (1 Reply)
Discussion started by: kuultak
1 Replies
8. Shell Programming and Scripting
Hi!
I have for example a script/file:
+1 echo "toto"
+2 echo "abcdef
+3 echo "dqmsl" $r "dsqlfj"
+4 cat titi | tr \t' ';'
+5 exit
---------------------------------------
I try to find a solution who say:
<ERROR>
The character " has been forgotten a the line 2
The character... (7 Replies)
Discussion started by: Castelior
7 Replies
9. BSD
Say for instance, I would like to reduce the delay/waiting time for the boot-time menu from 10 seconds to 5 seconds, how would I go about doing it?
From what I've been able to find, entering "autoboot 5" into the right file would take care of that for me, but the man pages are unclear as to... (1 Reply)
Discussion started by: DownSouthMoe
1 Replies
ATARAID(4) BSD Kernel Interfaces Manual ATARAID(4)
NAME
ataraid -- ATA software RAID support
SYNOPSIS
device ata
device ataraid
DESCRIPTION
The ataraid driver provides support for so-called software RAID (sometimes referred to as fake RAID or pseudo RAID).
When a controller that supports software RAID is instructed to create a RAID array, its BIOS writes data structures in a specific metadata
format to the disks. These data structures are picked up by the ataraid driver, so that FreeBSD can work with the array. The ataraid driver
has to understand the specific metadata format of a controller BIOS in order to support its RAID capabilities.
Read-only support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Creation and
rebuild of such arrays has to be done from the controller BIOS.
Read and write support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Additionally,
the atacontrol(8) utility can be used to create, rebuild, update and fail such RAID arrays.
The ataraid driver can read the following metadata formats:
o Adaptec HostRAID
o Highpoint V2 RocketRAID
o Highpoint V3 RocketRAID
o Intel MatrixRAID
o Integrated Technology Express (ITE)
o JMicron
o LSI Logic V2 MegaRAID
o LSI Logic V3 MegaRAID
o NVIDIA MediaShield
o Promise FastTrak
o Silicon Image Medley
o Silicon Integrated Systems (SiS)
o VIA Tech V-RAID
o FreeBSD PseudoRAID
The ataraid driver can write the following metadata formats:
o Highpoint V2 RocketRAID
o Intel MatrixRAID
o JMicron
o Promise FastTrak
o Silicon Integrated Systems (SiS)
o VIA Tech V-RAID
o FreeBSD PseudoRAID
It is also possible to use software RAID on controllers that do not have special software RAID capabilities. See atacontrol(8) for details.
FILES
/dev/ar* ATA RAID device nodes
SEE ALSO
ata(4), atacontrol(8)
CAVEATS
RAID5 is not supported at this time. Code exists, but it neither uses nor maintains parity information.
AUTHORS
The ataraid driver was written by Soren Schmidt <sos@FreeBSD.org>. This manual page was written by Christian Brueffer
<brueffer@FreeBSD.org>.
BSD
February 17, 2006 BSD