From owner-freebsd-questions@FreeBSD.ORG Thu Feb 13 11:18:06 2014 Return-Path: Delivered-To: freebsd-questions@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 D7456D9D for ; Thu, 13 Feb 2014 11:18:06 +0000 (UTC) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6AC501762 for ; Thu, 13 Feb 2014 11:18:06 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.7/8.14.5) with ESMTP id s1DBHsom003791; Thu, 13 Feb 2014 11:17:55 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <52FCA9E2.40300@qeng-ho.org> Date: Thu, 13 Feb 2014 11:17:54 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: s m , freebsd-questions Subject: Re: Fwd: how to mount r/w encrypted partition when it is mount ad read-only? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2014 11:18:06 -0000 On 13/02/2014 08:40, s m wrote: > hello all > i have an encrypted user partition which is encrypted with geli. user is > mounted read-only. i want to mount it r/w for a short time, copy some files > on it and mount it read-only again. with unencrypted partitions, we can > change mount options. for example if an unencrypted user partition is > read-only mounted, we can mount it r/w by "mount -rw /usr" command. but > for encrypted partitions this command doesn't work and error "device busy" > occurs. > > is there any way to mount r/w encrypted partition when it is mounted as > read-only? Does "mount -uw /usr" work? It should update the r/w status of an already mounted file system.