Difference between revisions of "Umount jffs2"

From eLinux.org
Jump to: navigation, search
 
Line 1: Line 1:
 +
<pre>
 
#!/bin/sh
 
#!/bin/sh
  
Line 12: Line 13:
 
rmmod mtdram
 
rmmod mtdram
 
rmmod jffs2
 
rmmod jffs2
 +
</pre>

Revision as of 18:33, 16 August 2007

#!/bin/sh

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

umount $1

rmmod mtdblock
rmmod mtdchar
rmmod mtdram
rmmod jffs2