From yonathanaw@gmail.com Tue Jun 23 13:17:31 2009
Received: from an-out-0708.google.com ([209.85.132.241])
	by stoneboat.aleph1.co.uk with esmtp (Exim 4.69)
	(envelope-from <yonathanaw@gmail.com>) id 1MJ4wL-0007RG-6C
	for yaffs@stoneboat.aleph1.co.uk; Tue, 23 Jun 2009 13:17:31 +0100
Received: by an-out-0708.google.com with SMTP id b2so5565ana.40
	for <yaffs@stoneboat.aleph1.co.uk>;
	Tue, 23 Jun 2009 05:17:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:received:date:message-id:subject
	:from:to:content-type:content-transfer-encoding;
	bh=KIzAsbCLccZAplHP3YH8e2LZVRWHTE08jv7m79iEe3k=;
	b=qM4T2rm+I1HuEWNJtdT1LXbnG+uBP6ZP5kNG4h9jzs/YhNYsFVevnDBFcpehNpm1pz
	aDjokU8WPnnH4dQqBGN1T56d6tnw2fptyTND8rLJvXs3RpspxYu7g7aBR/K3G+ozaOWm
	brSJkvqtUndV9+m1TGtilzmBHGMXwAzKGNusc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type
	:content-transfer-encoding;
	b=OudofERsF9O3DxgYHV2je5xq4iD6ko3AtWVEFdZwHaxslK9gvZ40HShS+T9kODSQ8E
	FemGW57apWpCnufoZh59Ku73pGNkzKMgR/PNo/PY9sc1L8wTjuLo2bLTGYXuWj+idvZ7
	pkwfdEUhEbTF2YZlV/AhhYmcDnXczI+o/Hl10=
MIME-Version: 1.0
Received: by 10.231.13.198 with SMTP id d6mr2213421iba.32.1245759448044; Tue, 
	23 Jun 2009 05:17:28 -0700 (PDT)
Date: Tue, 23 Jun 2009 17:47:28 +0530
Message-ID: <51d250110906230517t5b20e06blb2265f8030087a1f@mail.gmail.com>
From: yonathana wodeselia <yonathanaw@gmail.com>
To: yaffs@stoneboat.aleph1.co.uk
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-SA-Exim-Connect-IP: 209.85.132.241
X-SA-Exim-Mail-From: yonathanaw@gmail.com
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
	stoneboat.aleph1.co.uk
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS
	autolearn=no version=3.2.5
X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:14:11 +0000)
X-SA-Exim-Scanned: Yes (on stoneboat.aleph1.co.uk)
Subject: [Yaffs] umounting yaffs rootfs
X-BeenThere: yaffs@lists.aleph1.co.uk
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: Discussion of YAFFS NAND flash filesystem <yaffs.lists.aleph1.co.uk>
List-Unsubscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/options/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=unsubscribe>
List-Archive: <http://lists.aleph1.co.uk/lurker/list/yaffs.html>
List-Post: <mailto:yaffs@lists.aleph1.co.uk>
List-Help: <mailto:yaffs-request@lists.aleph1.co.uk?subject=help>
List-Subscribe: <http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs>,
	<mailto:yaffs-request@lists.aleph1.co.uk?subject=subscribe>
X-List-Received-Date: Tue, 23 Jun 2009 12:17:32 -0000

Dear All,
             I have a yaffs based root filesystem which works
perfectly. The concern is that if i am using yaffs as the rootfs ,
poweroff/halt/reboot wont umount the
rootfs and says it is busy. After the reboot this unclean reboot adds
a 8 second delay mounting the yaffs rootfs. On the other hand if i
boot into an alternate rootfs , mount original yaffs rootfs , umount
original yaffs rootfs and reboot into the  original rootfs then i dont
see the 8 second delay . I assume this is because of checkpointing ?
How can i avoid this 8 seconds delay ? Is using a initrd the only way
to be able to cleanly umount the yaffs partition? Is umounting very
critical ? Please shed some pointers on how to efficiently use yaffs
as a rootfs.

regards,
Yoni

