From owner-svn-src-all@FreeBSD.ORG Fri May 2 05:33:53 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 363BDA3C for ; Fri, 2 May 2014 05:33:53 +0000 (UTC) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E52831A70 for ; Fri, 2 May 2014 05:33:52 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id f51so3572464qge.12 for ; Thu, 01 May 2014 22:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=GMOVyI2gxhuGkemHzxnzH1XaEcW1J614WAcFfx4n7nI=; b=YouiDF4wwbOld2+AeUbuHQLkSKza4qVNnus7cHNC0rBHkubK3f8+Yz5/C+zi/VBfYF rmiOCeSyPs/RXcbmymgBAJkwCCa3xbdhi1rEjDNzNJgjTvu463qZcVp6TeyuGrayVSje jBOYw63+zZS7rsG7Sr8wcmQ7N8qvujxkUqbMw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=GMOVyI2gxhuGkemHzxnzH1XaEcW1J614WAcFfx4n7nI=; b=SHf/rcds7tKNMKrlTaxZUQIkCg429wGwuCHTYy+Vy0XKVGZI+Ag+ThEFvAw1h8KvBj 2lmfbJGjUjERKF5hsHf63YAQ4OA/sX1ogN96QacX7GOitGoOqqvxsCkmD3Sai1zanvCf ++b9W5liNP02EsDPr0xcDq9RbjsJkMgjZSYtNS9qBj7cIUkuadictOtkoS7C2Tju9WUt GBPlcAW0zYqHmdnRwz9HVVGSzpcbSoD8UmvZZ75ag5FK/vmbgz7oww9K/G48WMtRwCTr ULguO2ykhiBcvT+fHPHZQTngcPkWsELanKcClNqH2WvuaB98a49fUfd0zLdPmzvQl+dx mfRw== X-Gm-Message-State: ALoCoQk4O9+3vhOvjQ0WFbEcnTGGUDlsff5/JBQ69dJASq8Gd2ITkEq8/lNucMbGePheDcVPdeiT X-Received: by 10.140.104.78 with SMTP id z72mr18595895qge.60.1399008831908; Thu, 01 May 2014 22:33:51 -0700 (PDT) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.96.54.102 with HTTP; Thu, 1 May 2014 22:33:21 -0700 (PDT) In-Reply-To: <53627D8C.3030404@FreeBSD.org> References: <201404300620.s3U6Kmn6074492@svn.freebsd.org> <5361512A.7070205@FreeBSD.org> <53627D8C.3030404@FreeBSD.org> From: Eitan Adler Date: Thu, 1 May 2014 22:33:21 -0700 X-Google-Sender-Auth: ShaXxV0V8gV1BORDuVtGxaJQuX4 Message-ID: Subject: Re: svn commit: r265132 - in head: share/man/man4 sys/dev/null To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 05:33:53 -0000 On 1 May 2014 09:59, Jung-uk Kim wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2014-04-30 15:38:18 -0400, ?? wrote: >> On 2014-04-30 02:20:48 -0400, ?? wrote: >>> Author: eadler Date: Wed Apr 30 06:20:48 2014 New Revision: >>> 265132 URL: http://svnweb.freebsd.org/changeset/base/265132 >>> >>> Log: Add a /dev/full device. >>> >>> /dev/full is similar to /dev/zero except it always returns ENOSPC >>> when you attempt to write to it. >>> >>> Reviewed by: jhibbits Discussed with: rpaulo >> ... Please see lindev(4). > > I guess I wasn't loud enough. We already had the exact same feature > via lindev(4). In fact, now it panics if we load both, i.e., > "make_dev_credv: bad si_name (error=17, si_name=full)". Please see > sys/dev/lindev/full.c. Also, the manual page is still symlinked from > lindev.4. Thanks for letting me know about lindev(4). I've brought up /dev/full to a few people and no one else mentioned it. Since /dev/full is not linux specific and code/binary size addition is minor I've opted to just remove lindev and leave my implementation. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams