Age | Commit message (Collapse) | Author |
|
* mount.c (start_mountee): Add the mountee's filesystem to the
list of merged filesystems.
* node.c (node_init_root): Take into consideration the fact that
an empty string refers to the mountee root.
* ulfs.c (ulfs_check): Likewise.
(ulfs_register): Don't check whether "" is a valid directory.
|
|
* mount.c (mountee_node): New variable.
(mountee_root): Likewise.
(mountee_started): Likewise.
(start_mountee): New function (based on node_set_translator
in nsmux).
(setup_unionmount): New function.
* mount.h (mountee_root): New variable.
(mountee_started): Likewise.
(start_mountee): New function.
(setup_unionmount): New function.
* netfs.c (netfs_validate_stat): Start the mountee at the
first invocation.
|
|
* Makefile (OBJS): Add mount.o
* options.h (OPT_MOUNT, OPT_LONG_MOUNT): Define.
* options.c (argp_common_options): Add option ``-mount''.
(argp_parse_common_options): Handle the new option.
* netfs.c (netfs_append_args): Add the ``--mount'' option to the
result.
* mount.h: New file.
* mount.c: Likewise.
|
|
* netfs.c (netfs_attempt_sync): Sync every directory associated
with the supplied node.
(netfs_attempt_syncfs): Send file_syncfs to every directory
maintained by unionfs.
|
|
|
|
* ChangeLog: Wipe out content, and add instructions about how to get it back.
|
|
* Makefile (LDFLAGS): Add -lhurdbugaddr.
* option.c (argp_program_bug_address): Remove definition.
|
|
* Makefile: Simply have GCC #include the needed file -- the current unionfs
build system doesn't do any dependency tracking for header files anyway.
|
|
Aanjhan Ranganathan <aanjhan@tuxmaniac.com>.
|
|
functions static) (Manuel)
|
|
functions static) (Manuel)
|
|
* ulfs.c (ulfs_install): Rewrote to allow insertions of
filesystems based on priority.
(ulfs_register): Added new argument 'priority'. Set the priority
value in ulfs structure.
* ulfs.h (ulfs): Added 'priority' field to struct.
Updated ulfs_register declaration.
* netfs.c (netfs_append_args): Appending new priority option.
* stow.c (stow_privdata): Added 'priority' field to struct.
(stow_diradd): Added new 'priority' argument. Fill priority field
of 'mypriv'.
(_stow_scanstowentry): Changed caller to ulfs_register.
(_stow_registermatchingdirs): Likewise.
* options.c (arg_common_options): Added entries for OPT_PRIORITY
and OPT_ADD.
(arg_parse_common_options): Handle OPT_PRIORITY and OPT_ADD
case. Renamed 'ulfs_removed' to 'ulfs_mode'. New variable
'ulfs_priority'. Changed caller to 'stow_diradd'. Changed caller
to 'ulfs_register'.
* options.h (OPT_ADD, OPT_PRIORITY, OPT_LONG_ADD)
(OPT_LONG_PRIORITY, ULFS_MODE_ADD, ULFS_MODE_REMOVE): New
declarations.
|
|
* main.c (main): Set properly netfs_root_node permissions when
underlying node is not a file
Reported by Alfred M. Szmidt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Makefile: Rewrite.
|
|
* netfs.c (netfs_attempt_create_file): Unlock DIR.
(netfs_attempt_mkfile): Likewise.
|
|
* lib.h: Fix pointer arg.
* lib.c (dir_entries_get): Likewise.
* lib.c (dir_entries_get): Fix typo.
(dir_entries_get): Change type of data_size to size_t.
* node.c (node_entries_get): Change type of dirent_data_size to
size_t.
|
|
* BUGS: Remove the memory-leak bug.
|
|
* lib.c: Include <sys/mman.h>.
* node.c: Include <sys/mman.h>.
(node_entries_get): munmap dirent_data as returned by
dir_entries_get.
(node_entries_get): New variable: int dirent_data_size.
* lib.c (dir_entries_get): New argument: int *dirent_data_size.
(dir_entries_get): Do not forget to munmap DATA if something goes
wrong.
* lib.h: Update dir_entries_get declaration.
|
|
* node.c (node_create_root): call lnode_destroy, if node_create
failed, not if lnode_create failed. Reported by Richard Smith.
|
|
|
|
initial import
|
|
|