기본 콘텐츠로 건너뛰기

9월, 2011의 게시물 표시

Linux 대용량(2T이상) 마운트

parted명령어로 GPT파티션을 설정하면 mount 됨. $ parted /dev/sdb # gpt파티션으로 만듬 (parted) mklabel gpt                                         Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? yes # gpt인지 확인 (parted) print                                                           Model: DELL PERC 6/i Adapter (scsi) Disk /dev/sdb: 2999GB Sector size (logical/physical): 512B/512B Partition Table: gpt         #<-- gpt Number  Start  End  Size  File system  Name  Flags (parted) mkpart primary 0 2999GB   # <--파티션 생성 Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? Ignore   (parted) print           Model: DELL PERC 6/i Adapter (scsi) Disk /dev/sdb: 2999GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number  Start   End     Size    File system  Name     Flags  1      17.4kB  2999GB  2999GB               primary (parted

python HTTP session 유지하기

Python을 이용해서 로그인 Session을 유지 하는 방법 요약. import cookielib, urllib2 cj = cookielib.CookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) home = opener.open("http://login url...") home2= opener.open("data url") # 결과 print home2.read()

blogger app으로 포스팅

모바일페이지나 만들어주지 사진 첨부나 이런것 할 수 있어서 좋은것 같지만...