cvs commit: src/sbin/mdconfig mdconfig.c

Pawel Jakub Dawidek pjd at
Tue Aug 30 17:51:23 GMT 2005

On Tue, Aug 30, 2005 at 04:45:32PM +0000, 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.


Pawel Jakub Dawidek             
pjd at                 
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the cvs-src mailing list