for(
count = 0; value != 0; count++ )
{
value &= value – 1;
}
fdisk /dev/sda # adjust for disk if necessary p # to see existing partitions d # to delete partition if any w # write table fdisk /dev/sda n # new swap p # primary 1 # partition 1 swap# start at default block +64M # size of Swap in MB; can be larger t # set type of Swap partition 2 # partition 2 is Swap 82 # swap type p # check partitions n # new Data for remaining p # primary 2 # partition 2 Data # default start block # default remaining blocks p # check partitions w # write it all out and exit
mkswap -L swap /dev/sda1
swapon
mke2fs -j -L data /dev/sda2
if(className.indexOf('dijitTreeContainer') !== -1) {
this._objTree.set('selectedItem', null);
}
if(this._objTree.selectedItem) {
this._objTree._expandNode( this._objTree.getNodeFromItem(this._objTree.selectedItem)[0] );
}