??????????????????????????????Developer 9/07 ??????????????????????????????????????????
Windows Vista ??? fdisk ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Vista ?????????2048 ????????????????????????????????????????????????????????????????????????????????????Vista ???????????????????????????????????????????????????????????????????????????Developer 9/07 ???????????????????????????????????????????????????????????????????????????????????????fdisk ???????????????????????????????????????????????????????????????????????????????????????????????????????????????
Windows Vista ??????????????????????????????????????? Developer 9/07 ???????????????????????????????????????????????????????????? 2 ??????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????
Not enough free space |
????????????????????????????????? fdisk ??????????????????
fdisk: Cannot Create partition table |
???????????????????????????????????????????????????????????????????????????
fdisk -d <device> |
????????????????????????????????????????????????
# fdisk -d c0d0p0 Physical Geometry: cylinders[30400] heads[255] sectors[63] sector size[512] blocks[488376000] mbytes[896] Virtual (HBA) Geometry: cylinders[30400] heads[255] sectors[63] sector size[512] blocks[488376000] mbytes[896] Partition Table Entry Values: SYSID ACT BHEAD BSECT BEGCYL EHEAD ESECT ENDCYL RELSECT NUMSECT 191 128 0 1 1 254 63 1023 16065 488359935 100 0 0 0 0 0 0 0 100 100 100 0 0 0 0 0 0 0 100 100 100 0 0 0 0 0 0 0 100 100 |
????????????????????????????????????????????? 48837600 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 16065 + 488359935???????????? 488376000 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Solaris ????????????????????????????????????????????????????????????????????????????????? CD ????????? DVD ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????: ??????????????????????????????????????????????????????????????????????????? CD ??????????????????????????????????????????????????????
Windows Vista ?????????????????????
??????????????????????????????????????????????????????Windows???->????????????????????? ????????????->???????????????????????????????????????->?????????????????????->???????????? ???????????? ?????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 9M ???????????????????????????
Vista ??? fdisk ??? Solaris ????????????????????? fdisk ?????????????????????????????????Vista ????????????????????????????????????????????????????????????????????? 9M ?????????????????????????????? Solaris ??????????????????????????????????????????????????????
?????????????????????????????????Solaris OS ?????????????????????????????????
??????????????????????????? Solaris ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????: ??????????????????
hme ????????????????????? Sun4UTM ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ultra 10???Ultra 60???????????? Ultra 80 ???????????????????????????????????????ping ?????????????????? ping ????????????????????????????????????????????????????????????????????????????????????????????????
????????????: ????????????????????????????????????????????????
????????????????????????????????????????????????????????????suspend ????????????????????????????????????????????????
???????????????????????????????????????????????????????????? snoop -d hme0 -c1 ??????????????????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
You will be automatically logged out in 60 seconds |
?????????
The system will be automatically shutdown in 60 seconds |
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????: OpenSolaris ??????????????????????????? gnome-panel.mo ?????????????????????????????????????????????????????????????????????????????? gnome-panel.mo ?????????????????????????????????????????????????????????
http://dlc.sun.com/osol/jds/downloads/current/ ?????? l10nmessages-vermillion_*.tar ?????????????????????????????????
?????? gnome-panel.mo ??????????????? SUNWgnome-l10nmessages-zhCN/reloc/share/locale/zh/LC_MESSAGES/gnome-panel.mo ????????????????????????
??????????????????????????????????????????????????????
Developer 9/07 ????????????????????????????????? (RTC) ?????????????????????RTC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? SIGSEGV ????????????????????????????????????RTC ??????????????? SIGSEGV ??????????????????????????????????????????????????????????????????SIGSEGV ??????????????? sigaltstack ??????????????????????????????????????????????????????????????? EINVAL ???????????????????????????SIGSEGV ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
terminating signal 11 SIGSEGV |
????????????: rtc skippatch ?????????????????????????????????????????????????????????????????????????????????????????????
????????????????????? dbx ????????????????????????????????????????????? segv ?????????????????????????????????
rtc skippatch libc.so -f lrw_rdlock lrw_unlock lrw_wrlock _lock_try rtc skippatch libc.so -f read_lock_try read_unlock_try write_lock_try write_unlock_try rtc skippatch libc.so -f queue_unlink mqueue_spawner thread_queue_dump rtc skippatch libc.so -f thread_queue_fifo thread_queue_spin thread_queue_verify rtc skippatch libc.so -f __rw_unlock __rw_trywrlock __rw_workerscnt rtc skippatch libc.so -f __rwlock_destroy __rwlock_init |
Sun V40z ?????????????????????????????? Acer Ferrari 5000 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????
WARNING: out of I/O resources on bridge: bus 0x20, dev 0x3, func 0x0, for secondary bus 0x23 WARNING: devices under bridge bus 0x20, dev 0x3, func 0x0 will not be assigned I/O ports |
WARNING: detected unsupported configuration: non-empty bridge (bus 0x0 dev 0x7 func 0x0) without I/O resources assigned by bios for secondary bus 0x7 |
WARNING: devices under bus 0x0, dev 0x7, func 0x0 will not be assigned I/O ports |
????????????: ??????????????????
fdisk ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Installation can not create Solaris fdisk partition (c1t0d0p0), causing installation failure. Or, invalid fdisk partition causes installation to overwrite the entire disk. |
????????????: ????????????????????????????????????????????????
gparted ???????????????????????????????????????????????????????????????????????????????????????????????????fdisk ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????????????????????????????????????? Windows Vista ?????????????????????NTFS ??????????????????????????????????????????Vista ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Vista ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 1M ???????????????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????????????????????????????????????
application gnome-about has crashed. |
??????????????????????????????????????????????????????????????????
????????????: ??????????????????
?????????????????????????????????????????????????????????????????????????????? GNOME ???????????????????????????????????? (GOK) ??? UI ???????????????????????????????????????????????????All Applications????????????????????????????????????????????????????????????????????????????????????????????????????????????
????????????: ????????????????????????????????????????????????
zh ??????????????????????????? zh_CN.xxx ?????????????????????????????????
/usr/dt/config/Xinitrc.jds ????????????????????????????????????????????????
??????????????????????????????????????????????????????
export G_FILENAME_ENCODING=@locale,UTF-8 export G_BROKEN_FILENAMES=yes (2) |
?????? 1 ?????????????????????????????????????????????????????????????????????
if [ "x$LANG" = "xzh" ] ; then export LANGUAGE=zh:zh_CN.EUC fi |
????????????????????????????????????????????????????????????????????????
Solaris Express Developer Edition ??? GUI ??????????????????????????????????????????????????????512M ????????????????????????????????????????????????Developer ??????????????????????????????????????????????????????????????? 768M ??????????????????????????????????????????
????????????: ????????????????????????????????????????????????
x86 ????????????: GRUB ?????????????????????Solaris Express Serial Console ttyb???????????????????????????????????? (#4) ???????????????????????????????????????????????????512M ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
SPARC ????????????: ?????????????????????????????????????????????????????????
ok boot cdrom - text |
??????????????????????????????512M ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????Solaris Express ??????????????????????????? (?????????)?????????????????????????????????
Solaris OS ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 12 ??????????????????????????????????????????C/POSIX ????????????????????????????????????????????? 12 ??????????????? 2 ????????????????????????????????????????????????????????????????????????????????????
????????????????????????
GNU ???????????????
???????????????????????????????????????????????????
????????????: ?????????????????????????????????
root ?????????????????????????????????????????????
???????????????????????????????????????
- scrollkeeper-update -q - cp -rf /var/lib/scrollkeeper/C /var/lib/scrollkeeper/xx_yy.zzz |
xx_yy.zzz ????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????Developer Guide???HTML ??????????????????Sun Studio 12 ????????? NetBeans 5.5 ????????????????????????????????????????????????Getting Started????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? HTML ??????????????????????????????????????????????????????????????????????????????
Launch Sun Studio Express and follow the Getting Started Tutorial within the IDE
Launch NetBeans 5.5 and select the Getting Started within the IDE
????????????????????? 2 ??????????????????????????????????????????????????????????????????????????????
Sun Studio ????????????????????????????????????Getting Started Tutorial?????????????????????????????????Quick Start Guide?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Sun Studio ??? NetBeans ??? IDE ??????Mozilla ??? /usr/dist/exe/ ?????????????????????????????????????????????????????????Solaris Express Developer Edition ?????????Mozilla ???????????? Firefox ??????????????????????????????????????????Getting Started????????????????????????????????????????????????????????????????????????????????????????????????Sun Studio ??? Netbeans ???????????????????????????????????????????????? Firefox ???????????????????????????????????????
????????????: ????????????????????? Firefox ?????????????????????????????????????????????????????????
???????????????????????????????????????????????????Tools?????????????????????????????????????????????Options????????????????????????
???Options???????????????????????????????????????????????????????????????????????????????????????General??????????????????????????????????????????????????????
*Web Browser*: Mozilla |
???Mozilla???????????????????????????????????????????????????????????????????????????????????????Firefox????????????????????????
???OK??????????????????????????????
????????????????????????????????????Getting Started????????????????????????????????????????????????????????????????????????????????????Firefox ??????????????????????????????????????????????????????????????????
???Getting Started?????????????????????????????????????????????????????????????????????????????? Mozilla ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????uid_t ??? gid_t ????????????????????????long (32 ????????????????????????) ??? int (64 ????????????????????????) ?????????uint32_t ??????????????????????????????????????????????????????????????????Solaris Express Developer Edition ??????????????????uid_t ???????????? gid_t ?????????????????????????????????????????????
??????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????uid_t ????????? gid_t ??????????????????????????????????????????????????????????????????????????????
???????????????????????????????????????????????????????????????????????????
1 #include <unistd.h> 2 #include <stdlib.h> 3 #include <stdio.h> 4 5 int 6 main(void) 7 { 8 uid_t negone = -1; 9 10 if (getuid() < 0) 11 exit(1); 12 13 (void) setreuid(negone, getuid()); 14 15 (void) printf("%ld\n", getuid()); 16 17 return (0); 18 } |
Sun ??? Studio 11 ????????????????????????????????????????????????????????????
"uid.c", line 8: warning: initializer does not fit or is out of range: -1" |
Studio 11 ??? lint ?????????????????????????????????????????????
((8) warning: constant truncated by assignment |
(8) warning: initializer will be sign-extended: -1 |
(10) warning: suspicious comparison of unsigned with 0: op "<" |
function argument ( number ) type inconsistent with format |
|
gcc -Wall -Wextra ?????????????????????????????????????????????
uid.c:10: warning: comparison of unsigned expression < 0 is always false |
uid.c:15: warning: long int format, uid_t arg (arg 2) |
?????????????????????????????? C ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
uid_t ??? gid_t ???????????????????????????C++ ??????????????????????????????????????????????????????????????????????????????????????????
C ???????????????????????????C++ ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????uid_t ????????? gid_t ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Solaris OS ????????????????????? C++ ??????????????????????????????????????????????????????????????????Solaris ????????????????????????????????????????????????????????????????????????