From owner-cvs-all@FreeBSD.ORG Tue Aug 30 17:03:39 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A088416A41F; Tue, 30 Aug 2005 17:03:39 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CF7B43D46; Tue, 30 Aug 2005 17:03:38 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from [192.168.10.2] (host235-73.pool8256.interbusiness.it [82.56.73.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP id B6FA45745; Tue, 30 Aug 2005 19:05:06 +0200 (CEST) Message-ID: <4314916F.8010709@freesbie.org> Date: Tue, 30 Aug 2005 19:03:43 +0200 From: Dario Freni User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050828) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Christian S.J. Peron" References: <200508301645.j7UGjWZF088434@repoman.freebsd.org> In-Reply-To: <200508301645.j7UGjWZF088434@repoman.freebsd.org> X-Enigmail-Version: 0.92.0.0 OpenPGP: url=http://www.saturnero.net/saturnero.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC74E651DF87AFDC29FE6ACFE" Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 17:03:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC74E651DF87AFDC29FE6ACFE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Christian S.J. Peron wrote: > csjp 2005-08-30 16:45:32 UTC > > FreeBSD src repository > > Modified files: > sbin/mdconfig mdconfig.c > Log: > When using files as backing stores for devices, and the user has requested the > device be created read+write, check to see if the backing store is read only > through the use of the access(2) system call. If this check fails returning > EACCES, EPERM or EROFS then gracefully downgrade the access to read only. Also > print a warning message to stderr, informing the user that the access mode > they requested is not available. > > This behavior used to be handled by md(4) but was changed in revision 1.154 > > Discussed with: pjd, phk, Dario Freni > Reviewed by: phk Thank you! -- Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc --------------enigC74E651DF87AFDC29FE6ACFE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDFJFyymi72IiShysRArq4AKCFyBFmLL3JmhPyMim45e2mumMyZQCeKRyw Ag+mknK+52kFke9bPDAeJvA= =YMHR -----END PGP SIGNATURE----- --------------enigC74E651DF87AFDC29FE6ACFE--