>Mutt

>~/getmail/getmailrc

[retriever]
type = SimplePOP3SSLRetriever
server = pop.gmail.com
username = martadinata666@gmail.com
port = 995
password = kiodrzrlvdnr6s3p

[destination]
type = MDA_external
path = /usr/bin/procmail

~/.procmail

MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/inbox/
LOGFILE=$MAILDIR/log

~/.muttrc

# $Id$

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# ME’s personal .muttrc (Mutt 0.92.5)
#
# The format of this file is one command per line.  Everything after a pound
# sign (#) is a comment, unless a backward slash () precedes it.  Note: In
# folder-hook and send-hook you need to account for two levels of dequoting
# (see manual).
#

# Note: $folder should be set _before_ any other path vars where `+’ or `=’
# is used because paths are expanded when parsed
#
set folder=~/Mail        # where i keep my mailboxes

#set abort_unmodified=yes    # automatically abort replies if I don’t
                # change the message
set alias_file=~/Mail/mail-alias    # where I keep my aliases
#set allow_8bit            # never do Q-P encoding on legal 8-bit chars
set arrow_cursor        # use -> instead of hiliting the whole line
#set ascii_chars        # use ASCII instead of ACS chars for threads
#set askbcc
#set askcc
#set attribution=”On %d, %n wrote:”    # how to attribute replies
set autoedit            # go to the editor right away when composing
#set auto_tag            # always operate on tagged messages
#set charset=”iso-8859-1″    # character set for your terminal
set noconfirmappend        # don’t ask me if i want to append to mailboxes
#set confirmcreate        # prompt when creating new files
set copy=yes            # always save a copy of outgoing messages
set delete=yes            # purge deleted messages without asking
set edit_headers        # let me edit the message header when composing
#set editor=”emacs -nw”        # editor to use when composing messages
#set bounce=yes            # don’t ask about bouncing messages, just do it
#set fast_reply            # skip initial prompts when replying
set fcc_attach            # keep attachments in copies of sent messages?
#set force_name            # fcc by recipient, create if mailbox doesn’t exist
#set forward_decode        # weed and MIME decode forwaded messages
#set forward_format=”[%a: %s]”    # subject to use when forwarding messages
#set forward_quote        # quote the header and body of forward msgs
#set index_format=”%4C %Z %{%m/%d} [%2N] %-15.15F (%4c) %s”
set index_format=”%4C %Z %{%m/%d} %-15.15F (%4c) %s” # format of the index
#set hdrs            # include `my_hdr’ lines in outgoing messages
#set header            # include message header when replying
set help            # show the help lines
#set history=20            # number of lines of history to remember
#set hostname=”mutt.org”    # my DNS domain
set include            # always include messages when replying
#set indent_string=”> ”        # how to quote replied text
#set locale=”C”            # locale to use for printing time
#set mailcap_path=”~/.mailcap:/usr/local/share/mailcap”
set nomark_old            # i don’t care about whether a message is old
set mail_check=10        # how often to poll for new mail
set mbox=~/Mail/inbox    # where to store read messages
#set menu_scroll        # no implicit next-page/prev-page
#set metoo            # remove my address when replying
set mime_forward        # use message/rfc822 type to forward messages
set move=yes            # don’t ask about moving messages, just do it
#set pager=less            # some people prefer an external pager
#set pager_context=3        # no. of lines of context to give when scrolling
#set pager_format=”-%S- %-20.20f %s”    # format of the pager status bar
set pager_index_lines=6        # how many index lines to show in the pager
#set pager_stop            # don’t move to the next message on next-page
#set pgp_strict_enc        # use Q-P encoding when needed for PGP
set postponed=+postponed    # mailbox to store postponed messages in
#set post_indent_string=’—end quoted text—‘
#set print=ask-yes        # ask me if I really want to print messages
set print_command=/bin/false    # how to print things (I like to save trees)
set noprompt_after    # ask me for a command after the external pager exits
#set quote_regexp=”^ *[a-zA-Z]*[>:#}]”    # how to catch quoted text
set read_inc=25            # show progress when reading a mailbox
#set recall            # prompt to recall postponed messages
set record=+outbox        # default location to save outgoing mail
set reply_to            # always use reply-to if present
#set reply_regexp=”^(re:[ t]*)+”# how to identify replies in the subject:
#set resolve        # move to the next message when an action is performed
#set reverse_alias        # attempt to look up my names for people
set reverse_name        # use my address as it appears in the message
                # i am replying to
set nosave_empty        # remove files when no messages are left
#set save_name            # save outgoing messages by recipient, if the
#set sendmail=”/usr/lib/sendmail -oi -oem”    # how to deliver mail
#set shell=”/bin/zsh”        # program to use for shell escapes
set signature=”~/Mail/signature”    # file which contains my signature

# I subscribe to a lot of mailing lists, so this is _very_ useful.  This
# groups messages on the same subject to make it easier to follow a
# discus
sion.  Mutt will draw a nice tree showing how the discussion flows.
set sort=threads        # primary sorting method

#set sort_aux=reverse-date-received    # how to sort subthreads
#set sort_aux=last-date        # date of the last message in thread
set sort_browser=reverse-date    # how to sort files in the dir browser
set spoolfile=’~/Mail/inbox’    # where my new mail is located
#set status_format=”-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?  %l]—(%s)-%>-(%P)—“
#set status_on_top        # some people prefer the status bar on top
#set strict_threads        # don’t thread by subject
set tilde            # virtual lines to pad blank lines in the pager
#set timeout=0            # timeout for prompt in the index menu
#set tmpdir=~/tmp        # where to store temp files
#set to_chars=” +TCF”
#set use_8bitmime        # enable the -B8BITMIME sendmail flag
set nouse_domain        # don’t qualify local addresses with $domain
#set use_from            # always generate the `From:’ header field
set implicit_autoview=yes    # pager shows parts having a mailcap viewer
set pgp_verify_sig=no        # don’t automatically verify message signatures
#set visual=vim            # editor invoked by ~v in the builtin editor
#set nowait_key            # prompt when a pipe returns normal status
set write_inc=25        # show progress while writing mailboxes

# only enable the following IFF you have sendmail 8.8.x or you will not
# be able to send mail!!!
#set dsn_notify=’failure,delay’    # when to return an error message
#set dsn_return=hdrs        # what to return in the error message

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Header fields I don’t normally want to see
#
ignore *        # this means “ignore all lines by default”

# I do want to see these fields, though!
unignore    from: subject to cc mail-followup-to
        date x-mailer x-url # this shows how nicely wrap long lines

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Color definitions
#

color normal white default
#color hdrdefault white default
#color quoted brightblue default
#color signature white default
#color indicator brightyellow white
#color error white default
#color status yellow blue
#color tree magenta default    # the thread tree in the index menu
#color tilde magenta default
#color message brightcyan default
#color markers brightcyan default
#color attachment brightmagenta default
#color search default green    # how to hilite search patterns in the pager

#color header brightred default ^(From|Subject):
#color body magenta default “(ftp|http|https)://[^ ]+”    # point out URLs
#color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+    # e-mail addresses
#color underline brightgreen default

# attributes when using a mono terminal
#mono header underline ^(From|Subject):
mono quoted bold

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Key bindings
#
#    maps:
#        alias        alias menu
#        attach        attachment menu
#        browser        directory browser
#        compose        compose menu
#        index        message index
#        pgp        pgp menu
#        postpone    postponed message recall menu
#        generic        generic keymap for all of the above
#        editor        line editor
#        pager        text viewer
#       

bind generic “e<” first-entry    # emacs-like bindings for moving to top/bottom
bind generic e> last-entry
bind generic { top-page
bind generic } bottom-page
bind generic 177 last-entry

macro index cb ” urlview”    # simulate the old browse-url function

macro index S “+spam”
macro pager S “+spam”

#macro index #    “bug”    # search for bugs
#macro index “””    ” set realname=”real hairy macro” ?realname” # and a comment to boot!
#macro index f1    “woohoo!”

bind pager G bottom    # just like vi and less
#macro   pager   Ck     ” pgp -kaf”   # a comment is valid here
#macro pager X ” morepgp”    # pipe PGP message to a script

#bind editor cy eol    # make ^Y jump to the end of the line

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# User Defined Headers
#

#my_hdr X-Useless-Header: Look ma, it’s a # sign! # real comment
#my_hdr X-Operating-System: `uname -a`

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Specify default filename when saving messages
#
#    save-hook [!]
#
# is provided as default when saving messages from

#save-hook mutt- =mutt-mail
#save-hook aol\.com$ +spam
save-hook ^judge +diplomacy

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Multiple spool mailboxes
#
#    mbox-hook [!]
#
# Read mail in is moved to when is
# closed.

#mbox-hook =mutt-users.in =mutt-users
#mbox-hook +TEST +inbox

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Change settings based upon message recipient
#
#    send-hook [!]
#
# is executed when sending mail to an address matching

#send-hook mutt- ‘set signature=~/.sigmutt; my_hdr From: Mutt User ‘

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Specify where to save composed messages
#
#    fcc-hook [!]
#
# is recipient(s), is where to save a copy

#fcc-hook joe +joe
#fcc-hook bob +bob

# – – – – – – – – –
– – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Change settings based on mailbox
#
#    folder-hook [!]
#
# is executed when opening a mailbox matching

#folder-hook .        ‘set sort=date-sent’
#folder-hook mutt    ‘set index_format=”%4C %Z %02m/%02N %-20.20F (%4l) %s”‘
#folder-hook =mutt    my_hdr Revolution: #9 # real comment

#folder-hook .        ‘set reply_regexp=”^re:[ t]*”‘

# this mailing list prepends “[WM]” to all non reply subjects, so set
# $reply_regexp to ignore it
# Warning: May break threads for other people.
#folder-hook +wmaker    ‘set reply_regexp=”^(re:[ t]*)?[WM][ t]*”‘

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Aliases
#
#    alias

[ ,

… ]

#alias exam “# to annoy michael”
#alias me Michael Elkins # me!
#alias mutt-dev Mutt Development List # power users
#alias mutt-users Mutt User List
#alias mutt-announce Mutt Announcement List
#alias wmaker WindowMaker Mailing List

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Mailboxes to watch for new mail
#
#    mailboxes [ … ]
#

mailboxes ! +mutt-dev +mutt-users +open-pgp +wmaker +hurricane +vim +ietf
    +drums
#mailboxes `echo $HOME/Mail/*`

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Specify the order of the headers to appear when displaying a message
#
#    hdr_order [ … ]
#

unhdr_order *                # forget the previous settings
hdr_order date from subject to cc

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Identify mailing lists I subscribe to
#
#    lists [ … ]

lists ^mutt-dev@mutt\.org$ ^mutt-users@mutt\.org$

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Automatically use entries from ~/.mailcap to view these MIME types
#
#    auto_view [ … ]

auto_view application/x-gunzip
auto_view application/x-gzip

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# Scoring
#
#    score
#
# 9999 and -9999 are special values which cause processing of hooks to stop
# at that entry.  If you prefix the score with an equal sign (=), the score
# is assigned to the message and processing stops.

#score ‘~f ^me@cs.hmc.edu$’ 1000
#score ‘~t mutt | ~c mutt’ =500
#score ‘~f aol.com$’ -9999

# – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
#
# I use Mutt on several different machines, so I put local config commands
# in a separate file so I can have the rest of the settings the same on all
# machines.
#

#source ~/.muttrc-local    # config commands local to this site

# EOF
set my_pass=’kiodrzrlvdnr6s3p’
set my_user=martadinata666@gmail.com

set smtp_url=smtps://$my_user:$my_pass@smtp.gmail.com
set ssl_force_tls = yes

Posted in Uncategorized | Leave a comment

>Cleaning System

>Setelah banyak eksperimen aplikasi dan dll, dll…
saya putuskan untuk clean system saya…
kira2 begini

$sudo pacman -Rscnd opera chromium clementine audacious ardour synapse kupfer avant-window-navigator avant-window-navigator-plugins gnote pympd gnome-ppp notify-osd notification-daemon

Posted in Uncategorized | Leave a comment

>Chromium – Google Chrome differences?

>Now for the simplified version:

Chromium:
– the open-source project on which Google Chrome is based;
– bleeding-edge features;
– several binary builds for Windows, Linux and Mac made available each day, sometimes 20 or more;
– not considered stable, don’t blame the developers if it crashes your computer or eats your cat;

Google Chrome dev:
– based on very recent Chromium builds;
– new versions every week or so;
– relatively stable, more like what other companies would consider ‘beta,’ but not stable enough for production use;
– the latest and greatest features and updates;

Google Chrome beta:
– based on stable developers channel releases;
– new versions every month or so;
– new features and bigger changes, known to work in the majority of cases;
– stable enough for everyday use, crashes are few and far between;

Google Chrome stable:
– based on tried-and-trusted beta versions;
– all known bugs ironed out, all new features tested for months before release;
– new versions every few months;
– as stable as Google Chrome gets, usable in any environment;

Google Chrome vs Chromium

Another common question concerns the actual differences between Chromium and Google Chrome. In practical terms, they are minor. The short version, Google Chrome is Chromium with a different logo and a slightly different spelling. This is what Google Chrome adds to Chromium builds:
– the Chrome logo and other branding changes;
– an auto-updater which downloads and installs the latest Chrome version from the respective channel;
– an option, enabled by default, to send anonymous usage statistics to Google;
– code to send stats like installs and country info back to Google, no option to disable it;

Understanding Google Chrome version numbers

Google Chrome’s version numbers can be a bit confusing as well. They look something like 5.0.375.9. The number can be split into three areas.

5.0 – is the major version number. It changes occasionally and, though a move from the last 4.1.x.x to the first 5.0.x.x doesn’t necessarily mean a huge list of new features, the differences are bigger between the first 4.0.x.x builds.

.379 – is the code for the current version. A change means new features or improved functionality.

.9 – this number is reserved for small updates fixing security vulnerabilities and stability issues. No new features are added when this number is updated.

Chromium gets another number added, something like 44736, which is the build code of the release.

credits 

Posted in Uncategorized | Leave a comment

>SIS M671 – Archlinux Xorg.conf

>Credits : http://pastebin.com/8K2mbwgd , http://www.facebook.com/kurangajarkurangajar

  1. Section “ServerLayout”
  2.         Identifier     “X.org Configured”
  3.         Screen      0  “Screen0” 0 0
  4.         InputDevice    “Mouse0” “CorePointer”
  5.         InputDevice    “Keyboard0” “CoreKeyboard”
  6. EndSection
  7.  
  8. Section “Files”
  9.         ModulePath   “/usr/lib/xorg/modules”
  10.         FontPath     “/usr/share/fonts/misc/”
  11.         FontPath     “/usr/share/fonts/Type1/”
  12.         FontPath     “/usr/share/fonts/100dpi/”
  13.         FontPath     “/usr/share/fonts/75dpi/”
  14. EndSection
  15.  
  16. Section “Module”
  17.         Load  “record”  # input handling ?
  18.         Load  “glx”     # OpenGl
  19.         Load  “dbe”     # Double buffer
  20.         Load  “extmod”  # XVideo and other useful stuff
  21.         Load  “dri”     # are these ones useful ?
  22.         Load  “dri2”
  23. EndSection
  24.  
  25. Section “InputDevice”
  26.         Identifier  “Keyboard0”
  27.         Driver      “kbd”
  28. EndSection
  29.  
  30. Section “InputDevice”
  31.         Identifier  “Mouse0”
  32.         Driver      “mouse”
  33.         Option      “Protocol” “auto”
  34.         Option      “Device” “/dev/input/mice”
  35.         Option      “ZAxisMapping” “4 5 6 7”
  36. EndSection
  37.  
  38. Section “Monitor”
  39.         Identifier   “Monitor0”
  40.         VendorName   “Monitor Vendor”
  41.         ModelName    “Monitor Model”
  42. EndSection
  43.  
  44. Section “Device”
  45.         # I have sisctrl utility installed (useful for gamma
  46.         # configuration)
  47.         Option          “EnableSiSCtrl”      “yes”
  48.         # this option is suggested by Ubuntu driver developer
  49.         # fot 1366×768 resolution usage
  50.         Option          “UseTiming1366”      “yes”
  51.         # without this option Xorg prints junk message about
  52.         # missing sis671_dri.so
  53.         Option          “DRI”                “0”
  54.         Identifier      “Card0”
  55.         Driver          “sis”
  56.         BusID           “PCI:1:0:0”
  57. EndSection
  58.  
  59. Section “Screen”
  60.         Identifier “Screen0”
  61.         Device     “Card0”
  62.         Monitor    “Monitor0”
  63.         SubSection “Display”
  64.                 Modes   “1366x768_60.00”
  65.         EndSubSection
  66.         SubSection “Display”
  67.                 Viewport   0 0
  68.                 Depth     1
  69.         EndSubSection
  70.         SubSection “Display”
  71.                 Viewport   0 0
  72.                 Depth     4
  73.         EndSubSection
  74.         SubSection “Display”
  75.                 Viewport   0 0
  76.                 Depth     8
  77.         EndSubSection
  78.         SubSection “Display”
  79.                 Viewport   0 0
  80.                 Depth     15
  81.         EndSubSection
  82.         SubSection “Display”
  83.                 Viewport   0 0
  84.                 Depth     16
  85.         EndSubSection
  86.         SubSection “Display”
  87.                 Viewport   0 0
  88.                 Depth     24
  89.         EndSubSection
  90. EndSection

    for 1366×768 resolution

Posted in Uncategorized | Leave a comment

>Deteksi Screen Refresh Rate

>just type :
$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280×800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
   1280×800       60.0*+
   1024×768       60.0 
   800×600        60.3     56.2 
   640×480        59.9 
VGA1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

liat texs yang saya bold, di situ akan terlihat resolusi maksimum dan refresh ratenya, sehingga refresh rate monitor saya ada 60Hz, ini bisa sebagai informasi untuk mengatur compiz di bagian general > display settings > uncheck “autodetect refresh rate > refresh rate > 60

NB = Untuk NVIDIA dan ATI, refresh rate detect mungkin kurang benar, sila gunakan driver yang cocok terlebih dahulu.

Posted in Uncategorized | Leave a comment

>Install LILO Archlinux

>LiLo = LInux LOader
Bootloader yang sudah lama tapi tetap mumpuni, hal ini saya lakukan karna masalah grub saat reboot… ya, saat reboot grub tidak mau kluar…
akhirnya saya memutuskan menggantinya dengan LILO

#pacman -S lilo

#nano /etc/lilo.conf
#
# /etc/lilo.conf
#

boot=/dev/sda #tempat install lilo
# This line often fixes L40 errors on bootup
# disk=/dev/hda bios=0x80

default=arch #sesuaikan dengan label disk
timeout=5 #waiting time
lba32
prompt
compact #agar booting lebih cepat, tapi juga bisa menyebabkan kegagalan (hasilnya gagal pada saya)

image=/boot/vmlinuz-linux-ck #sesuaikan dengan nama kernel anda, disini saya memakai kernel-ck
    label=arch
    root=/dev/sda3 #dimana archlinux terinstall
    initrd=/boot/initramfs-linux-ck.img #initramfs ini juga sesuaikan
    read-only

image=/boot/vmlinuz-linux-ck
    label=arch-fallback
    root=/dev/sda3
    initrd=/boot/initramfs-linux-ck-fallback.img
    read-only

#other=/dev/hda1
#    label=dos

kemudian save, keluar dari nano,
#lilo
maka LILO akan menginstall loader, cukup mudah bukan, di banding grub atau grub2

Kemudian untuk menambahkan system windows ke boot list lilo, cukup tmbahkan

LABEL windows
MENU LABEL Windows
COM32 chain.c32
APPEND hd0 1 #partisi windowsnya

untuk windows seven atau vista, arahkan partisi pada partisi yang dinamakan “System reserved” bisa di cek di
$blkid

Posted in Uncategorized | Leave a comment

>Reduce ttyX

>credits : http://www.kaskus.us/showthread.php?t=11466459
What

Virtual console adalah konsol maya yang dapat kita akses dengan menekan kombo CTRL+ALT+{F1-F6}. Debian menggunakan 6 virtual console yang untuk penggunaan umum pastinya jarang digunakan semuanya dan sayangnya hanya membebani memory.

How

  1. Sunting berkas inittab
    Code:
    # nano /etc/inittab
  2. Tambahkan tanda pagar (#) di depan virtual console yang tidak diinginkan namun pastikan untuk menyisakan setidaknya dua.
    Misal semula:
    Code:
    # Note that on most Debian systems tty7 is used by the X Window System,
    # so if you want to add more getty's go ahead but skip tty7 if you run X.
    #
    1:2345:respawn:/sbin/getty 38400 tty1
    2:23:respawn:/sbin/getty 38400 tty2
    3:23:respawn:/sbin/getty 38400 tty3
    4:23:respawn:/sbin/getty 38400 tty4
    5:23:respawn:/sbin/getty 38400 tty5
    6:23:respawn:/sbin/getty 38400 tty6

    Menjadi:

    Code:
    # Note that on most Debian systems tty7 is used by the X Window System,
    # so if you want to add more getty's go ahead but skip tty7 if you run X.
    #
    1:2345:respawn:/sbin/getty 38400 tty1
    2:23:respawn:/sbin/getty 38400 tty2
    #3:23:respawn:/sbin/getty 38400 tty3
    #4:23:respawn:/sbin/getty 38400 tty4
    #5:23:respawn:/sbin/getty 38400 tty5
    #6:23:respawn:/sbin/getty 38400 tty6
Posted in Uncategorized | Leave a comment

>Skip FSCK

>What

Secara asali berkas sistem ext{2,3, dan 4} akan selalu melakukan pemeriksaan sistem berkas setiap 30 kali sistem di-boot yang tentunya mengesalkan jika kita sedang diburu waktu.
Filesystem checking memang sangat disarankan bagi kita yang menggunakan catu daya dari PLN yang tidak terjamin mutu layanannya. Seperti diketahui mutu catuan listrik sangat berpengaruh terhadap kesehatan PC terutama HDD baik secara perangkat keras maupun perangkat lunak.
Namun jika kita menggunakan notebook ber-baterai atau desktop ber-UPS fsck tidaklah terlalu penting meski tetap disarankan.

Komputer yang mengandalkan catu daya dari sumber yang tidak terjamin ketersediaannya akan sangat rentan mengalami kerusakan filesystem dan karenanya trik ini sangat tidak disarankan terkecuali tetap rutin melakukan fsck secara manual.

Pro

* Booting lebih cepat tanpa gangguan

Con

* Hanya untuk PC ber-UPS dan atau notebook berbaterai.

How

Kita dapat melewati filesystem check dengan 3 cara :

  1. Dengan mengubah kolom ke enam dari fstab (fs_passno) dengan 0
    Misal tadinya:
    Code:
    /dev/sda6 /  ext4 rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 defaults 0 2

    menjadi:

    Code:
    /dev/sda6 /  ext4 rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 defaults 0 0
  2. Dengan menggunakan perintah tune2fs.
    Code:
    # tune2fs -i 0 /dev/sda9

    Akan menetapkan selang waktu pemeriksaan /dev/sda9 pada 0 detik atau dengan kata lain tidak akan melakukan fsck.

  3. Dengan parameter fastboot pada kernel. Lihat trik di bagian lain.

Info :

man fstab
credits : http://www.kaskus.us/showthread.php?t=11466459

Posted in Uncategorized | Leave a comment

>Reduce Hard-disk Access

>What

Alkisah, dahulu kala zaman komputer masih sebesar lemari dan berharga jutaan dollar, sistem penyimpanan datanya menggunakan pita magnetik. Keutuhan data dalam pita magnetik ini begitu rapuh karena rentan cuaca dan gesekan dari head pembaca. Demi menyiasati hal ini, para ahli menerapkan penandaan access time; dimana ketika data dibaca dan ditulis maka dilakukan juga penandaan waktu akses.

Mungkin cerita tadi meragukan adanya, namun nyatanya pada zaman modern sekarang ini penulisan access time (atau biasa disingkat atime) masih diterapkan pada banyak sistem operasi, di antaranya GNU/Linux.
Banyak silang pendapat mengenai pentingnya atime pada sistem modern, dan kebanyakan berpendapat bahwa atime sudah tidak sesuai dengan perkembangan perangkat keras yang ada. Buktinya teknologi penyimpanan SSD (Solid State Disk) dapat menderita pemendekan usia pakai akibat kerapnya disk access yang di antaranya diakibatkan oleh atime ini.

Untungnya kita dapat dengan mudah mengubah perilaku access time ini melalui fstab.

Pro

* I/O (proses input/output atau disc access) HDD lebih rendah yang berakibat pada sistem yang lebih gegas, senyap, dan hemat daya.

Con

  • Mungkin akan berdampak pada aplikasi yang membutuhkan access time. Misalnya email reader menggunakan time stamp untuk menentukan apakah email itu lebih baru atau bukan, juga misalnya apakah berkas di /tmp sudah berumur dan patut dibuang atau tidak.
  • Kita juga akan kehilangan keuntungan dari metadata. Dengan tidak adanya atime maka kita akan kehilangan informasi seperti kapan sebuah berkas ditulis, dan lainnya.

How

  1. Noatime atau no access time.

    Dengan noatime sistem sama sekali tidak akan menuliskan time stamp ketika mengakses data.
    Untuk menggunakannya kita akan menyunting fstab terutama kolom fs_mntops (filesystem mount options):

    Code:
    # nano /etc/fstab

    misal tadinya:

    Code:
    /dev/sda6 /  ext4 rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 defaults 0 2

    menjadi:

    Code:
    /dev/sda6 /  ext4 noatime,rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 noatime 0 2

    Simpan dan kaitkan ulang partisi:

    Code:
    # mount -o remount -a
  2. Relatime atau relative access time.

    Waktu akses hanya dimutakhirkan jika waktu akses sebelumnya adalah lebih awal dari waktu perubahan sekarang.

    Code:
    # nano /etc/fstab

    Misal tadinya:

    Code:
    /dev/sda6 /  ext4 rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 defaults 0 2

    Menjadi:

    Code:
    /dev/sda6 /  ext4 relatime,rw,errors=remount-ro 0 1
    /dev/sda9 /media/DATA ext4 relatime 0 2

    Simpan perubahan dan kaitkan ulang partisi:

    Code:
    # mount -o remount -a

Info :

Posted in Uncategorized | Leave a comment

>BOOT KIAN NGEBUT DENGAN FASTBOOT

>credits : http://www.kaskus.us/showthread.php?t=11466459
What

Lumayan mengesalkan ketika kita diburu waktu dalam menghidupkan komputer ternyata dicegat sistem yang melakukan filesystem checking (fsck).
Secara default sistem berkas ext akan melakukan pemeriksaan diri tiap 30 kali sistem di-boot demi menjaga keutuhan data dari kerusakan yang mungkin diakibatkan system crash atau gangguan catu daya.

Sekarang saya menggunakan Debian Squeeze yang digolongkan kedalam rilis stabil dari Debian, dan nyatanya memang tidak pernah mengalami crash terkecuali saya sendiri yang mengoprek sistemnya. Saya juga menginstall Debian Squeeze ini pada notebook yang keadaan baterainya masih bagus, dengan demikian hampir tidak memiliki alasan untuk melakukan fsck.

Ada banyak hal yang dapat dilakukan untuk menghindari fsck ini seperti dengan melewatinya (skip), menundanya, atau mematikannya.

Trik berikut; fastboot, akan melewatkan proses filesystem check.

Pro

* Booting lebih cepat

Con

Jika laptop Anda tidak berbaterai atau desktop Anda tidak ber-UPS maka ada kemungkinan data corrupt karena filesystem tidak diperiksa.
Trik ini hanya disarankan bagi laptop berbaterai atau desktop ber-UPS.
Harus diingat, fsck tetap sangat disarankan untuk dilakukan secara rutin.

How

  1. Sunting bootloader
    Code:
    # nano /boot/burg/burg.cfg
  2. Tambahkan teks berikut di ujung baris kernel (parameter kernel) yang di-boot:
    Code:
    fastboot

    Misal:

    Code:
    linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sda1 ro quiet

    Menjadi:

    Code:
    linux /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sda1 ro quiet fastboot
Posted in Uncategorized | Leave a comment