| 
									
										
										
										
											1999-06-21 18:25:49 +00:00
										 |  |  | \section{\module{statvfs} --- | 
					
						
							|  |  |  |          Constants used with \function{os.statvfs()}} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \declaremodule{standard}{statvfs} | 
					
						
							|  |  |  | % LaTeX'ed from comments in module
 | 
					
						
							| 
									
										
										
										
											2000-12-01 15:25:23 +00:00
										 |  |  | \sectionauthor{Moshe Zadka}{moshez@zadka.site.co.il} | 
					
						
							| 
									
										
										
										
											1999-06-21 18:25:49 +00:00
										 |  |  | \modulesynopsis{Constants for interpreting the result of | 
					
						
							|  |  |  |                 \function{os.statvfs()}.} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | The \module{statvfs} module defines constants so interpreting the result | 
					
						
							|  |  |  | if \function{os.statvfs()}, which returns a tuple, can be made without | 
					
						
							|  |  |  | remembering ``magic numbers.''  Each of the constants defined in this | 
					
						
							|  |  |  | module is the \emph{index} of the entry in the tuple returned by | 
					
						
							|  |  |  | \function{os.statvfs()} that contains the specified information. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_BSIZE} | 
					
						
							|  |  |  | Preferred file system block size. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_FRSIZE} | 
					
						
							|  |  |  | Fundamental file system block size. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-04-03 20:13:55 +00:00
										 |  |  | \begin{datadesc}{F_BLOCKS} | 
					
						
							|  |  |  | Total number of blocks in the filesystem. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1999-06-21 18:25:49 +00:00
										 |  |  | \begin{datadesc}{F_BFREE} | 
					
						
							|  |  |  | Total number of free blocks. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_BAVAIL} | 
					
						
							|  |  |  | Free blocks available to non-super user. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_FILES} | 
					
						
							|  |  |  | Total number of file nodes. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_FFREE} | 
					
						
							|  |  |  | Total number of free file nodes. | 
					
						
							|  |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_FAVAIL} | 
					
						
							| 
									
										
										
										
											2000-04-03 20:13:55 +00:00
										 |  |  | Free nodes available to non-super user. | 
					
						
							| 
									
										
										
										
											1999-06-21 18:25:49 +00:00
										 |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_FLAG} | 
					
						
							| 
									
										
										
										
											2000-07-16 19:01:10 +00:00
										 |  |  | Flags. System dependent: see \cfunction{statvfs()} man page. | 
					
						
							| 
									
										
										
										
											1999-06-21 18:25:49 +00:00
										 |  |  | \end{datadesc} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | \begin{datadesc}{F_NAMEMAX} | 
					
						
							|  |  |  | Maximum file name length. | 
					
						
							|  |  |  | \end{datadesc} |