Re: Why is one sync() not enough?

From: Nico Schottelius
Date: Wed Jun 15 2005 - 05:57:00 EST


Hello Andrew,

you wrote:
> What filesystem?

jfs

> What kernel version?

2.6.11.11

> Any unusual bind mounts, loopback
> mounts, etc? There must be something there...>

Yes, dm-crypt-mounted-jfs.

So if I understood everything correctly, a simple umount() without
a sync() before should be enough?

If so, I'll try that, I am happy about every less function call
I need to do.

Nico

P.S.: Helge, nice hint for debugging, cat'ing /proc/mounts before
reboot/power-off/etc.!

--
Keep it simple & stupid, use what's available.
Please use pgp encryption: 8D0E 27A4 is my id.
http://nico.schotteli.us | http://linux.schottelius.org

Attachment: pgp00000.pgp
Description: PGP signature