From owner-freebsd-geom@FreeBSD.ORG Mon Feb 10 07:02:23 2014 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A4C5A20 for ; Mon, 10 Feb 2014 07:02:23 +0000 (UTC) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E8AF21ADD for ; Mon, 10 Feb 2014 07:02:22 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id u14so4534117lbd.9 for ; Sun, 09 Feb 2014 23:02:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Xb+RAViPNOLm4bebvYY5JS6tjeZMjqc6EOQiPOV9ZRM=; b=BpwMrYHy1bLG9aTEEG4iqNNn31kwyT4iipsaGej/SPFfc7aX99UHRNCWt0JzgMIj7P CdrFIcUQ4eg9TwyXyWQGDqa32fOXUXHgYVRZIMBkk/5z2XjrwuUoZdHbkPyvDAlvxU9S gNUwEIAp+i8pynM5Z2yXzHQcB0ibtpd8ihwK8+qgWzzFiiQjFI4/kDTwXubA5TmSN8uh 7qsQ4rZ5JZaxoptVlbZwjnb+0Aa3Dl6Ecm4xMy6YplWdpo53nxTjZqFqr9+HLRIop0Tr zgsDwvrho4dm4jOuavFfW5SkVI//FdgvA6EmZg+ULxiEoVEhO2PltLaUUIK/UybqYfOh 3gsQ== MIME-Version: 1.0 X-Received: by 10.152.23.132 with SMTP id m4mr766023laf.34.1392015740900; Sun, 09 Feb 2014 23:02:20 -0800 (PST) Received: by 10.112.5.193 with HTTP; Sun, 9 Feb 2014 23:02:20 -0800 (PST) Date: Mon, 10 Feb 2014 10:32:20 +0330 Message-ID: Subject: how to mount r/w encrypted partition when it is mount ad read-only? From: s m To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 07:02:23 -0000 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? thanks in advance, sam