Sun Managers;
Thank You all that took their time to provide me with an answer to my
questions. For the benefit of others here is list of responses received.
Happy Holidays to all;
Angel
Original Question;
Sun Managers;
I know how to change the values of those variables displayed when I issue
the "printenv" command with "setenv"
for example: setenv boot-device=disk
Now my question, how would I change the value of those variables displayed
when I issue the "devalias" command? I want to change the value of disk.
Answer -1 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
nvalias newdisk /io-unit......
or nvedit
then
nvstore
nvrun
reset
works for me!
-- Garry D. Robbins |mailto:Garry.Robbins@Labatt.Com |Opinions Senior Tech. Supp. Specialist|WWW: http://www.labatt.com/ |expressed Labatt Breweries of Canada |Phone: (519) 667-7131 |are mine London, Ont. CANADA N6A 4M3 |FAX: (519) 667-7394 |alone.Answer-2 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= you can change devalias values using the devalias command as follows
ok devalias disk /sbus@0,e800000/esp@0,8000000/sd@3,0:a (for example)
it is also possible to create new device aliases in the same way, for example
ok devalias diskb /sbus@0,e800000/esp@0,8000000/sd@3,0:b
creates a new device alias diskb
regards
anthony ////////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ B. Anthony Vialle PO Box 233 ph: +61 3 6229 1169 Consultancy Manager Kingston, TAS 7051 fax: +61 3 6229 1169 Eclipse Open Systems P/L email: bavialle@trump.net.au \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\////////////////////////////////////////
Answer-3 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
To change the value of a devalias you need to do the following:
devalias alias-name device-path
I hope this helps!
-- ----------------------------------------------------------------------- Umesh Vaghela E-mail: umesh.vaghela@one2one.co.uk Senior Unix Systems Analyst Tel: +44 181 214 3357 Network Services Fax: +44 181 214 2278 One2One Elstree Tower, Elstree Way, Borehamwood, Herts., WD6 1DT, UK. -----------------------------------------------------------------------
Answer-4 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Refer to Sun infodoc # 11815 - it describes what I think your asking. If you need a copy faxed to you, let me know.
======================================================================== |Charles Mengel | |Systems Eng Manager | ________________ |LGI | | _____ _ | |9017 Red Branch Rd | |/ \ * / / | |Columbia Maryland USA 21045 | \ | | |____ |VOICE 410-997-1393 | \ | | | |FAX 410-720-1241 | |_| | / |EMAIL charles.mengel@lgi.com | \___| |WEB www.lgi.com | Fixed Width Font Test | Hope this looks like Maryland!!! ========================================================================
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:18 CDT