Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 01:31:09 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/144408: [patch] update makefs(8) (remove device option)
Message-ID:  <201003020131.o221V9M9025253@www.freebsd.org>
Resent-Message-ID: <201003020140.o221e4Ib066043@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144408
>Category:       docs
>Synopsis:       [patch] update makefs(8) (remove device option)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 01:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        RELENG_8
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb  3 16:57:07 PST 2010     garrcoop@garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86  i386
>Description:
device isn't a supported keyword in mtree(8) [makefs(8) references the device keyword]:

[root@garrcoop-fbsd /home/garrcoop]# mtree -k device
mtree: line 0: unknown keyword device

     -F specfile
           Use specfile as an mtree(8) `specfile' specification.

           If a specfile entry exists in the underlying file system, its per-
           missions and modification time will be used unless specifically
           overridden by the specfile.  An error will be raised if the type of
           entry in the specfile conflicts with that of an existing entry.

           In the opposite case (where a specfile entry does not have an entry
           in the underlying file system) the following occurs: If the spec-
           file entry is marked optional, the specfile entry is ignored.  Oth-
           erwise, the entry will be created in the image, and it is necessary
           to specify at least the following parameters in the specfile: type,
           mode, gname or gid, and uname or uid, device (in the case of block
                                                 ^^^^^^
           or character devices), and link (in the case of symbolic links).
           If time isn't provided, the current time will be used.  If flags
           isn't provided, the current file flags will be used.  Missing regu-
           lar file entries will be created as zero-length files.

This patch removes that reference.
>How-To-Repeat:
n/a
>Fix:
See patch.

Patch attached with submission follows:

Index: head/usr.sbin/makefs/makefs.8
===================================================================
--- head/usr.sbin/makefs/makefs.8	(revision 204532)
+++ head/usr.sbin/makefs/makefs.8	(working copy)
@@ -192,8 +192,7 @@
 .Sy uname
 or
 .Sy uid ,
-.Sy device
-(in the case of block or character devices), and
+and
 .Sy link
 (in the case of symbolic links).
 If


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003020131.o221V9M9025253>