• 0602月1,2,3日

    2006-03-07

    Tag:

    版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
    http://mmmmn.blogbus.com/logs/2014919.html

    1、终端上无法输入^H如何处理
    Re: How to enable both Ctrl - H and backspace for deleting left on Solaris 10

    -----------------------------------------------------------------------------

    ---

    From: "Mahmood" <busyboy@xxxxxxxxx>
    Date: 5 Feb 2006 21:30:45 -0800

    -----------------------------------------------------------------------------

    ---
    mostly I've seen this your Terminal's ability , if you are usign it
    remotely and otherwise you have to define it accorindgly in your SHELL
    if you are on the system itself,
    Like I have enabled following on my Solaris 8 System as follows:

    stty erase \^\?

    in /etc/profile for the systemwide changes.


    Regrads,

    Nasir Mahmood.
    PTML(Ufone)
    Pakistan

    .


    -----------------------------------------------------------------------------

    ---

    References:
    How to enable both Ctrl - H and backspace for deleting left on Solaris 10
    From: lovecreatesbeauty
    Prev by Date: Re: How to enable both Ctrl - H and backspace for deleting left

    on Solaris 10
    Next by Date: Unable to boot
    Previous by thread: Re: How to enable both Ctrl - H and backspace for

    deleting left on Solaris 10
    Next by thread: Unable to boot
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (09)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      


    2、Re: 32 groups per user limit

    -----------------------------------------------------------------------------

    ---

    From: Richard.L.Hamilton@xxxxxxxxxxxxxxxxxx (Richard L. Hamilton)
    Date: Wed, 15 Feb 2006 22:29:34 -0000

    -----------------------------------------------------------------------------

    ---
    In article <1139106358.168370.299040@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
    "tazpb" <jerpenn@xxxxxxxxx> writes:

    What is the max number of users that can be added to a given directory
    or file with ACLs? For example, directory named "number" what is the
    max number of users that I can give write access to this directory via
    the setfacl command. Just trying to think of different ways I can get
    around this 32 groups per user issue.

    See if

    grep MAX_ACL_ENTRIES /usr/include/sys/acl.h

    doesn't give you the answer...the comment at

    http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/syscall/acl.c#24

    7

    might clarify that a bit.

    --
    mailto:rlhamil@xxxxxxxxx http://www.smart.net/~rlhamil

    Lasik/PRK theme music:
    "In the Hall of the Mountain King", from "Peer Gynt"
    .


    -----------------------------------------------------------------------------

    ---

    References:
    Re: 32 groups per user limit
    From: tazpb
    Prev by Date: Re: Prompt to show directory
    Next by Date: Prom configuring from running OS
    Previous by thread: Re: 32 groups per user limit
    Next by thread: cannot connect to SMTP server
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (10)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      

    3、Re: Emulate F12 key on a tip session

    -----------------------------------------------------------------------------

    ---

    From: Dan Foster <usenet@xxxxxxxxxxx>
    Date: Sat, 04 Feb 2006 12:11:39 -0600

    -----------------------------------------------------------------------------

    ---
    In article <1139076524.864785.162590@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Xancatal

    <pedro.cortez@xxxxxxxxx> wrote:

    Hey all, I'm trying to emulate the F12 key while using a tip hardwire
    session. I have x86/64 systems, attached to a serial port. I'm running
    a tip session on another Solaris host (sparc-based) which I use to
    access the sytems.

    I need to network boot the system, but instead of having to pull the
    drives out (to force PXE boot), I would rather initiate the network
    boot using the F12 key. In order to do so, I have to have a keyboard
    attached to the systems.


    For the V20z, it is esc-shift-2 via SP or serial console. It may vary
    for other systems.

    -Dan
    .


    -----------------------------------------------------------------------------

    ---

    Follow-Ups:
    Re: Emulate F12 key on a tip session
    From: Xancatal
    References:
    Emulate F12 key on a tip session
    From: Xancatal
    Prev by Date: Re: INIT: Cannot create /var/adm/utmpx
    Next by Date: Re: Washing my Ultra 10
    Previous by thread: Emulate F12 key on a tip session
    Next by thread: Re: Emulate F12 key on a tip session
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (02)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      


    4、Re: Sun V210 & auto power up

    -----------------------------------------------------------------------------

    ---

    From: Mike Delaney <mdelan@xxxxxxxxxxxx>
    Date: Fri, 03 Feb 2006 17:10:43 -0600

    -----------------------------------------------------------------------------

    ---
    On 3 Feb 2006 13:21:58 -0800, Mike said something similar to:
    : On my new sun V210, with the system up and running (Solaris 10) I pull
    : the power plug, wait a few seconds, then plug it back in. It won't
    : power back on until I hit the power switch or issue a poweron from the
    : LOM prompt. How do I configure it to recover from a power failure
    : automatically and remember that configuration?


    From the ALOM:

    setsc sc_powerstatememory true

    or from the running system as root:
    /usr/platform/`uname -i`/sbin/scadm set sc_powerstatememory true


    : Secondly, how do I permanently disable the running of the (lengthy)
    : diagnostic, every time it starts up. Again, I want the change to be
    : permanent. Any help would be appreciated.


    From OpenBOOT:

    setenv diag-switch? false

    or from the running system as root:
    eeprom 'diag-switch?=false'

    Note: the system boots from the device listed in the 'diag-device' variable
    when diag-switch?=true and from the device listed in 'boot-device' when
    diag-switch?=false. Make sure you're going to be booting from the correct
    device after changing the value of 'diag-switch?'.

    .


    -----------------------------------------------------------------------------

    ---

    Follow-Ups:
    Re: Sun V210 & auto power up
    From: Mike
    References:
    Sun V210 & auto power up
    From: Mike
    Prev by Date: Re: memory usage.
    Next by Date: Re: Where the heck are the Sun EOL announcments?
    Previous by thread: Re: Sun V210 & auto power up
    Next by thread: Re: Sun V210 & auto power up
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (02)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      
    ---
    Re: Sun V210 & auto power up

    -----------------------------------------------------------------------------

    ---

    From: Jorgen Moquist <jorgen.moquist@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
    Date: Tue, 07 Feb 2006 22:25:03 +0100

    -----------------------------------------------------------------------------

    ---
    Mike wrote:
    Thanks folks for the replies! Yes, there was a sticker on top of it but
    some guy ripped it off (I hate that guy!). Anyway, the
    sc_powerstatememory parameter is clear although why it's not the
    default isn't.


    yes strange seems like suns first computer with default power off.
    the blue sticker just say extended diag is run, nothing more.
    the small psu fan close to the power connector tend to give up
    in about a year or so. dont panic the system still runs fine
    ( more than months ), had no system stop, just higher fan revs.
    install something to check /usr/platform/`uname -i`/sbin/prtdiag -v
    so you can detect when the fan stops and change the psu.
    Got 10% fan failure running ~166 v210's.
    /jörgen


    It appears my diag-switch is already set to false. However, my
    diag-trigger is 'error-reset power-on-reset'. I'm going to try removing
    the power-on-reset option and see what that does.

    -Mike


    .


    -----------------------------------------------------------------------------

    ---

    References:
    Sun V210 & auto power up
    From: Mike
    Re: Sun V210 & auto power up
    From: Mike Delaney
    Re: Sun V210 & auto power up
    From: Mike
    Prev by Date: Re: posix msg. queues (Sol 9). Memory-based or disk-based ?
    Next by Date: Re: Binary File Differences: When Do Differences Matter?
    Previous by thread: Re: Sun V210 & auto power up
    Next by thread: Re: Ultra 5 and Nec XV17
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (07)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      
    ---


    5、Re: what's the accepted method to get a random seed?

    -----------------------------------------------------------------------------

    ---

    From: gl@xxxxxxxxxxxxxxxxxxxxxxxx (Jay G. Scott)
    Date: Fri, 3 Feb 2006 20:39:19 +0000 (UTC)

    -----------------------------------------------------------------------------

    ---
    In article <ds0e62$63k$1@xxxxxxxxxxxxxxxxxxxx>,
    Chris Thompson <cet1@xxxxxxxxxxxxx> wrote:

    In article <ds09dh$bs2$1@xxxxxxxxxxxxxxxxxxxx>,
    Jay G. Scott <gl@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:


    i considered using seconds since the epoch, that may be good enough.

    ummmm, by the way, is rand() still the way to go? in the end i'm going
    to want a random real between zero and one inclusive. [0,1] as
    the mathematicians say.

    anyway, to seed rand() you need an unsigned int. all i really want
    is "not readily predictable" garbage. seems like i heard of someone
    just reading something out of the kernel, maybe the process table?


    Read sizeof(int) bytes from /dev/urandom. Or are you using some horribly
    ancient version of Solaris that doesn't have it?


    GACK! i used to have to install /dev/urandom from the source, too.
    completely whiffed on that one. thanks.

    j.

    --
    Chris Thompson
    Email: cet1 [at] cam.ac.uk

    --
    Jay Scott 512-835-3553 gl@xxxxxxxxxxxxxxxx
    Head of Sun Support, Sr. Operating Systems Specialist
    Applied Research Labs, Computer Science Div. S224
    University of Texas at Austin
    .


    -----------------------------------------------------------------------------

    ---

    References:
    what's the accepted method to get a random seed?
    From: Jay G. Scott
    Re: what's the accepted method to get a random seed?
    From: Chris Thompson
    Prev by Date: Re: what's the accepted method to get a random seed?
    Next by Date: Sun V210 & auto power up
    Previous by thread: Re: what's the accepted method to get a random seed?
    Next by thread: IPFilter problem revisited
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (07)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      

    6、Re: WWN mapped to Veritas disk names

    -----------------------------------------------------------------------------

    ---

    From: Darren Dunham <ddunham@xxxxxxxxxxxxxxxx>
    Date: Thu, 02 Feb 2006 18:21:37 GMT

    -----------------------------------------------------------------------------

    ---
    DBPW <mmcgaa@xxxxxxxxx> wrote:

    The SAN admin won't understand the veritas disk names - c2t0d7xs2. Is
    there a way I can see how Veritas maps its names to the WWNN or some
    disk name the SAN (ESS) understands?


    Those aren't veritas names, it's from the OS.

    The controllers are numbered sequentially as detected by the OS. You
    can use the links in /dev/cfg to map from number to device.

    The targets are mapped by the physical device driver. For instance a
    SCSI device would have t equal to the SCSI target. Fiber drivers are
    different. It depends on the specific driver. sometimes you can do
    "hard binding" where you fix a particular WWN onto a target. "soft
    binding" will just assign free targets to detected WWNs. The Sun
    drivers will present a target equal to the WWN so it's pretty obvious.

    If the disk is seen by the OS, you might be able to do an 'iostat -En'
    and map the serial number from the device back to a physical or logical
    device.


    The OS (Solaris 10) doesn't seem to notice these disks: all the
    "imported" SAN disks show up under the format command, but the ones
    that are "not setup" do not.


    Can you show the output of 'vxdisk list'? VxVM shouldn't be able to use
    disks that you can't see in 'format'. Perhaps they're left over from
    some previous configuration.

    Also what is the output of 'vxdisk list c2t0d7xs2' (or whatever one of
    the devices is...)?

    --
    Darren Dunham ddunham@xxxxxxxx
    Senior Technical Consultant TAOS http://www.taos.com/
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    .


    -----------------------------------------------------------------------------

    ---

    Follow-Ups:
    Re: WWN mapped to Veritas disk names
    From: DBPW
    References:
    WWN mapped to Veritas disk names
    From: DBPW
    Prev by Date: Re: memory usage.
    Next by Date: Re: books
    Previous by thread: Re: WWN mapped to Veritas disk names
    Next by thread: Re: WWN mapped to Veritas disk names
    Index(es):
    Date
    Thread

    -----------------------------------------------------------------------------

    ---

    Relevant Pages
    Re: SCO OS 5.0.7 on Qemu
    ... The OSR5 "wd" IDE driver has code in it to ... > work around the quirks

    of
    _ancient_ "wd" family disk controllers. ... > controller used in PC/AT class
    machines), ... Possible UDMA timing mismatch, ... (comp.unix.sco.misc)
    Re: RAMDisk and harddisk - Revisited
    ... but your constatation that driver load fails is not accurate in some

    amount based on
    info you gave us. ... Only if it is a cloned disk they can have same diskid,

    but this would
    be completely different error. ... the ATA Flash Disk was detectable and

    mountable from RAMDisk
    image as described. ... e.g. IDE ATA Flash or IDE hard drives. ...

    (microsoft.public.windowsxp.embedded)
    Re: Sharing Files between Domain and Workgroup
    ... Start diagnosis for HOME (Targets BOKPC 192.168.1.105 home 192.168.1.104)

    ...
    Target BOKPC ... Shared resources at BOKPC ... test_for_MGB-database files
    Disk ... (microsoft.public.windowsxp.network_web)
    Re: Sharing Files between Domain and Workgroup
    ... Start diagnosis for HOME (Targets BOKPC 192.168.1.105 home 192.168.1.104)

    ...
    Target BOKPC ... Shared resources at BOKPC ... test_for_MGB-database files
    Disk ... (microsoft.public.windowsxp.network_web)
    Maxtor IDE controller cards not working
    ... I want to set up 3 disk RAID 5 array using mdadm and software raid. ...

    Serial
    driver version 5.05c with MANY_PORTS SHARE_IRQ ... hdm: attached ide-disk

    driver. ...
    hdo: attached ide-disk driver. ... (Debian-User)

    -----------------------------------------------------------------------------

    ---

    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (04)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      
    -----


    7、Re: memory usage.

    -----------------------------------------------------------------------------

    ---

    From: Robert Milkowski <rmilkowski-NO-SPAM@xxxxxxxx>
    Date: Fri, 3 Feb 2006 16:33:38 +0000 (UTC)

    -----------------------------------------------------------------------------

    ---
    Darren Dunham <ddunham@xxxxxxxxxxxxxxxx> wrote:

    You can use pmap -x on a process to break down the actual shared vs
    private space and attempt to do your own calculations...

    I don't know anything that can travel all the RAM pages and do real
    accounting on them rather than per-process assumptions.


    bash-3.00# echo '::memstat' | mdb -k
    Page Summary Pages MB %Tot
    ------------ ---------------- ---------------- ----
    Kernel 66377 259 13%
    Anon 225384 880 43%
    Exec and libs 16203 63 3%
    Page cache 12243 47 2%
    Free (cachelist) 199107 777 38%
    Free (freelist) 2667 10 1%

    Total 521981 2038
    bash-3.00#


    --
    Robert Milkowski
    rmilkowskiZXCSZC@xxxxxxxx
    http://milek.blogspot.com
    .


    -----------------------------------------------------------------------------

    ---

    Follow-Ups:
    Re: memory usage.
    From: Darren Dunham
    References:
    memory usage.
    From: Mahmood
    Re: memory usage.
    From: Darren Dunham
    Prev by Date: Re: ufsdump and ufsrestore to another system
    Next by Date: Re: ufsdump and ufsrestore to another system
    Previous by thread: Re: memory usage.
    Next by thread: Re: memory usage.
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (02)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      

    8、Re: sc3.x start command

    -----------------------------------------------------------------------------

    ---

    From: "Wama" <whaoooh@xxxxxxxxxxxx>
    Date: 1 Feb 2006 14:38:51 -0800

    -----------------------------------------------------------------------------

    ---

    jrm_66@xxxxxxxxxxx a écrit :

    > Hi,
    > i would very happy if someone could tell me how I can determine the
    > start COMMAND of a SC 3.x resource.
    > A grep for START COMMAND in the scrgadm -pvv output wasnt helpful.
    >
    > TIA, JRM


    scrgadm -pvv| grep -i "Start_command"

    .


    -----------------------------------------------------------------------------

    ---

    References:
    sc3.x start command
    From: jrm_66
    Prev by Date: solaris 10 vs. internet on WIFI
    Next by Date: Re: problem compiling firefox 1.5
    Previous by thread: sc3.x start command
    Next by thread: Remote install on a cycle 5 (Sparc clone)
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (08)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      


    9、Re: Legato question about tape redundancy

    -----------------------------------------------------------------------------

    ---

    From: "Daniel Rock" <abuse@xxxxxxxxxxx>
    Date: Tue, 31 Jan 2006 22:38:57 +0000 (UTC)

    -----------------------------------------------------------------------------

    ---

    cconnell_1@xxxxxxxxx wrote:
    > Mmn trying option 2, in the schedule this is what im trying to do but I
    > dont think its possible, can you run 2 schedules alternative weeks?
    > i.e.

    You can also go through each volume which has been mounted XXX times and
    mark this tape as readonly. So it won't be chosen again for backup, like:

    mminfo -r volume -q '%used>0,!readonly,mounts>XXX' | \
    while read tape; do
      nsrmm -o readonly $tape
    done

    mminfo scans each volume with data on it (%used>0) and isn't yet marked
    readonly (!readonly) and has been mounted XXX times (mounts>XXX, replace XXX
    with your desired number). For each such volume set the readonly flag
    via nsrmm.

    In another cycle you can then mark the tapes again as r/w. The mminfo/nsrmm
    pair is a very powerful combination for automatic scripting, see the
    manual pages:
    mminfo(1M), nsrmm(1M)

    --
    Daniel
    .


    -----------------------------------------------------------------------------

    ---

    Follow-Ups:
    Re: Legato question about tape redundancy
    From: Darren Dunham
    Prev by Date: Re: shell: reading whole lines
    Next by Date: Re: plz help - the link to HP test servers on HP.com
    Previous by thread: Re: shell: reading whole lines
    Next by thread: Re: Legato question about tape redundancy
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (03)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      
    -------Re: Legato question about tape redundancy

    -----------------------------------------------------------------------------

    ---

    From: Darren Dunham <ddunham@xxxxxxxxxxxxxxxx>
    Date: Thu, 02 Feb 2006 17:58:40 GMT

    -----------------------------------------------------------------------------

    ---
    cconnell_1@xxxxxxxxx wrote:

    Thanks, Ok Ill try using mminfo. Can mminfo tell you if the volume is
    in the jukebox? Thats partly why I used nsrjb and to do an inventory to
    see whats in the jukebox before doing anything.


    Yes. Not which one, but any...
    To match volumes that are nearline (in a jukebox).

    mminfo -q 'near'

    To report jukebox status

    mminfo -r 'avail' ('n' means nearline or in a jukebox).

    --
    Darren Dunham ddunham@xxxxxxxx
    Senior Technical Consultant TAOS http://www.taos.com/
    Got some Dr Pepper? San Francisco, CA bay area
    < This line left intentionally blank to confuse you. >
    .


    -----------------------------------------------------------------------------

    ---

    References:
    Re: Legato question about tape redundancy
    From: Daniel Rock
    Re: Legato question about tape redundancy
    From: Darren Dunham
    Re: Legato question about tape redundancy
    From: cconnell_1
    Re: Legato question about tape redundancy
    From: Darren Dunham
    Re: Legato question about tape redundancy
    From: cconnell_1
    Prev by Date: Re: Cde/Console Login error
    Next by Date: Re: WWN mapped to Veritas disk names
    Previous by thread: Re: Legato question about tape redundancy
    Next by thread: Re: vmstat issue
    Index(es):
    Date
    Thread
    We are proud to have Web Hosting and Rack Housing from 9 Net Avenue

    Deutschland.
    (02)
    Security UNIX Linux Coding Shop Directory Usenet

    Mailing-ListsNewsgroupsPrivacySearch  unix.derkeiler.com  > Newsgroups  >

    comp.unix.solaris  > 2006-02      



    收藏到:Del.icio.us




    评论

  • hhaha....~我来了,在你的小屋逛了一圈。恩!觉得不错!我很喜欢。不过好象差点东西,感觉加点音乐效果会更好,你觉得呢?这样,我教你在这里加一个播放器吧,很酷的哦,而且非常简单…………



    登陆后选择管理中心,在全部功能中点击参数设置,弹出列表后,再点击BLOG设置。



    页面自动更新后在页面的下方的自定义HTML框内(此处的代码最为关键,一定要小心复制):<div align="center"><iframe src="http://tools.koook.com/webplayer/index.html" width="108" height="146" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe></div>



    复制好后,点击确定,此时再到你的BLOG上面看,就已经有一个很炫的播放器了……



    这个是我的小屋,欢迎造访:http://space.msn.koook.com



    现在安装这个播放器已经可以自己选歌了,升级的产品哦,快来尝试一下……