ºìÁªLinuxÃÅ»§
Linux°ïÖú

SCO UNIX°²×°²Î¿¼

·¢²¼Ê±¼ä:2006-10-12 11:03:32À´Ô´:ºìÁª×÷Õß:bear10214
ÏÖÔÚ´ó¶àÈí¼þµÄ°²×°µ¼º½¶¼×÷µÃºÜºÃ£¬SCO UnixÒ²²»ÀýÍâ¡£Ö»ÒªÎÒÃÇÁ˽âÇå³þһЩ»ù±¾ÎÊÌ⣬°²×°Ê±×Ðϸ¿´ËûµÄÌáʾ£¬Ó¦¸Ã¾ÍûÓÐÎÊÌâ¡£°²×°Ò»¸ö²Ù×÷ϵͳǰÎÒÃÇÒ»°ãÒªÁ˽âÏÂÃæһЩÎÊÌ⣺
°²×°¶ÔÏó¡£
Òýµ¼·½Ê½¡£
Èí¼þ°ü×é³É¡£
Ó²Å̹ÜÀí·½Ê½¼°Îļþϵͳ¡£
Ó²¼þÇý¶¯·½Ê½¼°Çý¶¯³ÌÐò°²×°¡£
°²È«¹ÜÀí·½Ê½¡£
½éÖÊÀàÐÍ¡£
²¹¶¡°²×°¡£
ÆäËûÖîÈçʱÇø¡¢ÓïÑÔ¡¢¼üÅÌÖ®ÀàµÄÎÊÌâ¡£
¾ÍÉÏÃæ¾Å¸öÎÊÌ⣬ÎÒÃÇÀ´Ì¸SCO UnixµÄ°²×°¡£
1£®ÔÚ°²×°Ö®Ç°£¬ÎÒÃÇ¿ÉÒÔÏÈ°ÑÎÒÃǵݲװ¶ÔÏóÁ˽âһϣ¬Èçʲô»úÐÍ¡¢Ó²ÅÌ¿ØÖÆÆ÷µÄÀàÐÍ¡¢CDROMÀàÐÍ¡¢Ó²ÅÌ´óС¡¢×¼±¸°²×°¼¸¸ö²Ù×÷ϵͳ¡¢Unix¸ø¶àÉٿռ䡣ÖØÒªµÄÊÇÓ²ÅÌ¿ØÖÆÆ÷µÄÀàÐÍ£¬ÒòΪӲÅÌ¿ØÖÆÆ÷Çý¶¯²»ÉϾÍÎÞ·¨½øÐа²×°¡£ÔÚPC·þÎñÆ÷µÄÊÖ²áÖлá˵Ã÷ÆäÓ²ÅÌ¿ØÖÆÆ÷Çý¶¯°üÀàÐÍ¡£²¢ÇÒÔÚnavigator ÖÐÓÐÇý¶¯ÅÌ¡£
2£®UnixÒýµ¼·ÖΪbootºÍUnixºËÐÄϵͳִÐÐÁ½¸ö½×¶Î¡£BOOTÓÉBIOS×°ÔØ£¬×°Ôسɹ¦ºó³öÏÖÌáʾboot:£¬Äã¿ÉÒÔÑ¡ÔñÖ´ÐÐUNIXºËÐĺͼÓÔØһЩÉ豸Çý¶¯³ÌÐò»ò´ÓÆäËû·ÖÇøÆô¶¯¡£ÆäȱʡÉèÖÃÓÉ/etc/default/boot¿ØÖÆ¡£È±Ê¡Ö´ÐÐÓï¾äΪ¸ÃÎļþÖеÄDEFBOOTSTR¡£°²×°³ÌÐò¿ÉÒÔ´Ó¹âÅÌÖ±½ÓÒýµ¼£¨5.05£©£¬Òýµ¼ºó³öÏÖboot:¡£
3£®ÔÚSCO UNIX ÆóÒµ°æÖаüÀ¨ÒÔϲúÆ·£º
SCO OpenServer Enterprise System UNIX (ver 5.0.5m)
SCO OpenServer Enterprise System Graphics (ver 5.0.5m)
SCO OpenServer Enterprise System Connectivity (ver 5.0.5m)
SCO OpenServer Enterprise System Internet FastStart (ver 5.0.5m)
SCO OpenServer Enterprise System Documentation (ver 5.0.5m)
SCO UNIX°²×°³ÌÐò»á¸ù¾ÝÄãµÄÐí¿ÉÀàÐÍ£¬¸ø³öȱʡ°²×°µÄÄÚÈÝ¡£½¨ÒéʹÓÃȱʡ°²×°ÄÚÈÝ¡£
SCO UNIX ¿ÉÔÚÓ²ÅÌÉϹÜÀí¶à¸ö·ÖÇø£¬UNIXºÍDOSµÄ¾ù¿É¡£µ«½¨ÒéÖ»×öÒ»¸öUNIX·ÖÇø£¨UNIXWARE¶Ôµ¥Ó²Å̵Ķà·ÖÇø¹ÜÀí½ÏÂé·³£©¡£UNIX¿É½«·ÖÇø·Ö³É7¸öÂß¼­·ÖÇø£¬ÔÚ°²×°ÏµÍ³µÄ·ÖÇø£¬ÏµÍ³»áÕ¼ÓÃ4¸ö£¬·Ö±ðΪboot,swap,root,recover£¨root>780Mʱ´æÔÚ£©¡£Ê£ÏÂ3¸ö¿É¹©Óû§Ê¹Ó᣽¨Ò齫Óû§Îļþϵͳ£¬Êý¾Ý¿âÊý¾ÝÉ豸·ÖÇø´ÓrootÖжÀÁ¢³öÀ´¡£ÕâÑùµ±ÄãµÄϵͳ³öÏÖÒì³£¹ÊÕÏʱ£¬¿ÉÒÔÖØа²×°ÏµÍ³²¢±£»¤ÄãµÄÊý¾Ý¡£UNIXÔÚÂß¼­·ÖÇøÖд´½¨Îļþϵͳ¡£ÎļþÀàÐÍÓУº
AFS Acer Fast Filesystem
DTFS Desktop Filesystem
EAFS Extended Acer Fast Filesystem
HTFS High Throughput Filesystem
S51KB AT&T UNIX(R) System V 1KB Filesystem
XENIX XENIX(R) filesystem
Ò»°ãϵͳȱʡΪHTFS¡£µ«ÓëUNIXWARE 7 ¼æÈݵÄÖ»ÓÐS51KB¡£
¶ÔÓÚÁô¸øÊý¾Ý¿âʹÓõÄÊý¾Ý¿Õ¼ä£¬ÀàÐÍÉèΪNOFS¡£È粻СÐÄÉè³ÉÎļþϵͳ£¬Ê¹ÓÃÇ°ÔÚ/etc/default/filesys½«¶ÔÓ¦µÄmountÉèÖÃɾȥ¼´¿É¡£
SCO UNIXȱʡ°²×°Îª½«Õû¸öÓ²Å̸øUNIX£¬ÈçÄãµÄÓ²ÅÌ´óÔò£¬½¨Ò»¸öuÎļþϵͳ¡£
ÔÚUNIXÖÐËùÓÐÓ²¼þÇý¶¯³ÌÐò¶¼ÄÚ½¨µ½ºËÐÄÀï¡£³§ÉÌÒ»°ãÌṩµÄÇý¶¯³ÌÐò°üÀ¨É豸Çý¶¯£¨/etc/conf/pack.d/device/Device.o space.c£©ºÍÉ豸¹ÜÀí³ÌÐò¡£
UNIXÌṩһ¸ö³¬¼¶Óû§(root)¡£ÓÐËÄÖÖ°²È«¹ÜÀíģʽ¡£
High
recommended for systems containing confidential information
and accessed by many users. Passwords are strictly controlled
and assigned to users; users cannot choose their own. User
accounts cannot be removed or reactivated. All C2 features
are engaged and account database corruption results in a
lockout of all users until the administrator fixes the problem.
Improved
recommended for systems accessed by groups of users who can
share information. Password expiration is more lenient and
users can choose their own passwords. LUIDs are not enforced,
and user accounts can be removed or reactivated as desired.
Account database corruption results in system lockout
Traditional
Provided for compatibility with other UNIX systems. Passwords
do not expire and standard System V password checking is
used. Passwords are not required. Database corruption is
handled transparently.
Low
Recommended only for systems which are not publicly accessible
and which have a small number of cooperating users. No C2
features are engaged and no password checking is done. The
/etc/shadow does not exist by default.
°²×°CDÒ»°ãΪHS£¨High Sierra SCO OPENSERVERµÄ³Æ·¨£¬ISO9660)Îļþϵͳ¡£É豸Çý¶¯ÅÌÈçÊÇϵͳÆô¶¯±ØÐëµÄÒ»°ã»á×÷³Ébtld£¨boot time loadable disk£©ÅÌ£¬¸ÃÅ̸ñʽΪÎļþϵͳ£¬¿ÉMOUNT¡£ÆäÓàµÄÓÐtar£¬custom(tar ¸ñʽ)£¬pkgadd(tar ¸ñʽ)£¬patch£¬cpio,µÈ·½Ê½¡£¶ÔÓÃcustom°²×°µÄÎļþ»òpatch£¬Ð轫ÎļþÃû¸Ä³ÉVOL.000.00n£¨nΪÐòºÅ£¬´ÓÁ㿪ʼ£©¡£
UNIX²¹¶¡Ò»°ã¶¼Óа²×°ËµÃ÷¡£ÓÐ:Ìæ»»Ô­ÓÐÆô¶¯ÅÌ¡¢btldÅÌ¡¢custom°²×°¡¢load patch(customÖÐ)¡£
¸½ÓйØÃüÁ
boot (×ÊÁÏÀ´Ô´ man HW boot, man F boot, man HW link, man bootos, man bootstring )
UNIXµÄbootÒýµ¼ºó£¬³öÏÖboot£ºÌáʾ·û¡£´ËʱUNIXºËÐÄûÓÐ×°ÔØ£¬Äã¿ÉÒÔÉ趨Æô¶¯·½Ê½»òÇл»µ½ÆäËû²Ù×÷ϵͳ¡£
´ËʱֻÄÜÖ´ÐÐһЩÌض¨µÄÃüÁî¡£Èçunix¡¢dos¡¢bootos¡£ÈçÖ±½Ó»Ø³µÔòÖ´ÐÐ/etc/default/bootÖеÄDEFBOOTSTR¡£
Bootos Ϊ´Ó²»Í¬µÄ·ÖÇøÆô¶¯¡£¿ÉÒÔʹÓÃbootos ? ÏÔʾ·ÖÇøÐÅÏ¢¡£¶ÔUNIX¿Éʶ±ðµÄDOS·ÖÇø¿É¼üÈëdos/win Ö±½ÓÆô¶¯¡£
Boot ÄÚ½¨ÁËһЩÃüÁî¿É¹©Ê¹Óá£
³£ÓõÄÓУº
link Ö¸¶¨ÏµÍ³Æô¶¯Ê±Á¬½ÓµÄ³ÌÐò°ü¡£³£Óõķ½Ê½Îªlink=pkg.
Óû§»¹¿ÉÒÔÔڴ˸ıä/etc/default/bootÖеIJÎÊýÖµ¡£Ò²¿ÉÒԸıäһЩϵͳѡÏÈçbtld=fd(64)£¬Ö¸btldÉ豸ΪAÇý¡£
ÔںܶàPC·þÎñÆ÷ÊÖ²áÖУ¬ÓÐSCO UNIXµÄ°²×°Ö¸ÄÏ£¬ÈçHP
boot:defbootstr link=amird
Ö¸½«SCSIÓ²ÅÌ¿ØÖÆÆ÷µÄÇý¶¯°üÁ¬½Ó½øÀ´¡£°²×°Ê±btldȱʡΪfd(64)¡£
ÏÂÃæ¾ÙÒ»¸öÀý×ÓÀ´ËµÃ÷UNIXÇý¶¯ºÍbtldÓ¦Óá£
ÈçÎÒÃÇÔÚHP»úÆ÷ÉÏ×°ÓÐÒ»¿éÓ²ÅÌ£¨·ÇÕóÁУ©Ó²ÅÌÉ豸ÃûΪalad£¬ÒªÒƵ½ CAMPAQ»úÆ÷ÉÏ£¬Ó²ÅÌÉ豸ÃûΪCUCHA¡£ÈçÁ½ÖÖ¿¨¶ÔÓ²ÅÌʶ±ðµÄ²ÎÊýÒ»Ñù£¬ÎÒÃÇÖ»Òª×ö³ö´øÓÐCUCHAÇý¶¯µÄÅÌ£¬ÔÚÆô¶¯Ê±ÊäÈ룺
boot:defbootstr link=CUCHA hdroot=CUCHA(0,0,0,0) btld=fd(64)
Æô¶¯ºóÓÃbtldinstall×°ÈëCUCHAÇý¶¯£¬ÖØÐÂÅäÖÃÓ²ÅÌÀàÐÍ£¨¸Ä/etc/conf/cf.d/mscsiµÈ£©¼´¿É¡£
mountÃüÁî
¸ñʽ£ºmount -o options device mount_dir
×÷ÓÃ: °²×°Îļþϵͳ ,ÿ¸öÎļþϵͳֻ¿É°²×°Ò»´Î¡£¿ÉÒƶ¯µÄÉ豸£¨È磺ÈíÅÌ£¬¹âÅÌ£©ÔÚʹÓÃÇ°±ØÐë°²×°¡£
Àý×Ó£ºmount /dev/cd0 /mnt
umountÃüÁî
¸ñʽ£ºumount mount_dir
×÷ÓãºÐ¶ÔØÒ»¸öÒÑ°²×°µÄÎļþϵͳ¡£ÔÚÈ¡³öÈíÅÌÇ°±ØÐëÏÈжÔØ¡£
Àý×Ó£ºumount /mnt
mkfsÃüÁî
¸ñʽ£ºmkfs device [filesystem_type]
×÷ÓãºÔÚÖ¸¶¨µÄÉ豸ÉÏÉú³ÉÎļþϵͳ
Àý×Ó£ºmkfs /dev/fd0135ds18(ÔÚÈíÅÌÉÏÉú³ÉÎļþϵͳ)
formatÃüÁî
¸ñʽ£ºformat device
×÷Ó㺸ñʽ»¯ÈíÅÌ
Àý×Ó£ºformat /dev/rfd0135ds18
tarÃüÁî
¸ñʽ£ºtar key files ( key ³£ÓõÄÓÐ c :´ò°ü, x :½â°ü, r :¼ÓÔÚÒÑÓеİüµÄºóÃæ,
t :²é¿´°üÖеÄÎļþ, u :¸üаüÖеÄÎļþ
Îļþ£ºtar£¨c£©
tar ÊǶԷÇÌØȨÓû§×îÒ×ÓúÍ×î¿É¿¿µÄʵÓóÌÐòK£¨utility£©£¬´Ó¹éµµ½éÖÊÉϱ£ÁôºÍ»Ö¸´Îļþ£¬ÒàÄÜ´Ó¶àÎļþ¹éµµÖгéÈ¡µ¥¸öÎļþ¡£
tar ¹éµµÊ¹ÓÃÎļþºÍĿ¼µÄÏà¶Ô»ò¾ø¶Ô·¾¶Ãû¡£
´òÈë tar£¬¼´»áÏÔʾËùÓбäÁ¿Ñ¡Ï¡±cv"ÊÇ´´½¨¹éµµ£»¡±cv#"
ÓÃì¶À´×Ô /etc/default/tar µÄÉ豸ºÅ #£»¡±rv"×·¼ÓÒÑÓй鵵£»¡±
uv"¸üÐÂÔÚÒÑÓй鵵ÉϵÄÎļþ£»¡±tv"ÏÔʾ¹éµµÄÚÈÝ±í£»¡±xv"
´Ó¹éµµÖгéÈ¡Îļþ£»¡±f"´ÓÖ¸¶¨ÎļþÖжÁÈë»òд³ö£»¡±L"ʹ tar¸úËæ·ûºÅÁ¬½Ó¼ÌÐø×·²éÏÂÈ¥£¬Ä¬ÈÏÇé¿öÏÂÔò»áºöÂÔ·ûºÅÁ¬½Ó¡£
Æ©ÈçÒª¹éµµÖ¸¶¨Îļþ£¬¶ø¸´¸ÇÅÌÉϵÄÒÑÓÐÊý¾Ý£¬Ö¸ÁîÈçÏ£º
$cd pub
$tar cv6 ascii greek
volume end at 1199k, block factor=5k
seek=0k a ascii 3k
seek=3k a greek 1k
ÒªÁгö tar ¹éÄɵÄÄÚÈÝ£º
$tar tv6
rw-r--r-- 2/22114 Jan 2 13:41 1996 ascii
rw-r--r-- 2/2475 Jan 2 13:41 1996 greek
´´½¨ tar ¹éµµ£¬Ê¹ÓÃÏà¶Ô·¾¶Ãû£¬·ñÔò£¬»Ö¸´Áíһϵͳ¾Í»á¸Çд
ÆäËûϵͳµÄÎļþ¡£
#tar cv6 /etc/motd
#cd /tmp
#tar xv6
x /etc/motd, 943 bytes,2k
cpioÃüÁî
¸ñʽcpio -o [ -aBLuvV ] [ -C bufsize ] [ -c | -H format ]
[ -K volumesize ] [ [ -O file [, file ... ] ] [ -M message ] ] [ -Pifd,ofd ]
cpio -i [ -6AbBcdfkmnqrsStTuvV ] [-C bufsize ] [ [ -I file [, file ... ] ]
[ -M message ] ] [ -Pifd,ofd ] [ pattern ... ]
cpio -p [ -adlLmruvV ] [ -Pifd,ofd ] directory
¹éÄÉÎļþ
µ±ÐèÒªááÔ®Ö¸¶¨É豸¡¢ááÔ®¿ÕÉ豸ÓëʹÓÃÆ¥Åä·ûµÄʱºò£¬¾Í²»ÄÜʹÓòÙ×÷ÈÝÒ×µÄ tar£¬¶øÐèҪתÓñȽϸ´Ô cpio£¬ÓÃÒÔ¹éÄÉÎļþ¡£
Æ©È磬ÐèҪѡȡÎļþ½¨Á¢¹éµµ£¬Ö¸ÁîÈçÏ£º
$find /u/bill -print| cpio -oB -O /dev/fd0
20 blocks
ÓÖÀýÈ磬ÐèÒª³éÈ¡ cpio ¹éµµÎļþÃûʱ£º
$cpio -idmuBv -I /dev/fd0
.profile
ascii
eqnchar
greek
20 blocks
cpio Ö÷ҪѡÏîΪ£º
-v ÏÔʾ¹¤×÷
-i ¶Á¹éµµ
-o дÈë¹éµµ
-t ÄÚÈݱí
-d ´´½¨Ä¿Â¼
-m ±£ÁôÔ­ÐÞ¸ÄÈÕÆÚ
-U ÎÞÌõ¸´ÖÆ
-B ·Ö¸îÒò×ÓÖÃΪ 5k
-Cn ·Ö¸îÒò×ÓÖÃΪ n
-Kn ½éÖʳ¤¶ÈÖÃΪ n
customÃüÁî
¸ñʽ£ºcustom
×÷Ó㺰²×°¡¢É¾³ý¡¢²é¿´Èí¼þ²úÆ·¼«Æä×é¼þ
¿Éͨ¹ý²Ëµ¥²Ù×÷
pkgaddÃüÁî
¸ñʽ£º /usr/bin/pkgadd [ -d device ] [-r response ] [ -n ] [ -a admin ] [ pkginst ... ]
/usr/bin/pkgadd -s spool [ -d device ] [ pkginst ... ]
×÷ÓãºÏòϵͳ´«ËÍÈí¼þ°ü£¬¿Éͨ¹ýÈíÅÌ/´Å´øµÈ
btldinstall
ÔÚϵͳÆô¶¯Ê±¿É×°ÈëµÄ´ÅÅÌ
Ïà¹ØÎļþ
Ó²ÅÌ£º(r´òͷΪ×ÖÉ豸)£¨À´Ô´ man HW hd£©
Primary disk Secondary disk Partition
/dev/hd00 /dev/dsk/0s0 /dev/hd10 /dev/dsk/1s0 entire disk
/dev/rhd00 /dev/rdsk/0s0 /dev/rhd10 /dev/rdsk/1s0
/dev/hd01 /dev/dsk/0s1 /dev/hd11 /dev/dsk/1s1 first partition
/dev/rhd01 /dev/rdsk/0s1 /dev/rhd11 /dev/rdsk/1s1
/dev/hd02 /dev/dsk/0s2 /dev/hd12 /dev/dsk/1s2 second partition
/dev/rhd02 /dev/rdsk/0s2 /dev/rhd12 /dev/rdsk/1s2
/dev/hd03 /dev/dsk/0s3 /dev/hd13 /dev/dsk/1s3 third partition
/dev/rhd03 /dev/rdsk/0s3 /dev/rhd13 /dev/rdsk/1s3
/dev/hd04 /dev/dsk/0s4 /dev/hd14 /dev/dsk/1s4 fourth partition
/dev/rhd04 /dev/rdsk/0s4 /dev/rhd14 /dev/rdsk/1s4
/dev/hd0a /dev/dsk/0sa active partition
/dev/rhd0a /dev/rdsk/0sa
/dev/hd0d /dev/dsk/0sd /dev/hd1d /dev/dsk/1sd DOS partition
/dev/rhd0d /dev/rdsk/0sd /dev/rhd1d /dev/rdsk/1sd
ÈíÅÌ£º£¨À´Ô´ man HW fd£©
/dev/[r]fd0135ds18
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. bear10214 ÓÚ 2006-10-12 13:41:30·¢±í:

    ¹âÖ§³Ö¿É²»ÐÐŶ,ÄóöµãÐж¯À´°¡

  2. lovetan21 ÓÚ 2006-10-12 11:55:39·¢±í:

    :0L