| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* doc/hurd.texi (Special Files): added a reference to the zero store.
* doc/hurd.texi (Translators): added a sentence about /dev/random.
* doc/hurd.texi (Invoking 'mount'): added a short explanation.
* doc/hurd.texi (Trivfs Callbacks): added @code{FSTYPE_MISC}.
Message-ID: <20230921164822.9227-5-jbranso@dismail.de>
|
|
|
|
|
| |
* doc/hurd.texi (FAT FS): new section.
Message-ID: <20230921164822.9227-4-jbranso@dismail.de>
|
|
|
|
|
| |
* doc/hurd.texi (ISO-9960): I added in a short explanation.
Message-ID: <20230921164822.9227-3-jbranso@dismail.de>
|
|
|
|
|
| |
* doc/hurd.texi (Linux Extended 2 FS): added a short description.
Message-ID: <20230921164822.9227-2-jbranso@dismail.de>
|
|
|
|
|
|
|
| |
* doc/hurd.texi (Repairing Filesystems): described fixing filesystem
corruption.
* doc/hurd.texi (Shutdown): added the hurd specific halt-hurd command.
Message-ID: <20230921164822.9227-1-jbranso@dismail.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes netfs_[gs]et_translator use mach_msg_type_number_t like
the RPC and diskfs. This also makes the fshelp_fetch_root_callback1_t
for fshelp_fetch_root use mach_msg_type_number_t.
This also makes procfs_get_translator and the get_translator proc method
use mach_msg_type_number_t.
This makes diskfs_get_directs use mach_msg_type_number_t like the
dir_readdir RPC
Also get rid of u_int.
This notably fixes _diskfs_translator_callback1_fn's bogus cast of
size_t *argz_len into (u_int *).
|
|
|
|
|
| |
Now that the RPCs have const, this forces us cleaning our const-meant
functions.
|
|
|
|
| |
* libdirmgt: Remove directory.
|
|
|
|
| |
* libtreefs: Remove directory.
|
|
|
|
|
| |
Clarify this in the documentation, and fix the storeio implementation.
Message-Id: <20210508153144.332832-2-bugaevc@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
* doc/hurd.texi: Index pthread.h instead of cthreads.h
* libports/Makefile (SRCS): Drop stubs.c.
* libports/stubs.c: Remove file.
* mach-defpager/default_pager.c (default_pager): Drop disabled cthreads
calls.
* pfinet/kmem_cache.c: Fix comment.
* proc/stubs.c: Fix comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libthreads is most probably completely broken, and not the long-term
road anyway.
* config.make.in (VERSIONING): Remove.
* configure.ac: Test for pfinet assembly compatibility instead of
libthreads assembly compatibility. Do not set VERSIONING.
* libthreads: Remove directory.
* Makefile (lib-subdirs): Remove libthreads.
* doc/hurd.texi (Threads Library): Rename references to libthreads into
libpthread.
* release/rfloppy.copy: Do not objcopy lib/libthreads.so.
* release/tool-Makefile (rfloppy-solib): Remove libthreads.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/hurd.texi (diskfs_set_node_atime): Document relatime behavior.
* libdiskfs/diskfs.h (diskfs_set_node_atime): Likewise.
* libdiskfs/init-init.c (_diskfs_relatime): Add variable.
* libdiskfs/file-statfs.c (ST_RELATIME): Define if not defined already.
(diskfs_S_file_statfs): Report ST_RELATIME when _diskfs_relatime is set.
* libdiskfs/node-times.c (atime_should_update): New function.
(diskfs_set_node_atime): Document relatime behavior. Call
atime_should_update instead of reading _diskfs_noatime.
* libdiskfs/opts-common.c (diskfs_common_options): Add --strictatime and
-R/--relatime options.
* libdiskfs/opts-std-runtime.c (struct parse_hook): Add relatime field.
(set_opts): Set _diskfs_relatime from relatime field.
(parse_opt): Parse -R option.
* libdiskfs/opts-std-startup.c (parse_startup_opt): Parse -R option.
* libdiskfs/priv.h (_diskfs_relatime): Declare variable.
(atime_should_update): Declare function.
* libdiskfs/opts-append-std.c (diskfs_append_std_options): Add reporting
--relatime option.
* libdiskfs/conch-fetch.c (iohelp_fetch_shared_data): Call
atime_should_update instead of reading _diskfs_noatime.
* libdiskfs/rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
|
|
|
|
| |
* doc/hurd.texi (eth-multiplexer): Add section.
|
|
|
|
| |
* doc/hurd.texi: Specify document encoding as ISO-8859-1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Starting from coreutils 8.30 which uses
renameat2(flag=RENAME_NOREPLACE), we need to have excl=1 to behave
correctly, notably in this case:
$ mkdir a
$ mkdir b
$ touch b/t
$ mv b a
diskfs_rename("b", "a", excl=1) called by mv shall return EEXIST.
* libdiskfs/diskfs.h (diskfs_rename_dir): Add `excl' parameter.
* doc/hurd.texi (diskfs_rename_dir): Document `excl' parameter.
* libdiskfs/dir-renamed.c (diskfs_rename_dir): Add `excl' parameter.
Return EEXIST when target exists and `excl' is not 0.
* libdiskfs/dir-rename.c (diskfs_S_dir_rename): Pass `excl' to
diskfs_rename_dir.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and update the servers to use UTIME_NOW and UTIME_OMIT.
* console-client/trans.c (netfs_attempt_utimes): Do not set current time
ourself.
* console/console.c (netfs_attempt_utimes): Likewise.
* ftpfs/netfs.c (netfs_attempt_utimes): Likewise.
* hostmux/node.c (netfs_attempt_utimes): Likewise.
* usermux/node.c (netfs_attempt_utimes): Likewise.
* nfs/ops.c (netfs_attempt_utimes): Likewise.
* doc/hurd.texi (file_utimens): Add documentation.
* hurd/fs.defs (file_utimens): Add RPC.
* libdiskfs/file-utimes.c (diskfs_S_file_utimes): Move implementation
and replace with translation layer with...
(diskfs_S_file_utimens): ... new function.
* libnetfs/file-utimes.c (netfs_S_file_utimes): Likewise with...
(netfs_S_file_utimens): ... new function.
* libnetfs/init-init.c: Include <error.h>.
(netfs_mtime): New variable.
(netfs_init): New function.
* libnetfs/netfs.h (netfs_attempt_utimes): Update documentation.
* libnetfs/priv.h (netfs_mtime): Declare variable.
* libtreefs/s-file.c (treefs_S_file_utimes): Convert time values and
call treefs_s_file_utimens instead of treefs_s_file_utimes.
* libtreefs/treefs-hooks.h: Replace TREEFS_HOOK_S_FILE_UTIMES with
TREEFS_HOOK_S_FILE_UTIMENS.
* libtreefs/treefs-s-hooks.h: Replace s_file_utimes with s_file_utimens.
* libtrivfs/file-utimes.c (trivfs_S_file_utimens): New function.
* libtrivfs/times.c (trivfs_set_atime): Try to use file_utimens before
using file_utimes.
(trivfs_set_mtime): Likewise.
* nfsd/ops.c (complete_setattr): Likewise.
* trans/fakeroot.c (netfs_attempt_utimes): Likewise.
* nfs/nfs.c (xdr_encode_sattr_times): Do not set atime or mtime when
they are NULL.
* configure.ac: Look for file_futimens, and define UTIME_NOW/OMIT, for
compatibility with old glibcs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hurd/fs.defs (file_exec): Deprecate in favor of...
(file_exec_paths): ...this new RPC.
* TODO: Update.
* doc/hurd.texi: Update RPC name.
* hurd/hurd_types.h: Update RPC name.
* libdiskfs/boot-start.c: Update RPC name.
* configure.ac: Check for presence of RPC stubs file_exec_paths exec_exec_paths.
* exec/hashexec.c (check_hashbang): When file_exec_paths is available, use it
instead of file_exec.
* startup/startup.c (run, run_for_real, start_child): Likewise.
* utils/login.c (main): Likewise.
* libfshelp/start-translator-long.c (fshelp_start_translator_long): Likewise.
* libdiskfs/file-exec.c (diskfs_S_file_exec): Move code to
new function diskfs_S_file_exec_paths and call it.
(diskfs_S_file_exec_paths): New function, use exec_exec_paths when available
instead of exec_exec
* libnetfs/file-exec.c (netfs_S_file_exec, netfs_S_file_exec_paths): Likewise.
* trans/fakeroot.c (netfs_S_file_exec, netfs_S_file_exec_paths): Likewise.
* libtrivfs/file-exec.c (trivfs_S_file_exec_paths): New function.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hurd/exec.defs (exec_exec): Label as deprecated.
(exec_exec_paths): New RPC.
* doc/hurd.texi: Update accordingly.
* exec/hashexec.c (check_hashbang): Add file_name_exec argument.
Don't guess the file name if file_name_exec is set.
* exec/priv.h (check_hashbang): Add path argument.
* exec/exec.c (S_exec_exec): Label as deprecated.
(S_exec_exec_paths): New function.
(do_exec): Add path and abspath arguments, pass path to check_hashbang.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a variant to 'pager_create' that allocates memory for the user
hook next to the pager data increasing locality.
* console/pager.c (pager_clear_user_data): Fix type of 'idx', do not
free 'upi'.
(user_pager_create): Use the new function.
* doc/hurd.texi: Document new function.
* ext2fs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* fatfs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* isofs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* libpager/pager-create.c (_pager_create): New generic allocation
function.
(pager_create): Use the new generic function.
(pager_create_alloc): New function.
* libpager/pager.h (pager_create_alloc): New prototype.
|
|
|
|
|
|
|
|
| |
* doc/hurd.texi: Clarify what happens if 'trivfs_fsid' is zero.
* login/utmp.c: Leave 'trivfs_fsid' at zero.
* pfinet/main.c: Likewise.
* trans/ifsock.c: Likewise.
* trans/proxy-defpager.c: Likewise.
|
| |
|
|
|
|
|
| |
* doc/hurd.texi (devnode): Do not reference not-yet-existing eth-multiplexer
node.
|
|
|
|
| |
* doc/hurd.texi (devnode): Add section.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API has been deprecated in Hurd 0.7.
* doc/hurd.texi (trivfs_protid_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_portclasses,
trivfs_cntl_nportclasses): Remove.
* libtrivfs/trivfs.h: Likewise.
* libtrivfs/mig-decls.h: Adapt accordingly.
* libtrivfs/cntl-classes.c: Remove unused file.
* libtrivfs/protid-classes.c: Likewise.
* libtrivfs/Makefile (OTHERSRCS): Drop the two files.
|
|
|
|
|
|
|
|
| |
* .gitignore: Add generated doc/hurd.aux, doc/hurd.cp, doc/hurd.cps,
doc/hurd.fn, doc/hurd.ky, doc/hurd.log, doc/hurd.pdf, doc/hurd.pg,
doc/hurd.sc, doc/hurd.toc, doc/hurd.tp, doc/hurd.vr files.
* doc/hurd.texi: Fix typo, complete explanation about sharing Mach devices.
Complete documentation for shutdown. Replace cthreads with POSIX threads.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libdiskfs/diskfs.h (struct node): Use refcounts_t for reference counting.
(diskfs_node_refcnt_lock): Remove.
(diskfs_node_norefs,diskfs_drop_node): Change comments accordingly.
* libdiskfs/init-init.c: Adjust accordingly.
* libdiskfs/node-drop.c: Likewise.
* libdiskfs/node-make.c: Likewise.
* libdiskfs/node-nput.c: Likewise.
* libdiskfs/node-nputl.c: Likewise.
* libdiskfs/node-nref.c: Likewise.
* libdiskfs/node-nrefl.c: Likewise.
* libdiskfs/node-nrele.c: Likewise.
* libdiskfs/node-nrelel.c: Likewise.
* ext2fs/inode.c: Likewise.
* fatfs/inode.c: Likewise.
* isofs/inode.c: Likewise.
* tmpfs/node.c: Likewise.
* doc/hurd.texi: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch series splits /hurd/init into two programs. As a first
step, this patch renames /hurd/init to /hurd/startup. It is called
startup because it speaks the startup protocol.
* startup: Rename init to startup. Adjust accordingly.
* Makefile (prog-subdirs): Likewise.
* doc/hurd.texi (Server Bootstrap): Likewise.
* hurd/paths.h (_HURD_STARTUP): Likewise.
* libdiskfs/boot-start.c (diskfs_boot_init_program): Likewise.
* libdiskfs/opts-std-startup.c (startup_options): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hurd/process.defs (proc_set_init_task): New procedure.
* hurd/process_reply.defs (proc_set_init_task): Likewise.
* hurd/process_request.defs (proc_set_init_task): Likewise.
* include/pids.h: Add HURD_PID_INIT as 1, adjust others accordingly.
* init/init.c (start_child): Register the child task.
* proc/proc.h (init_proc): New variable.
(create_startup_proc): Rename to create_init_proc.
* proc/main.c (main): Create placeholder proc object for pid 1.
* proc/mgt.c: Use init_proc instead of startup_proc, as the former is
the new root of the process tree.
(create_startup_proc): Rename to create_init_proc.
(S_proc_set_init_task): New function.
* doc/hurd.texi (Server Bootstrap): Update accordingly.
* procfs/main.c: Do not hard-code kernel pid, use pids.h instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, peropen objects were created with a reference count of
zero. Therefore, if diskfs_create_protid fails, passing such an
object to diskfs_release_peropen would lead to a reference count
underflow.
* libdiskfs/peropen-make.c (diskfs_peropen_make): Initialize reference
count to one.
* libdiskfs/protid-make.c (diskfs_start_protid): And consume this
reference on success. Update comment.
(diskfs_create_protid): Update comment.
* libdiskfs/diskfs.h: Update comments.
* libdiskfs/io-duplicate.c (diskfs_S_io_duplicate): Adjust reference
counting accordingly.
* libdiskfs/io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise.
* libdiskfs/io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* doc/hurd.texi (Diskfs Internals): Update accordingly.
|
|
|
|
| |
* doc/hurd.texi (BSD Unix FS): Remove link to dropped section.
|
|
|
|
|
|
| |
* libfshelp/fshelp.h (fshelp_set_options): Make `argp` pointer const.
* libfshelp/set-options.c (fshelp_set_options): Likewise.
* doc/hurd.texi (fshelp_set_options): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It has been unused/untested/unmaintained for a decade now, and its
4-clause BSD licence poses problem.
* configure.ac (default_static): Remove ufs.
* Makefile (prog-subdirs): Remove ufs, ufs-fsck and ufs-utils.
* NEWS, TODO: doc/hurd.texi, doc/navigating: Remove UFS notes.
* ufs: Remove directory
* ufs-fsck: Remove directory
* ufs-utils: Remove directory
* bsdfsck: Remove directory
|
|
|
|
|
|
|
| |
* doc/gpl.texinfo: Replace @unnumbered with @node and @section commands.
* doc/hurd.texi: Fix call to @setchapternewpage, remove the @node and
@section commands that are now in gpl.texinfo, and remove an erroneous
occurrence of 'attributes' before a command.
|
|
|
|
|
|
| |
* Fix spelling with codespell[1] and manually review it.
[1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
|
|
|
|
|
| |
* hurd.texi: Instead of `st_?time' and `st_?time_usec', talk about
`st_?tim'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi (Diskfs Callbacks): Add const qualifier to parameter
`name' of function diskfs_lookup.
[libdiskfs/ChangeLog]
2008-06-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir-lookup.c (diskfs_lookup): Add const qualifier to parameter
`name'.
* dir-lookup.h (diskfs_lookup): Likewise.
|
|
|
|
|
| |
* hurd.texi: Do some copyright, licensing and menu things as suggested
by the GNU Texinfo manual.
|
|
|
|
|
| |
* hurd.texi (Invoking fsysopts): Elaborate on
augmenting-rather-than-replacing policy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd.texi: Document diskfs_set_node_atime.
[ext2fs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[fatfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
[libdiskfs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* diskfs.h (diskfs_set_node_atime): New declaration.
* node-times.c (diskfs_set_node_atime): New function.
[ufs/ChangeLog]
2007-08-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
* dir.c (diskfs_lookup_hard, diskfs_dirempty): Call
diskfs_set_node_atime instead of setting dp->dn_set_atime.
* inode.c (read_symlink_hook): Likewise.
|
|
|
|
|
|
|
| |
Thomas Schwinge <tschwinge@gnu.org>
* hurd.texi (Invoking serverboot): Remove.
(Server Bootstrap, Boot Scripts): Update.
|
|
|
|
| |
* doc/hurd.texi: Doc fixes.
|
|
|
|
| |
* hurd.texi (Installing): Chapter removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-03 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Store I/O): Add store_set_size.
libstore/
2002-10-01 Ludovic Courtès <ludovic.courtes@utbm.fr>
* store.h: New type store_set_size_meth_t: New type. New
prototype store_set_size.
(struct store_class): Added a set_size () method.
* rdwr.c (store_set_size): New function.
* file.c (file_store_set_size): New function.
(store_file_class): Add file_store_set_size.
* concat.c (concat_set_size): New function.
(store_concat_class): concat_set_size.
* copy.c (copy_set_size): New function.
(store_copy_class): copy_set_size.
* device.c (device_set_size): New function.
(store_device_class): device_set_size.
* memobj.c (memobj_set_size): New function.
(store_memobj_class): memobj_set_size.
* mvol.c (mvol_set_size): New function.
(store_mvol_class): mvol_set_size.
* nbd.c (nbd_set_size): New function.
(store_nbd_class): nbd_set_size.
* remap.c (remap_set_size): New function.
(store_remap_class): remap_set_size.
* stripe.c (stripe_set_size): New function.
(store_stripe_class): stripe_set_size.
* unknown.c (unknown_set_size): New function.
(store_unknown_class): unknown_set_size.
* zero.c (zero_set_size): New function.
(store_zero_class): zero_set_size.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-29 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Translators): Change isofs to iso9660fs
(ISO-9660 CD-ROM FS): Likewise.
isofs/
2002-09-29 Marcus Brinkmann <marcus@gnu.org>
* Makefile (target): Change to iso9660fs.
* main.c (diskfs_server_name): Change to iso9660fs.
|
|
|
|
| |
* hurd.texi: Fix section nesting in last change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hurd.texi (Translators): Document the options for showtrans and
fsystops.
2002-02-11 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
* hurd.texi: Add a space before []'s in vector definitions to remove
compile warnings.
2002-04-15 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Modifying Directories): Documented dir_mkfile, dir_mkdir
dir_rmdir, dir_unlink, dir_link and dir_rename.
Submitted by James A. Morrison <ja2morri@student.math.uwaterloo.ca>.
2002-02-11 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
* hurd.texi: Updated grub url.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
fstests/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fstests.c (main): Call dir_lookup, not dir_pathtrans.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
hurd/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments.
* fsys.defs: Likewise.
* hurd_types.h (enum retry_type): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libdiskfs/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
libfshelp/
2002-03-05 Marcus Brinkmann <marcus@gnu.org>
* fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment.
Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
|
| |
|