From owner-freebsd-current@freebsd.org Thu Dec 6 16:36:10 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42725130ADAF for ; Thu, 6 Dec 2018 16:36:10 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EBF174720 for ; Thu, 6 Dec 2018 16:36:09 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id k15-v6so960409ljc.8 for ; Thu, 06 Dec 2018 08:36:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/vbUGMkX1mtzcfQCt0Vbm68p4QdgcRACYFyw0o7bXj8=; b=rKHnekbMGw/k6TXZ8RgJXtB4UnTyipa19XjOzsgDFNEP9WLHtQKbJKFJTEDFquP6g0 HEdZTrotkVAMt1gsbv28LYi96Optx5eJVoArXNO9iGHEJeTiH8r+xUIalO1f4zr+sj+O 6jY/EK9CHzPMkZjllMlehfW15Sja1WYhScTn9HD3AiGKNOf9dbhRJW4Fz9h7kOy47iE5 4JSBiCbPFQ4BgPUy8GPaUZe0dnUxEUyKEz1WM6gUtLoD7aT5gmHxPq9BhyRGHUyixmsz qL8uPIF2Zsyga/UvSNPxHagL52MB1zlPzuRwqN6+vsU2+vn/eb0b1z/XhsKIkgqgyaYs GS6g== X-Gm-Message-State: AA+aEWZ33bEzhMlexJyOo6Q4idgrAzid8RrmKozamFaoeE+S5wSUbbmI QDhRsoUj6ZFoOHI4LqVYHoXGAlTEBbmC7C/255s= X-Google-Smtp-Source: AFSGD/XCzw7DsdzOuwecxtcAMGz6y9inMNStXs9qBWCJ0HwAxE0eTosMHxLY5MQQn094oAhEW5djXg0o8T7Fta+ihIg= X-Received: by 2002:a2e:b00a:: with SMTP id y10-v6mr17984250ljk.109.1544114161988; Thu, 06 Dec 2018 08:36:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Thu, 6 Dec 2018 09:35:49 -0700 Message-ID: Subject: Re: rm cannot recursively delete directory on tmpfs on RPi2 To: jiashiun@gmail.com Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6EBF174720 X-Spamd-Result: default: False [-3.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[177.208.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; IP_SCORE(-0.97)[ipnet: 209.85.128.0/17(-3.46), asn: 15169(-1.31), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2018 16:36:10 -0000 On Wed, Dec 5, 2018 at 10:18 PM Jia-Shiun Li wrote: > > amd64 and RPi3 do not have this issue. > > jsli@rpi2:/home/jsli 13:04 # uname -a > FreeBSD rpi2 13.0-CURRENT FreeBSD 13.0-CURRENT r341419 GENERIC-NODEBUG arm > jsli@rpi2:/home/jsli 13:05 # mount -t tmpfs tmpfs /mnt > jsli@rpi2:/home/jsli 13:05 # cd /mnt > jsli@rpi2:/mnt 13:05 # tar xf > /usr/ports/distfiles/sqlite-autoconf-3260000.tar.gz > jsli@rpi2:/mnt 13:05 # rm -rf sqlite-autoconf-3260000/ > rm: sqlite-autoconf-3260000/tea: Operation not permitted > rm: sqlite-autoconf-3260000/: Directory not empty > jsli@rpi2:/mnt 13:05 # > > -Jia-Shiun Did you check for file flags? Do "ls -lod sqlite-autoconf-3260000/tea". -Alan