Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 16287) by debbugs.gnu.org; 30 Dec 2013 18:07:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 13:07:09 2013 Received: from localhost ([127.0.0.1]:52961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VxhF7-0003dE-5A for submit <at> debbugs.gnu.org; Mon, 30 Dec 2013 13:07:09 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:48187) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <coreutils@HIDDEN>) id 1VxhF5-0003d4-79 for 16287 <at> debbugs.gnu.org; Mon, 30 Dec 2013 13:07:07 -0500 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id rBUI6xal067707; Mon, 30 Dec 2013 10:07:02 -0800 Message-ID: <52C1B643.1040909@HIDDEN> Date: Mon, 30 Dec 2013 10:06:59 -0800 From: Linda Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 To: Bernhard Voelker <mail@HIDDEN> Subject: Re: bug#16287: RFE rm "-x" == "--one-file-system" References: <52C0579C.4010404@HIDDEN> <52C0BDFB.6090405@HIDDEN> <52C0C99E.5000202@HIDDEN> <52C14012.3050909@HIDDEN> In-Reply-To: <52C14012.3050909@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: 16287 Cc: 16287 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) Bernhard Voelker wrote: > * These coreutils programs have a --one-file-system option: > > cp du rm ----- Guess I got a bit carried away. On the above list with --one-file-system, only 'rm' is missing -x as a shorthand for it. I don't know that either BSD or Solaris have a one-file-system option, so it seems unlikely they would have a -x. secure rm does have -x, which has the same meaning. You can create any arbitrary set of conditions that fulfill your need for acceptance or denial. tar also uses -x and find uses -xdev. Clearly there are 4 other utils that use -x to mean stay on this file-system with -xdev being a weak fifth since find doesn't have many (if any) "--long" options.
bug-coreutils@HIDDEN
:bug#16287
; Package coreutils
.
Full text available.Received: (at 16287) by debbugs.gnu.org; 30 Dec 2013 09:42:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 30 04:42:48 2013 Received: from localhost ([127.0.0.1]:51662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VxZN2-00065g-8l for submit <at> debbugs.gnu.org; Mon, 30 Dec 2013 04:42:48 -0500 Received: from moutng.kundenserver.de ([212.227.126.187]:51722) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <mail@HIDDEN>) id 1VxZMz-00065V-Do for 16287 <at> debbugs.gnu.org; Mon, 30 Dec 2013 04:42:46 -0500 Received: from [192.168.1.11] (p57A5CC82.dip0.t-ipconnect.de [87.165.204.130]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0Lwoky-1VMIlX2KJU-016rse; Mon, 30 Dec 2013 10:42:43 +0100 Message-ID: <52C14012.3050909@HIDDEN> Date: Mon, 30 Dec 2013 10:42:42 +0100 From: Bernhard Voelker <mail@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Linda Walsh <coreutils@HIDDEN> Subject: Re: bug#16287: RFE rm "-x" == "--one-file-system" References: <52C0579C.4010404@HIDDEN> <52C0BDFB.6090405@HIDDEN> <52C0C99E.5000202@HIDDEN> In-Reply-To: <52C0C99E.5000202@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:YtzFN/b5Qfl/Ss+/xuvuekn93LdgoFypTUMq+zWd0Mv 5UeVT82/+vtG8PXcF1KW8pbsWEjddIebtppPvTxSqQUJAGWapJ OKpJtd8ybETFVevfqni9mmWbTMLxwbBizgy3BasDo9eHUAcCnK /JWtX9VEpL8HYJYXBnv0pAz/qFpNhMbHApkNKEqfkvld1/KEef sm4EJz8dATw9nSOB48gIB9ToOXjemVAt3xeh/klrk56IHX4Cr5 /MUCZqsOjeku3eGN1I5ztpCCiEn3hT7ysuottAVnW1ighE8GoV xKNoyXemAKwZKrXYW/GS4C2fItrSQUgRRdrbGKzG5YGPs/PtVS 0Wu1PqQGIsgb0aolD1gUf61ofY4JEpbsMDnGxgzY6 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16287 Cc: 16287 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) On 12/30/2013 02:17 AM, Linda Walsh wrote: > Bernhard Voelker wrote: >> However, although -x is indeed a common option of several >> programs, we are reluctant to add new short options. >> >> I'd only consider doing so for compatibility reasons > > I'm looking at compatibility reasons with > coreutil programs that recurse directories. > All of the other *recursive* core utils that have the ability to > isolate action to 1 file system have -x. > > chmod, cp, df, ls, dir, du > > find uses "-xdev" > tar uses -x > secure rm (srm) uses -x > mkzftree uses -x (makes a zisofs) > > primarily was thinking about consistency in the coreutils -- Stop, stop, stop. This is not an 'which program has a -x option?' contest. Some of the above programs don't even have a -x or --one-file-system option (e.g. chmod) while others have a -x option, but that don't stand for --one-file-system (e.g. df and ls); and finally, some are not even part of coreutils package (e.g. tar). To stick to your argument - "compatibility" among coreutils programs - here is a little list: * These coreutils programs have a -x option (with mostly a completely different meaning, of course): cp df du ls od shred stty test * These coreutils programs have a --recursive option: chcon chgrp chmod chown cp ls rm * These coreutils programs have a --one-file-system option: cp du rm So even with that more accurate table, this is a quite weak argument to add "rm -x". What I meant (and I thought that would be obvious): I wanted to know if there are other 'rm' implementations which have the -x option - the *BSDs, Solaris, etc. Have a nice day, Berny
bug-coreutils@HIDDEN
:bug#16287
; Package coreutils
.
Full text available.Received: (at 16287) by debbugs.gnu.org; 30 Dec 2013 01:17:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 29 20:17:31 2013 Received: from localhost ([127.0.0.1]:51114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VxRU2-0007Jw-Sz for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 20:17:31 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:34301) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <coreutils@HIDDEN>) id 1VxRU0-0007Jm-Ha for 16287 <at> debbugs.gnu.org; Sun, 29 Dec 2013 20:17:29 -0500 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id rBU1HIq5043638; Sun, 29 Dec 2013 17:17:20 -0800 Message-ID: <52C0C99E.5000202@HIDDEN> Date: Sun, 29 Dec 2013 17:17:18 -0800 From: Linda Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 To: Bernhard Voelker <mail@HIDDEN> Subject: Re: bug#16287: RFE rm "-x" == "--one-file-system" References: <52C0579C.4010404@HIDDEN> <52C0BDFB.6090405@HIDDEN> In-Reply-To: <52C0BDFB.6090405@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 16287 Cc: 16287 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.4 (/) Bernhard Voelker wrote: > On 12/29/2013 06:10 PM, Linda Walsh wrote: >> Would it be possible to let rm have a -x flag >> to be consistent with other utils that use -x to mean >> --one-file-system? It seems to be a widespread >> convention. > > Thanks for the suggestion. > However, although -x is indeed a common option of several > programs, we are reluctant to add new short options. > > I'd only consider doing so for compatibility reasons ---- I'm looking at compatibility reasons with coreutil programs that recurse directories. More important that other implementations, would be an expectation of similar switch options within one "distribution" of these programs. Of the core utils that recurse directories, only "chgrp" does not have an option to stay on the current file system. All of the other *recursive* core utils that have the ability to isolate action to 1 file system have -x. chmod, cp, df, ls, dir, du find uses "-xdev" tar uses -x secure rm (srm) uses -x mkzftree uses -x (makes a zisofs) primarily was thinking about consistency in the coreutils -- for that matter, chgrp should probably follow suit in providing the ability to stay on 1 fs, and -x as it's the only recursive utils that doesn't provide that ability. As you mention the only other 'rm' util secure rm, also provides -x. Suppose you didn't put it to use to mean what all those other utilities use it for. How could would it be if it took on some completely different (and perhaps cross-purpose) meaning? Wouldn't consistency among those tools that have recursive options be desirable?
bug-coreutils@HIDDEN
:bug#16287
; Package coreutils
.
Full text available.Received: (at 16287) by debbugs.gnu.org; 30 Dec 2013 00:27:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 29 19:27:45 2013 Received: from localhost ([127.0.0.1]:51007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VxQhs-0005us-EQ for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 19:27:44 -0500 Received: from moutng.kundenserver.de ([212.227.17.9]:57213) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <mail@HIDDEN>) id 1VxQhq-0005ui-Lr for 16287 <at> debbugs.gnu.org; Sun, 29 Dec 2013 19:27:43 -0500 Received: from [192.168.1.11] (p57A5CC82.dip0.t-ipconnect.de [87.165.204.130]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0LqFBg-1VSTbI2saG-00eAlL; Mon, 30 Dec 2013 01:27:40 +0100 Message-ID: <52C0BDFB.6090405@HIDDEN> Date: Mon, 30 Dec 2013 01:27:39 +0100 From: Bernhard Voelker <mail@HIDDEN> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Linda Walsh <coreutils@HIDDEN>, 16287 <at> debbugs.gnu.org Subject: Re: bug#16287: RFE rm "-x" == "--one-file-system" References: <52C0579C.4010404@HIDDEN> In-Reply-To: <52C0579C.4010404@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Ro91mpexUNPDh/7pI9TnUNPEJEbGaE8W+0GFWj55uBP Tg7ZeZsGzAEaIydCu/DZiShj3BjI/vuwcPQ3nk5ldXA52V8jeF CIvvTRa/gOr0T5S+LI4h4cfO7NsDm0lBdiKQCS4lXd2ExvA2nd NrsNjvRFpIrO4btWPgNJudEA+uQ8RvTGEiDggf6BQWt5rneJnn e/l1+EAeg4yNyLRiRXax9h11bPpdub8NyAUkmJ3BFFhcflgNnp cTwcm7I1FlXymM9OC7sza4i9yCoz7o+nkLh3chXzMuYvg4Hore YIyAFU78k5L1GAzzzw/2kuekN9I5QeSDl82Yp9s1EpixlY6jL0 NG/zRE+tG4D1zXEHKqvPDIB0t9uJhHIpkvJWvzhUQ X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 16287 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) On 12/29/2013 06:10 PM, Linda Walsh wrote: > Would it be possible to let rm have a -x flag > to be consistent with other utils that use -x to mean > --one-file-system? It seems to be a widespread > convention. Thanks for the suggestion. However, although -x is indeed a common option of several programs, we are reluctant to add new short options. I'd only consider doing so for compatibility reasons if there would already exist an implementation of 'rm -x'. I didn't find any ... apart from 'srm' [1] which even has a different program name. Do you know any other? [1] http://srm.sourceforge.net/ Have a nice day, Berny
bug-coreutils@HIDDEN
:bug#16287
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Dec 2013 17:11:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 29 12:11:17 2013 Received: from localhost ([127.0.0.1]:50485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1VxJtV-0006VL-2Q for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 12:11:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57603) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <coreutils@HIDDEN>) id 1VxJtU-0006VE-2o for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 12:11:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1VxJtL-00010a-G6 for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 12:11:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1VxJtL-00010W-DH for submit <at> debbugs.gnu.org; Sun, 29 Dec 2013 12:11:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1VxJtF-000335-EM for bug-coreutils@HIDDEN; Sun, 29 Dec 2013 12:11:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1VxJt9-0000zz-G2 for bug-coreutils@HIDDEN; Sun, 29 Dec 2013 12:11:01 -0500 Received: from ishtar.tlinx.org ([173.164.175.65]:60633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1VxJt9-0000zv-5T for bug-coreutils@HIDDEN; Sun, 29 Dec 2013 12:10:55 -0500 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id rBTHAqJW045796 for <bug-coreutils@HIDDEN>; Sun, 29 Dec 2013 09:10:54 -0800 Message-ID: <52C0579C.4010404@HIDDEN> Date: Sun, 29 Dec 2013 09:10:52 -0800 From: Linda Walsh <coreutils@HIDDEN> User-Agent: Thunderbird MIME-Version: 1.0 To: bug-coreutils@HIDDEN Subject: RFE rm "-x" == "--one-file-system" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Would it be possible to let rm have a -x flag to be consistent with other utils that use -x to mean --one-file-system? It seems to be a widespread convention.
Linda Walsh <coreutils@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#16287
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.