From 13a5c596cc1e305e6ce6704550ee7543707116c1 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 25 Dec 1997 05:54:24 +0000 Subject: [PATCH] Add a man page for REMOVING devices from devfs. --- share/man/man9/devfs_remove_dev.9 | 62 +++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 share/man/man9/devfs_remove_dev.9 diff --git a/share/man/man9/devfs_remove_dev.9 b/share/man/man9/devfs_remove_dev.9 new file mode 100644 index 000000000000..fdc89756c0f1 --- /dev/null +++ b/share/man/man9/devfs_remove_dev.9 @@ -0,0 +1,62 @@ +.\" +.\" Copyright (c) 1997 Julian Elischer +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary may not claim other authorship to +.\" the exclusion of the copyright holder. +.\" 3. Redistributors of binary releases must be willing if asked, to +.\" admit the true authorship and source of this software. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" -translation to english: +.\" - You can't claim it's yours without admitting to the bits I wrote. +.\" - You don't need to say anything in binary releases unless asked. +.\" $Id: devfs_remove_dev.9,v 1.7 1996/05/13 14:59:15 julian Exp $ +.\" +.Dd December 25, 1997 +.Os FreeBSD +.Dt DEVFS_REMOVE_DEV 9 +.Sh NAME +.Nm devfs_remove_dev +.Nd remove all references to a devfs device node and delete the node. +.Sh SYNOPSIS +.Fd #include +.Ft void +.Fn devfs_remove_dev "void * token" +.Sh DESCRIPTION +The function +.Nm +takes a token from a previous call to +.Fn devfs_add_devswf +or +.Fn devfs_link +as argument, and removes any trace of that device from device filesystems. +.Sh SEE ALSO +.Xr devfs_add_devswf 9 +.Xr devfs_link 9 +.Sh HISTORY +The function +.Nm +appeared in +.Fx 2.2 . +.Sh AUTHORS +DEVFS was written by +.if n Julian Elischer.