Comment 10 for bug 48806

Revision history for this message
geo99@hotmail.com (geo99) wrote : The fix for bug 48806

The attached one-line sed script can be used either to fix fstab generated
by Ubuntu/Kubuntu installer or it can be distributed as a patch for the
affected Ubuntu/Kubuntu versions that turn on the fsck check for fat/msdos
partitions. For example, for versions 6.06 and 6.10.
Note: I have not tested version 6.11.

# PURPOSE: Turn off the fsck test for vfat and msdos partitions in fstab
# INVOCATION: sed -i.bak -f fix-fstab.sed.txt /etc/fstab
# Note: You must run this script as an administrator!
# SCRIPT: fix-fstab.sed.txt
/^\/dev\/hda.*[ \t]\(vfat\|msdos\)[ \t]/s/^\(\([^ \t][^ \t]*[ \t][
\t]*\)\{5\}\)1/\10/

# ALTERNATIVE SCRIPT: A simpler but less safe version of the above script
#/^\/dev\/hda.*[ \t]\(vfat\|msdos\)[ \t]/s/1[ \t]*$/0/

_________________________________________________________________
Stay up-to-date with your friends through the Windows Live Spaces friends
list.
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk