NEXT UP previous
Next: sync System Call

umount System Call

A filesystem, once mounted, can he removed from the directory hierarchy again with the umount command. This uses the underlying umount() system call:

	#include <sys/mount.h>

	int umount(char *path);

The path parameter is either the pathname to the mounted disk partition or the pathname to the directory over which the filesystem is mounted.

Once again, this system call can only be used by root.


NEXT UP previous
Next: sync System Call