?????? ????????? Developer 9/07 ???????????? ???????????????.
Windows Vista fdisk ??????????????? ????????? ??????????????? ?????? ????????? ????????? ??? ??? ?????? ????????? ???????????????. Vista????????? ????????? 2048??? ?????? ????????? ???????????????. ??? ?????? ????????? Vista??? ?????? ???????????? ?????? ?????? ???????????? Developer 9/07 ???????????? ??????????????? ????????? ?????? ????????? ?????????. fdisk ????????? ?????? ?????? ????????? ?????? ?????? ???????????? ?????? ?????? ????????? ???????????????.
Windows Vista??? ???????????? ?????? ??????????????? Developer 9/07 ???????????? ????????? ?????? ????????? ?????? ??? ?????? ?????? ??? ????????? ????????? ??? ????????????.
?????? ?????? ???????????? ?????? ????????? ????????? ??? ????????????.
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 |
????????? ?????? ????????? ????????? 488376000?????? ???????????????. ????????? ?????? ????????? 488376000??????, 16065 + 488359935 ?????? ?????? ???????????? ???????????????. ????????? ?????? ????????? ????????? ???????????? ?????? ????????? ???????????????.
?????? ???????????? Solaris??? ???????????? ?????? ?????? ???????????? ?????? CD ?????? DVD??? ???????????? ????????? ??????, ?????? ???????????? ????????? ??? ?????? ????????? ????????? ??? ????????????.
?????? ??????: ????????? ?????? ?????? ????????? ?????? ????????? ?????? CD??? ????????????. ?????? ????????? ??????????????????.
Windows Vista??? ???????????????.
????????? ?????? ????????? ???????????????. Windows -> ????????? -> ????????? ?????? ?????? -> ?????? ?????? -> ?????? ????????? ????????? ????????? ??? ???????????? ???????????????.
??????????????? ????????? ?????? ????????? ????????? ????????? ???????????? ????????? ?????? ????????? ???????????????. ????????? ??? 9MB?????? ???????????????.
Vista fdisk ????????? Solaris ?????? ???????????? fdisk ?????? ?????? ????????? ????????? ??? ????????? Vista ?????? ????????? ?????? ????????? 9MB??? ???????????? Solaris ?????? ???????????? ????????? ???????????????.
???????????? ??????????????? Solaris OS??? ???????????????.
???????????? ????????? Solaris ?????? ??????????????? ????????? ??? ?????? ??????(?????? ??????) ????????? ???????????? ?????? ????????? ????????? ???????????? ?????? ????????? ???????????? ?????? ?????? ?????? ????????? ????????? ???????????????. ?????? ???????????? ???????????? ????????????.
?????? ??????: ??????.
?????? ?????? ???????????? ?????? ????????? ?????? hme??? ???????????? Sun4UTM ??????????????? ???????????? ???????????? ???????????????. Ultra 10, Ultra 60 ??? Ultra 80 ???????????? ?????? ????????? ???????????? ????????? ???????????? ?????? ???????????? ????????? ?????? 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(Runtime Checking)??? ???????????????. 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)??? ?????? I/O ?????? ????????? ?????? ?????? ???????????? ????????? ??? ????????????. ????????? ????????? ?????? ???????????? ????????? ???????????? ??? ????????? ?????? ?????? ????????? ????????? ??? ????????? ???????????????.
????????? ????????? ???????????? ??? ???????????? ???????????? ?????? ???????????? ???????????? ????????? ????????? ???????????? ????????? ????????? ????????????. ??? ???????????? ???????????? ????????? ??? ????????? ??????????????????.
??? ???????????? ???????????? ??? ????????? ???????????? ????????? ????????? ???????????? ??? ????????? ?????? ?????? ????????? ????????? ??? ????????????. ????????? ????????? ????????? ???????????? ?????? ????????? ????????? ????????? ????????? ?????? ????????????.
????????? ???????????? ?????? ???????????? ????????? ?????? ?????? ?????????.
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??? ?????? ????????? ???????????? ?????? ?????? ?????? ??????????????? ????????? ?????? ????????? ???????????????. ????????? ???????????? ????????? ????????? ??? ????????????.
NTFS??? ???????????? ?????? ?????? ????????? ?????? Windows Vista ???????????? ??????, Vista??? ????????? ?????? ????????? ???????????? ???????????? ????????? ?????? ????????? ???????????????. ?????? ?????? ???????????? ?????? ?????? ????????? ???????????? ?????? ????????? ???????????? ?????? ?????????. ????????? ?????? ????????? ??? 1MB?????? ???????????? ????????? ????????? ??? ????????????.
?????? ??? ????????? ?????? ?????? ???????????? ???????????????.
application gnome-about has crashed. |
??? ?????? ???????????? ????????? ??? ????????????.
?????? ??????: ??????.
????????? ????????? ???????????? ???????????? ?????? ?????? ?????? ?????? ??? GOK(GNOME On-Screen Keyboard)??? ?????? UI ????????? ????????? ???????????????. ?????? ?????? ??????????????? ???????????? ?????? ????????? ????????? ???????????????. ?????? ???????????? ???????????? ????????????.
?????? ??????: ?????? ?????? ?????? ??? ????????? ???????????????.
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 |
????????? ???????????? ???????????? ?????? ??????????????????.
512MB ???????????? Solaris Express Developer Edition GUI ?????? ??????????????? ???????????? ??? ???????????? ????????????. Developer ???????????? ??????????????? 768MB ????????? ???????????? ???????????????.
?????? ??????: ?????? ?????? ?????? ??? ????????? ???????????????.
x86 ?????????: GRUB ???????????? Solaris Express Serial Console ttyb ?????? ??????(#4)??? ???????????????. ??? ????????? 512MB ???????????? ???????????? ????????? ?????? ????????? ???????????????. ??? ???????????? ?????? ????????? ???????????? ????????? ????????? ???????????? ????????????. ?????? ?????? ????????? ????????? ????????? ??? ????????????.
SPARC ?????????: ?????? ?????? ????????? ???????????????.
ok boot cdrom - text |
??? ????????? 512MB ???????????? ???????????? ????????? ?????? ????????? ???????????????. ??? ???????????? ?????? ????????? ???????????? ????????? ????????? ???????????? ????????????. ?????? ?????? ????????? ????????? ????????? ??? ????????????.
????????? ?????? ????????? ?????? ????????? ????????? Solaris Express Installation Guide: Basic Installations??? ??????????????????.
Solaris OS??? ??????????????? ?????? ???????????? ???????????? ???????????? 12?????? ????????? ?????? ?????? ????????? ???????????????. C/POSIX ????????? ??????????????? 12?????? ?????? 2??? ????????? ???????????????. ???????????? ????????? ????????? ????????????.
Manual(??????) ?????????
GNU Info(GNU ??????) ?????????
?????? ???????????? ???????????? ????????????.
?????? ??????: ?????? ????????? ??????????????????.
?????? ???????????? ??????????????????.
?????? ????????? ??????????????????.
- scrollkeeper-update -q - cp -rf /var/lib/scrollkeeper/C /var/lib/scrollkeeper/xx_yy.zzz |
xx_yy.zzz??? ???????????? ??? ???????????? ?????? ????????? ???????????????.
???????????? ?????? ???????????? ??? ???????????? ????????? ????????? HTML ??????????????? Sun Studio 12 ??? NetBeans 5.5 ????????? ?????? ????????? ??? ?????? ??????????????? ?????? ?????? ??????????????? ?????? ????????? ???????????? ???????????? ???????????? ????????????. ??? HTML ???????????? ??????????????? ????????? ?????? ????????? ???????????? ????????????.
Sun Studio Express??? ???????????? IDE ????????? ?????? ???????????? ???????????????.
NetBeans 5.5??? ???????????? IDE ????????? ????????? ???????????????.
??? ???????????? ??? ?????? ????????? ????????????. ?????? ?????? ??? ?????? ????????? ????????? ????????????.
Sun Studio ???????????? ????????? ????????? ?????? ???????????? ????????? ?????? ?????? ???????????????, ????????? ???????????? ?????? ??? ????????????. ??? ????????? ????????? ????????? ????????????.
Sun Studio ??? NetBeans IDE??? /usr/dist/exe/?????? ??????????????? Mozilla??? ????????????. Solaris Express Developer Edition?????? Mozilla??? ?????? Firefox ??????????????? ???????????? ????????????. ??????????????? ?????? ???????????? ?????? ???????????? ?????????????????? Sun Studio ??? Netbeans?????? ?????? ????????? ??????????????? Firefox??? ???????????? ?????????.
?????? ??????: ??????????????? Firefox??? ??????????????? ?????? ????????? ??????????????????.
?????? ??????????????? ?????? ??????????????? ?????? ?????? ????????? ????????? ????????? ???????????????.
????????? ????????? ?????? ????????? ???????????????. ?????? ???????????? ?????? ?????? ???????????????.
*Web Browser*: Mozilla |
Mozilla??? ???????????? ?????? ????????? ????????? ???????????? ????????? Firefox??? ???????????????.
?????? ????????? ????????????.
?????? ???????????? ?????? ?????? ???????????? ?????? ????????? ????????? ???????????? Firefox ??????????????? ??????????????? ????????? ??????????????????.
??????????????? ????????? 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 ???????????? ?????? ????????? ???????????????.
((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++ ?????? ??? ????????? ???????????? ?????? ?????? ?????????(name mangling) ????????? ???????????????.
C ????????????????????? ??????????????? C++ ???????????? ??? ?????????????????? ???????????? ?????? ???????????? ???????????????. ????????? ?????????????????? uid_t ??? gid_t ??? ???????????? ?????????????????? ???????????? ?????? ????????? ???????????????. ??? ??????, ????????? ?????????????????? ???????????? ?????? ?????????????????? ?????????????????? ???????????? ?????? ??????????????? ????????? ?????? ??????????????? ?????????.
Solaris OS??? ??? ????????? C++ ?????????????????? ???????????? ?????? ????????? Solaris ????????????????????? ??????????????? ???????????? ????????????.