diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2012-05-24 00:49:00 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2012-05-24 00:49:00 +0200 |
commit | 80dd7372b236a7f4d9ea2e47f5760fde9bbc93b9 (patch) | |
tree | c56e68e4ed4057acc817e2172fff3dd013da600f /hurd/translator | |
parent | 78d4ca5b4491e1b43f404108c9fdd23a6113c45d (diff) |
open_issues/settrans_directory_symlink: New.
Diffstat (limited to 'hurd/translator')
-rw-r--r-- | hurd/translator/short-circuiting.mdwn | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hurd/translator/short-circuiting.mdwn b/hurd/translator/short-circuiting.mdwn index 9de9f7b8..6f608fb2 100644 --- a/hurd/translator/short-circuiting.mdwn +++ b/hurd/translator/short-circuiting.mdwn @@ -1,12 +1,12 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2009, 2012 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled -[[GNU Free Documentation License|/fdl]]."]]"""]] +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] In traditional [[Unix]], file systems contain special files. These are: symbolic links, character devices, block devices, named pipes, and @@ -60,6 +60,8 @@ To make sure that you use one of these translators, there by bypassing the short-circuiting mechanism, you can either start it as an active translator, or use a different path from the one in `hurd/path.h`, e.g. `settrans bar /hurd/./symlink foo`. +There is also a `FS_TRANS_FORCE` flag defined for the `file_set_translator` +RPCs, but it currently isn't set from anywhere. The best example of how short-circuiting is implemented can be found in [[`libdiskfs`|libdiskfs]]. Notice how it detects if a translator to store |