Fossil SCM
Improved documentation on the "fossil fusefs" command.
Commit
440eb41e59ea229f65d1bbdb447d3fb231eec59c
Parent
be7e2398941aa2c…
1 file changed
+22
-2
+22
-2
| --- src/fusefs.c | ||
| +++ src/fusefs.c | ||
| @@ -259,15 +259,35 @@ | ||
| 259 | 259 | #endif /* FOSSIL_HAVE_FUSEFS */ |
| 260 | 260 | |
| 261 | 261 | /* |
| 262 | 262 | ** COMMAND: fusefs |
| 263 | 263 | ** |
| 264 | -** Usage: %fossil fusefs DIRECTORY | |
| 264 | +** Usage: %fossil fusefs [--debug] DIRECTORY | |
| 265 | 265 | ** |
| 266 | 266 | ** This command uses the Fuse Filesystem to mount a directory at |
| 267 | 267 | ** DIRECTORY that contains the content of all check-ins in the |
| 268 | -** repository. | |
| 268 | +** repository. The names of files are DIRECTORY/checkins/VERSION/PATH | |
| 269 | +** where DIRECTORY is the root of the mount, VERSION is any valid | |
| 270 | +** check-in name (examples: "trunk" or "tip" or a tag or any unique | |
| 271 | +** prefix of a SHA1 hash, etc) and PATH is the pathname of the file | |
| 272 | +** in the checkin. If DIRECTORY does not exist, then an attempt is | |
| 273 | +** made to create it. | |
| 274 | +** | |
| 275 | +** The DIRECTORY/checkins directory is not searchable so one cannot | |
| 276 | +** do "ls DIRECTORY/checkins" to get a listing of all possible checkin | |
| 277 | +** names. There are countless variations on checkin names and it is | |
| 278 | +** impractical to list them all. But all other directories are searchable | |
| 279 | +** and so the "ls" command will work everywhere else in the fusefs | |
| 280 | +** file hierarchy. | |
| 281 | +** | |
| 282 | +** The FuseFS typically only works on Linux, and then only on Linux | |
| 283 | +** systems that have the right kernel drivers and have install the | |
| 284 | +** appropriate support libraries. | |
| 285 | +** | |
| 286 | +** After stopping the "fossil fusefs" command, it might also be necessary | |
| 287 | +** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it | |
| 288 | +** again. | |
| 269 | 289 | */ |
| 270 | 290 | void fusefs_cmd(void){ |
| 271 | 291 | #ifndef FOSSIL_HAVE_FUSEFS |
| 272 | 292 | fossil_fatal("this build of fossil does not support the fuse filesystem"); |
| 273 | 293 | #else |
| 274 | 294 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -259,15 +259,35 @@ | |
| 259 | #endif /* FOSSIL_HAVE_FUSEFS */ |
| 260 | |
| 261 | /* |
| 262 | ** COMMAND: fusefs |
| 263 | ** |
| 264 | ** Usage: %fossil fusefs DIRECTORY |
| 265 | ** |
| 266 | ** This command uses the Fuse Filesystem to mount a directory at |
| 267 | ** DIRECTORY that contains the content of all check-ins in the |
| 268 | ** repository. |
| 269 | */ |
| 270 | void fusefs_cmd(void){ |
| 271 | #ifndef FOSSIL_HAVE_FUSEFS |
| 272 | fossil_fatal("this build of fossil does not support the fuse filesystem"); |
| 273 | #else |
| 274 |
| --- src/fusefs.c | |
| +++ src/fusefs.c | |
| @@ -259,15 +259,35 @@ | |
| 259 | #endif /* FOSSIL_HAVE_FUSEFS */ |
| 260 | |
| 261 | /* |
| 262 | ** COMMAND: fusefs |
| 263 | ** |
| 264 | ** Usage: %fossil fusefs [--debug] DIRECTORY |
| 265 | ** |
| 266 | ** This command uses the Fuse Filesystem to mount a directory at |
| 267 | ** DIRECTORY that contains the content of all check-ins in the |
| 268 | ** repository. The names of files are DIRECTORY/checkins/VERSION/PATH |
| 269 | ** where DIRECTORY is the root of the mount, VERSION is any valid |
| 270 | ** check-in name (examples: "trunk" or "tip" or a tag or any unique |
| 271 | ** prefix of a SHA1 hash, etc) and PATH is the pathname of the file |
| 272 | ** in the checkin. If DIRECTORY does not exist, then an attempt is |
| 273 | ** made to create it. |
| 274 | ** |
| 275 | ** The DIRECTORY/checkins directory is not searchable so one cannot |
| 276 | ** do "ls DIRECTORY/checkins" to get a listing of all possible checkin |
| 277 | ** names. There are countless variations on checkin names and it is |
| 278 | ** impractical to list them all. But all other directories are searchable |
| 279 | ** and so the "ls" command will work everywhere else in the fusefs |
| 280 | ** file hierarchy. |
| 281 | ** |
| 282 | ** The FuseFS typically only works on Linux, and then only on Linux |
| 283 | ** systems that have the right kernel drivers and have install the |
| 284 | ** appropriate support libraries. |
| 285 | ** |
| 286 | ** After stopping the "fossil fusefs" command, it might also be necessary |
| 287 | ** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it |
| 288 | ** again. |
| 289 | */ |
| 290 | void fusefs_cmd(void){ |
| 291 | #ifndef FOSSIL_HAVE_FUSEFS |
| 292 | fossil_fatal("this build of fossil does not support the fuse filesystem"); |
| 293 | #else |
| 294 |