Advertise with Googlier.com Allan Feid - error https://allanfeid.com/category/tags/error en Windows Errors Strike Again https://allanfeid.com/content/windows-errors-strike-again <div class="field field-name-body field-type-text-with-summary field-label-hidden view-mode-rss"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I was leaving a movie theater in Tempe last night and my friend Sean noticed this:</p> <p><center><br /> <a href="/sites/default/files/3-1-09-WindowsError.jpeg" title="Click for Larger Version"><img src="/sites/default/files/3-1-09-WindowsError.jpeg" width="90%" height="90%" title="Windows Error on Motorcycle Game" /></a><br /> </center></p> <p>A error on a cheap looking motorcycle racing game. I didn't take the time to read the error <a href="http://allanfeid.com/content/windows-airport" title="Windows at the Airport">but this is the second time I've come across application errors in the wild</a>.</p> </div></div></div><section class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above view-mode-rss"><h2 class="field-label">Tags:&nbsp;</h2><ul class="field-items"><li class="field-item even"><a href="/category/tags/windows" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">Windows</a></li><li class="field-item odd"><a href="/category/tags/funny" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">funny</a></li><li class="field-item even"><a href="/category/tags/random" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">random</a></li><li class="field-item odd"><a href="/category/tags/error" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">error</a></li></ul></section> Mon, 02 Mar 2009 08:15:38 +0000 Allan Feid 35 at https://allanfeid.com CIFS VFS no response error? Simple fix. https://allanfeid.com/content/cifs-vfs-no-response-error-simple-fix <div class="field field-name-body field-type-text-with-summary field-label-hidden view-mode-rss"><div class="field-items"><div class="field-item even" property="content:encoded"><p>So pretty much every time I reinstall I create auto-mounts in fstab for my Window's shares using smbfs. One problem that always happens is on shutdown or reboot those shares (using cifs) do not get umounted automatically. I always wind up Google searching and find the same post.</p> <p>To fix the issue it's quite simple just put a simple script in a few directories and it will detect all your cifs mounts and automatically umount them. The script is written by Max Durden and the <a href="http://ubuntuforums.org/showthread.php?t=293513" title="how to: automatically umount cifs partitions">original post</a> has these instructions but I'd like to post them here for ease of access for myself.</p> <p>First create the file called mountcifs</p> <pre> #!/bin/bash # # mountcifs - Unmounts samba-cifs filesystems # -&gt; convenience script to be called in the shutdown/reboot sequence of Ubuntu Dapper # as K02umountcifs # Written by Max Durden # max.durden@gmail.com # start() { echo "mountcifs: nothing to do!" } stop() { echo "Unmounting samba-cifs filesystems..." MOUNTED_CIFS_DIRS=`mount -t cifs| cut -d\ -f3` MOUNTED_DIRS_ARRAY=($MOUNTED_CIFS_DIRS) for i in ${!MOUNTED_DIRS_ARRAY[@]} do umount -l ${MOUNTED_DIRS_ARRAY[i]} done } status() { echo "Mounted samba-cifs filesystems..." mount -t cifs| cut -d\ -f3 } restart() { echo "restart ..." start } reload() { echo "start ..." start } force_reload() { echo "force-reload ..." start } case $1 in start) start ;; stop) stop ;; status) status ;; restart) restart ;; reload) reload ;; force-reload) force_reload ;; *) echo "Usage: mountcifs {start|stop|restart|reload|force-reload|status}" ;; esac exit 0 </pre><p> Save that to /etc/init.d/ (note: you need to be root) then make it executable.</p> <pre>chmod +x mountcifs</pre><p> Then create a couple symbolic links so it launches on shutdown or reboot.</p> <pre> sudo ln -s /etc/init.d/mountcifs /etc/rc0.d/K02mountcifs sudo ln -s /etc/init.d/mountcifs /etc/rc6.d/K02mountcifs </pre><p> That's it. That stupid error that hangs your PC from shutting down will no longer exist.</p> </div></div></div><section class="field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-above view-mode-rss"><h2 class="field-label">Tags:&nbsp;</h2><ul class="field-items"><li class="field-item even"><a href="/category/tags/ubuntu" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">Ubuntu</a></li><li class="field-item odd"><a href="/category/tags/cifs" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">cifs</a></li><li class="field-item even"><a href="/category/tags/umount" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">umount</a></li><li class="field-item odd"><a href="/category/tags/error" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">error</a></li></ul></section> Tue, 09 Dec 2008 18:26:10 +0000 Allan Feid 24 at https://allanfeid.com