Difference between revisions of "Umount jffs2"

From eLinux.org
Jump to: navigation, search
m
 
Line 14: Line 14:
 
rmmod jffs2
 
rmmod jffs2
 
</pre>
 
</pre>
 +
 +
[[Category:Tips and Tricks]]

Latest revision as of 03:07, 27 October 2011

#!/bin/sh

if [ -z "$1" ]; then
	echo usage: $0 directory
	exit
fi

umount $1

rmmod mtdblock
rmmod mtdchar
rmmod mtdram
rmmod jffs2