Commit Graph

217 Commits

Author SHA1 Message Date
Michael Kerrisk 82d2be3d9d > > Additionally, you may want to make a note in the stat/lstat man page that on
> > Linux, lstat(2) will generally not trigger automounter action, whereas
> > stat(2) will.
> 
> I don't understand this last piece.  Can you say some more.  (I'm not
> familiar with automounter details.)
 
An automounter (either an explicit one, like autofs, or an implicit
one, such as are used by AFS or NFSv4) is something that triggers
a mount when something is touched.
 
However, it's undesirable to automount, say, everyone's home
directory just because someone opened up /home in their GUI
browser or typed "ls -l /home".  The early automounters simply
didn't list the contents until you accessed it by name;
this is still the case when you can't enumerate a mapping
(say, all DNS names under /net).  However, this is extremely
inconvenient, too.
 
The solution we ended up settling on is to create something
that looks like a directory (i.e. reports S_IFDIR in stat()),
but behaves somewhat like a symlink.  In particular, when it is
accessed in a way where a symlink would be dereferenced,
the automount triggers and the directory is mounted.  However,
system calls which do *not* cause a symlink to be dereferenced,
like lstat(), also do not cause the automounter to trigger.
This means that "ls -l", or a GUI file browser, can see a list
of directories without causing each one of them to be automounted.
 
        -hpa
2008-09-10 10:40:01 +00:00
Michael Kerrisk 86d89e4c89 Add more detail in mount options that prevent updates to atime. 2008-09-09 05:25:25 +00:00
Michael Kerrisk 614aae4105 Add "512B" to comment for st_blocks 2008-09-09 05:12:17 +00:00
Michael Kerrisk ad22ad5568 ffix 2008-06-11 22:19:03 +00:00
Michael Kerrisk a9cfde1dbc SEE ALSO: add symlink.7 2008-06-11 21:50:53 +00:00
Michael Kerrisk 24d01c530c s/filesystem/file system/ 2008-03-19 07:26:08 +00:00
Michael Kerrisk 647d1abbdb Added some .\" comments, and a FIXME. 2008-03-18 14:25:00 +00:00
Michael Kerrisk 6982cdd87c Minor wording change 2008-03-18 14:11:57 +00:00
Michael Kerrisk d1b4e37d41 ffix 2007-12-23 22:24:54 +00:00
Michael Kerrisk d3b03141a9 s/filedes/fd/ 2007-12-23 21:56:27 +00:00
Michael Kerrisk bd19142309 enclose code smaples/structure defns/etc in ".in +4n / .in" 2007-12-19 06:16:04 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk 2d986c928c Replace `...' with alternate formatting (e.g., ".." or .I) 2007-12-18 07:47:22 +00:00
Michael Kerrisk 6b6da70802 ffix 2007-12-07 19:30:58 +00:00
Michael Kerrisk 2777b1caec Remove section numbers for page references where the
reference refers to the page itself.  (This stops man2html
producing links from a page back to itself.)
2007-11-24 10:10:39 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk 6f1a1e6143 Minor improvements in text describing underlying system calls. 2007-07-10 20:57:30 +00:00
Michael Kerrisk 0c8dd25470 Improve text describing underlying system calls. 2007-07-10 20:44:07 +00:00
Michael Kerrisk e0bf91271f Removed trailing white space at end of lines 2007-07-08 12:39:24 +00:00
Michael Kerrisk cc4615cc78 Added/updated glibc feature test macro requirements 2007-07-08 12:11:40 +00:00
Michael Kerrisk 8179def107 Added som .\" comments 2007-07-07 18:51:10 +00:00
Michael Kerrisk 10f5f29476 s/bitmask/bit mask/ 2007-07-01 04:23:34 +00:00
Michael Kerrisk 02e6bca302 s/bitfield/bit field/ 2007-07-01 04:22:00 +00:00
Michael Kerrisk 42d0b3944e minor changes 2007-06-27 06:06:53 +00:00
Michael Kerrisk 07b88ec8d4 spfix 2007-06-27 05:48:37 +00:00
Michael Kerrisk cd66755373 Minor changes 2007-06-27 05:46:29 +00:00
Michael Kerrisk d28a0b7789 Minor changes. 2007-06-27 05:29:59 +00:00
Michael Kerrisk b8f9d9dd7f Add notes on the different system call service routines that have
appeared over time.
2007-06-27 05:12:36 +00:00
Michael Kerrisk eee0a2ec83 minor wording fix 2007-06-23 08:19:17 +00:00
Michael Kerrisk 66ee0c7e89 ffix 2007-06-23 07:19:07 +00:00
Michael Kerrisk c91e381d47 ffix 2007-06-23 07:05:05 +00:00
Michael Kerrisk c1a6449fe7 ffix 2007-06-22 20:54:26 +00:00
Michael Kerrisk 2f0af33ba6 ffix 2007-06-22 19:42:52 +00:00
Michael Kerrisk 1274071a69 ffix 2007-06-22 18:25:23 +00:00
Michael Kerrisk db4e96b771 ffix 2007-06-22 17:48:59 +00:00
Michael Kerrisk 988db66164 strip trailing white space 2007-06-21 22:55:04 +00:00
Michael Kerrisk 29059a6548 s/-/\\-/ 2007-06-20 21:39:45 +00:00
Michael Kerrisk 460e6363dc s/i-node/inode/ 2007-06-11 19:23:43 +00:00
Michael Kerrisk 75b94dc35c Change "e.g. " to "e.g., ", or in some cases, "for example, ".
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
2007-06-08 11:56:22 +00:00
Michael Kerrisk bc7ff20e70 Added EXAMPLE program. 2007-05-28 11:43:03 +00:00
Michael Kerrisk ad7cc990f2 Change reference to path_resolution.2 to path_resolutiion.7 2007-05-26 12:41:39 +00:00
Michael Kerrisk 2b2581ee37 Fix inconsistencies in order of .SH sections 2007-05-19 04:30:20 +00:00
Michael Kerrisk 4fb3134194 Relocated LINUX NOTES as subsection under NOTES 2007-05-18 10:39:45 +00:00
Michael Kerrisk 042bae96ef ffix 2007-05-15 20:53:59 +00:00
Michael Kerrisk 7c93fec03d Wrapped source lines 2007-05-12 12:58:31 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk cf0a9ace57 ffix 2007-04-05 12:36:57 +00:00
Michael Kerrisk a7fadb5558 Updated CONFOMRING TOs and/or standards references. 2006-08-04 12:39:17 +00:00
Michael Kerrisk 97c1eac86f Updated CONFORMING TO section 2006-08-03 13:57:17 +00:00
Michael Kerrisk 7a5b4ffb74 Add SEE ALSO referring to access.2. 2006-05-29 05:00:05 +00:00
Michael Kerrisk 691938a16b ffix 2006-05-12 23:36:04 +00:00
Michael Kerrisk 956a644642 new fstatat(2) page 2006-04-21 22:39:00 +00:00
Michael Kerrisk 9c1c7397a0 Added NOTE that st_size is always returned as zero for most /proc files. 2006-04-19 20:44:55 +00:00
Michael Kerrisk 28d88c1751 Global change to many pages...
Various pages use inconsistent terms for 'null byte' (which
is the C99/SUSv3 term for the '\0' character).
To rectify this the following changes were made in these pages:

Replace 'zero byte' with 'null byte'.
Replace 'null character' with 'null byte'.
Replace 'nulls' with 'null bytes'.
Replace 'NUL-terminated' by 'null-terminated'.
Replace 'NUL' by 'null byte'.
Replace 'terminating NUL' by 'terminating null byte'.
Replace 'final NUL' by 'terminating null byte'.
Replace 'NUL character' by 'null byte'.
2006-01-13 02:09:44 +00:00
Michael Kerrisk 246a500fe8 Added LINUX NOTES describing nanosecond timestamps. 2005-11-17 13:36:31 +00:00
Michael Kerrisk 29de83af2a Fix typo 2005-07-25 09:55:44 +00:00
Michael Kerrisk 32f3001571 Improve st_blocks description. 2005-07-19 14:20:38 +00:00
Michael Kerrisk c7400a2caf set-(group|user)-ID fixes 2005-07-18 16:09:29 +00:00
Michael Kerrisk e75a454257 gid --> GID 2005-07-18 15:54:49 +00:00
Michael Kerrisk b14d4aa5b8 Classical BSD versions are now always named x.yBSD (formerly
there was a mix of x.yBSD and BSD x.y).
2005-07-18 15:05:56 +00:00
Michael Kerrisk da2d9dad4e Improve st_dev and st_rdev descriptions; other wording and formatting
improvements.
2005-07-18 13:54:59 +00:00
Michael Kerrisk 5ae873ff97 Formatting changes 2005-06-22 08:16:22 +00:00
Michael Kerrisk 704a18f06d Fixed typos and spelling mistakes 2005-04-18 13:35:29 +00:00
Michael Kerrisk 168df94099 Enrico Zini
Added text to clarify that S_IS*() macros should be applied
to st_mode field.
as per: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249698
2004-12-16 14:45:45 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00