Date: Tue, 30 Aug 2005 19:50:42 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: "Christian S.J. Peron" <csjp@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/mdconfig mdconfig.c Message-ID: <20050830175042.GA4215@garage.freebsd.pl> In-Reply-To: <200508301645.j7UGjWZF088434@repoman.freebsd.org> References: <200508301645.j7UGjWZF088434@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 30, 2005 at 04:45:32PM +0000, Christian S.J. Peron wrote: +> csjp 2005-08-30 16:45:32 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> sbin/mdconfig mdconfig.c=20 +> Log: +> When using files as backing stores for devices, and the user has reque= sted the +> device be created read+write, check to see if the backing store is rea= d only +> through the use of the access(2) system call. If this check fails retu= rning +> EACCES, EPERM or EROFS then gracefully downgrade the access to read on= ly. Also +> print a warning message to stderr, informing the user that the access = mode +> they requested is not available. Thanks. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDFJxyForvXbEpPzQRArMRAJ9ZCy1xmCdh8iaMO3BpyodIrhLvYACgjvfj DQ+H1oSekg5dsuWjXn4SujA= =OuPG -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830175042.GA4215>