Skip to main content

Posts

Showing posts from December, 2014

You can mount ext2 as ext4 filesytem (just read...)

So - this is tough to even explain.  Imagine all of your build scripts and SOP simply read # mkfs /dev/VolumeGroup/Volume and then you add the following entry to /etc/fstab /dev/VolumeGroup/Volume /directory ext4 defaults 1 2 then when you run # mount -a Everything is cool.  Except .. it's not. That mkfs command created an ext2 filesystem - the crappy part is when mount command is run, even though fstab is expecting ext4, it doesn't care and mounts it anyhow.  So, now we have a filesystem with no Journal and added ext4 features. Worse yet - there is no "supported" upgrade path to ext4.  However, you can add a Journal to make it ext3. # tune2fs -j /dev/VolumeGroup/Volume

fedora 20 finish script (mp3 playback, Google Chrome, ClamAV Anti-Virus)

Once again - revisiting my "finish script" for my workstation... #!/bin/bash PWD=`pwd` DATE=`date +%Y%m%d` ARCH=`uname -p` yum -y install redhat-lsb-core RELEASE=`lsb_release -r | awk '{ print $2 }'` # Setup wheel group for NOPASSWD: sed --in-place 's/^#\s*\(%wheel\s\+ALL=(ALL)\s\+NOPASSWD:\s\+ALL\)/\1/' /etc/sudoers # Configure for fastest repos yum -y install yum-plugin-fastestmirror # REPO MGMT # RPMfusion -  Release independent yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm # RPMfusion -  Release dependent yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-${RELEASE}.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${RELEASE}.noarch.rpm # Adobe yum -y install http://linuxdownload.adobe.com/adob...