Subject: Re: /sbin/umount should support umount_* (PR#698)
To: Charles M. Hannum <>
From: Simon Gerraty <>
List: current-users
Date: 02/26/2003 13:51:48
On Wed, 26 Feb 2003 18:53:22 GMT, "Charles M. Hannum" writes:
>The question is: how does umount(8) *know* the file system type?
>Currently it gets that from the kernel.  In the case of your "snfs,"
>it sounds like you don't know.

Correct because all the kernel knows/records is NFS.  IIRC (I no
longer have a solaris box handy) solaris stores the "type" (eg snfs)
and the mount args.  That's not exactly appropriate for netbsd though.

>Perhaps it makes sense to put a PID in the "mount arguments" handed to
>the kernel, and have umount(8) check that.  This could be useful for
>shutting down some other types of file systems as well (AFS and some
>FTP translators come to mind).

Yes, that would probably do the trick - send it a SIGTERM and you're

>It also means you don't have to worry about where to store and how to
>name "PID files" for each mount.  :-)