On Wed, Oct 06, 2010 at 03:01:02PM +0200, Lennart Poettering wrote: > > > + if (streq(mp->path, "/")) > > > + continue; > > > + > > > + /* Trying to umount. Forcing to umount if busy (only for > > > NFS mounts) */ > > > + if (umount2(mp->path, MNT_FORCE) == 0) > > > > You have to execute things like /sbin/umount.<type> if you want to run > > your > > code on systems with NFS or cluster filesystems. > > Can you elaborate on this? what does the umount.nfs tool do that matters
I don't know and I don't care, the umount.<type> is supported API :-) > here? I can only see /bin/umount.udisks in my install here... $ repoquery -q --whatprovides /sbin/umount.* glusterfs-client-0:2.0.9-2.fc14.x86_64 nfs-utils-1:1.2.2-6.fc14.x86_64 udisks-0:1.0.1-4.fc14.x86_64 (The umount.glusterfs is probably nonsense rhbz#640620) Karel -- Karel Zak <k...@redhat.com> http://karelzak.blogspot.com _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel