From owner-freebsd-embedded@FreeBSD.ORG Fri Mar 7 18:08:46 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0A1A1065675 for ; Fri, 7 Mar 2008 18:08:46 +0000 (UTC) (envelope-from julianor@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.243]) by mx1.freebsd.org (Postfix) with ESMTP id A14E38FC21 for ; Fri, 7 Mar 2008 18:08:45 +0000 (UTC) (envelope-from julianor@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so597536hsc.11 for ; Fri, 07 Mar 2008 10:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:mime-version:subject:date:x-mailer; bh=edCBbbI1RXkupmqXQzHf91IhXXC7q3lW/LCMQpcvX10=; b=A0yEVxoc/RLlTnaDBgD7wc7xf31JUzhkm7nKmFI5ZKsTQi3Ir0tgNo9zEK+nDL9qEV8vqr9vni9YAuHxyXnb1madxZfurQ9L5KTz5L1ZYehApFbwcKOCtwTYObehK6Mlf1UqLYgjGkBGZBB4Um1e03zB5L+JWS3081+4Q+rSADM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=TaxpQDi8H/BoO8o/NTOf4cnI+Yr8l+sO3afeoAxxophv81JfNpUeVtbGjMb0dSt4Z2AeEX4ADOl/caZDGY60wla8GBJPQDzbH36zV5ODsZ566gYU+ZTiuyoZZvOag6yTPvoSC0/TSuKgL8Xwdv/nSe5ho5XiKKoWF20wtk2gM0w= Received: by 10.100.120.15 with SMTP id s15mr3884314anc.20.1204911678415; Fri, 07 Mar 2008 09:41:18 -0800 (PST) Received: from lan-96.labsec.ufsc.br ( [150.162.66.96]) by mx.google.com with ESMTPS id c1sm8967575ana.36.2008.03.07.09.41.17 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Mar 2008 09:41:17 -0800 (PST) Message-Id: From: Juliano Romani To: freebsd-embedded@freebsd.org Mime-Version: 1.0 (Apple Message framework v919.2) Date: Fri, 7 Mar 2008 14:41:17 -0300 X-Mailer: Apple Mail (2.919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Mount in Freebsd 7.0 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 18:08:46 -0000 Hi... I have a embedded system based in pfsense structure. When it boot, / dev/ad0a is mounted in / and a memory disk (/dev/md0a) is mounted in / mnt. Then i chroot /mnt. Now, i need mount /dev/ad0a in /cf, but it only possible in read-only mode. I need it work in read-write mode. In freebsd 6.3 it works, but now, i try in 7.0 and this happening. Any ideias about happen??? A example of real case, FreeBSD 6.3,: # mount /dev/ad0a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/md0c on /mnt (ufs, local) devfs on /dev (devfs, local) /dev/ad0a on /cf (ufs, local, read-only) # mount -uw /cf # mount /dev/ad0a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/md0c on /mnt (ufs, local) devfs on /dev (devfs, local) /dev/ad0a on /cf (ufs, local) # FreeBSD 7.0: # mount /dev/ad0a on / (ufs, local) devfs on /dev (devfs, local) /dev/md0c on /mnt (ufs, local) devfs on /dev (devfs, local) # mount -o ro /dev/ad0a /cf # mount /dev/ad0a on / (ufs, local, read-only) devfs on /dev (devfs, local) /dev/md0c on /mnt (ufs, local) devfs on /dev (devfs, local) /dev/ad0a on /cf (ufs, local, read-only) # mount -uw /cf mount: : Operation not permitted # remember that /cf is mounted inside of chroot. Thanks