Author: jonpryor
Date: 2006-01-02 14:57:52 -0500 (Mon, 02 Jan 2006)
New Revision: 54970
Modified:
trunk/monodoc/class/Mono.Posix/en/Mono.Unix/UnixFileSystemInfo.xml
Log:
Flush.
Modified: trunk/monodoc/class/Mono.Posix/en/Mono.Unix/UnixFileSystemInfo.xml
===================================================================
--- trunk/monodoc/class/Mono.Posix/en/Mono.Unix/UnixFileSystemInfo.xml
2006-01-02 19:44:14 UTC (rev 54969)
+++ trunk/monodoc/class/Mono.Posix/en/Mono.Unix/UnixFileSystemInfo.xml
2006-01-02 19:57:52 UTC (rev 54970)
@@ -213,7 +213,68 @@
<summary>Create a symbolic link so that <paramref name="path"/>
"points to" <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> or
+ <paramref name="path"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ <para><paramref name="path"/> resides on a read-only file system.
+ [<see cref="F:Mono.Unix.Native.Errno.EROFS"/>]
+ </para>
+ <para>-or-</para>
+ <para>The directory containing <paramref name="path"/>
+ cannot be extended because there is no space left on the file
+ system containing the directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOSPC"/>]
+ </para>
+ <para>-or-</para>
+ <para>There are no free inodes on the file system on which the file
+ is being created.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOSPC"/>]
+ </para>
+ <para>-or-</para>
+ <para>An I/O error occurred while making the directory entry or
+ allocating the inode.
+ [<see cref="F:Mono.Unix.Native.Errno.EIO"/>]
+ </para>
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ <para>-or-</para>
+ <para>The user's quota of inodes on the file system containing
+ <see cref="P:Mono.Unix.UnixFileInfo.Directory"/> has been exhausted.
+ [<see cref="F:Mono.Unix.Native.Errno.EDQUOT"/>]
+ </para>
+ <para>-or-</para>
+ <para>The directory containing <paramref name="path"/> cannot be
+ extended because the user's quota of disk blocks on the file system
+ containing this directory has been exhausted.
+ [<see cref="F:Mono.Unix.Native.Errno.EDQUOT"/>]
+ </para>
+ <para>-or-</para>
+ <para><paramref name="path"/> already exists.</para>
+ </exception>
<returns>A <see cref="T:Mono.Unix.UnixSymbolicLinkInfo"/> instance
containing information about the created symbolic link.</returns>
<remarks>
@@ -338,7 +399,42 @@
associated with
<see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.ArgumentException">
+ The implementation does not support an association of
+ <paramref name="name"/> with
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ </exception>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ An I/O error occurred while reading from or writing to the file
+ system.
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ </exception>
<returns>A <see cref="T:System.Int64"/> containing the value
of the configuration variable <paramref name="name"/>.
If there is no value for the configuration variable
@@ -405,7 +501,62 @@
<see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> to be
<pramref name="length"/> bytes in size.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ <para>-or-</para>
+ <para>
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not
+ writable by the user.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ <para>-or-</para>
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.EISDIR"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> resides
on a
+ read-only file system.
+ [<see cref="F:Mono.Unix.Native.Errno.EROFS"/>]
+ </para>
+ <para>-or-</para>
+ <para>An I/O error occurred while making the directory entry or
+ allocating the inode.
+ [<see cref="F:Mono.Unix.Native.Errno.EIO"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ <para>-or-</para>
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is a
+ pure procedure (shared text) file that is being executed and
+ <see cref="M:Mono.Unix.Native.Syscall.open"/> requests write
+ access.
+ [<see cref="F:Mono.Unix.Native.Errno.ETXTBSY"/>]
+ </para>
+ </exception>
<remarks>
<para>If <see cref="P:Mono.Unix.UnixFileSystemInfo.Length"/> is
less than <paramref name="length"/>, the file will be extended as
@@ -466,7 +617,54 @@
<summary>Set the owner user ID and owner group ID of
<see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.InvalidOperationException">
+ The effective user ID does not match the owner of the file and the
+ effective user ID is not the super-user.
+ [<see cref="F:Mono.Unix.Native.Errno.EPERM"/>]
+ </exception>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> resides
on a
+ read-only file system.
+ [<see cref="F:Mono.Unix.Native.Errno.EROFS"/>]
+ </para>
+ <para>-or-</para>
+ <para>An I/O error occurred while making the directory entry or
+ allocating the inode.
+ [<see cref="F:Mono.Unix.Native.Errno.EIO"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ <para>-or-</para>
+ <para>An attempt was made to set the sticky bit upon an
+ executable.
+ [<see cref="F:Mono.Unix.Native.Errno.EFTYPE"/>]
+ </para>
+ </exception>
<remarks>
<para>The user <paramref name="owner"/> is looked up in the local
password database and the resulting
@@ -514,7 +712,54 @@
<summary>Set the owner user ID and owner group ID of
<see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.InvalidOperationException">
+ The effective user ID does not match the owner of the file and the
+ effective user ID is not the super-user.
+ [<see cref="F:Mono.Unix.Native.Errno.EPERM"/>]
+ </exception>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> resides
on a
+ read-only file system.
+ [<see cref="F:Mono.Unix.Native.Errno.EROFS"/>]
+ </para>
+ <para>-or-</para>
+ <para>An I/O error occurred while making the directory entry or
+ allocating the inode.
+ [<see cref="F:Mono.Unix.Native.Errno.EIO"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ <para>-or-</para>
+ <para>An attempt was made to set the sticky bit upon an
+ executable.
+ [<see cref="F:Mono.Unix.Native.Errno.EFTYPE"/>]
+ </para>
+ </exception>
<remarks>
<para>
If this is called by the non-super user (usually the <c>root</c>
@@ -558,7 +803,54 @@
<summary>Set the owner user ID and owner group ID of
<see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
</summary>
- <exception cref="TODO"/>
+ <exception cref="T:System.InvalidOperationException">
+ The effective user ID does not match the owner of the file and the
+ effective user ID is not the super-user.
+ [<see cref="F:Mono.Unix.Native.Errno.EPERM"/>]
+ </exception>
+ <exception cref="T:System.UnauthorizedAccessException">
+ <para>Search permission is denied for a component of the path
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.EACCES"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.DirectoryNotFoundException">
+ A component of the path prefix of
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> is not a
+ directory.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR"/>]
+ </exception>
+ <exception cref="T:System.IO.FileNotFoundException">
+ A component of <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>
+ that must exist does not exist.
+ [<see cref="F:Mono.Unix.Native.Errno.ENOENT"/>]
+ </exception>
+ <exception cref="T:System.IO.IOException">
+ <para><see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> resides
on a
+ read-only file system.
+ [<see cref="F:Mono.Unix.Native.Errno.EROFS"/>]
+ </para>
+ <para>-or-</para>
+ <para>An I/O error occurred while making the directory entry or
+ allocating the inode.
+ [<see cref="F:Mono.Unix.Native.Errno.EIO"/>]
+ </para>
+ </exception>
+ <exception cref="T:System.IO.PathTooLongException">
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/> was too long.
+ [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG"/>]
+ </exception>
+ <exception cref="T:Mono.Unix.UnixIOException">
+ <para>Too many symbolic links were encountered in translating
+ <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName"/>.
+ [<see cref="F:Mono.Unix.Native.Errno.ELOOP"/>]
+ </para>
+ <para>-or-</para>
+ <para>An attempt was made to set the sticky bit upon an
+ executable.
+ [<see cref="F:Mono.Unix.Native.Errno.EFTYPE"/>]
+ </para>
+ </exception>
<remarks>
<para>
If this is called by the non-super user (usually the <c>root</c>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches