Date: Tue, 30 Aug 2005 19:03:43 +0200 From: Dario Freni <saturnero@freesbie.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: <4314916F.8010709@freesbie.org> 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
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 <saturnero at freesbie dot org> > 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4314916F.8010709>