summaryrefslogtreecommitdiff
path: root/sutils/fstab.c
AgeCommit message (Collapse)Author
2001-02-182001-02-18 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* fstab.c (STORE): Only copy when field exists (is non-zero). Reported by Alexey Dejeka <alexey@comail.ru>.
1999-11-19(fstab_argp_create): brainoRoland McGrath
1999-11-191999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Check strdup return for ENOMEM failure. (fstypes_find_program): New function, #if 0'd out for now. (fstab_argp, fstab_argp_create, options, parse_opt): New variables and functions. * fstab.h: Misc comment fixes. (struct fstab_argp_params): New type. (fstab_argp, fstab_argp_create): Declare them. * fsck.c (options): Remove --fstab/-F, --search-fmts/-S, --exclude-root/-R, --exclude/-X, --fstype/-t, --all/-A; all of these are now factored out into fstab_argp. (main): Remove parsing code for options now in fstab_argp. Instead, use fstab_argp as an argp_child and use fstab_argp_create to process the option-parsing results into a struct fstab * to process. * fstab.c (fstab_read): Undo change of 1999-09-17. It should not be necessary at all, given 1999-05-23 change, and: (fstab_find_mount): Do not consider name "ignore" to match any mount.
1999-09-171999-09-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* fstab.c (fstab_read): Ignore filesystems with types of ignore, nfs, or swap.
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
1999-05-231999-05-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c, fstab.h: Add numerous `const' qualifiers. * fstab.c (fstab_find_mount): Don't count "none" or "-" as matching any other entry.
1998-11-291998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c: Rename fsys_remount -> fsys_update in extern decl.
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1997-08-20(_fs_check_mounted):Miles Bader
file_get_translator_cntl can also return ENXIO for an inactive translator.
1997-02-05(fstypes_get):Miles Bader
Improve error behavior a bit. Fill in FSTYPE in the case where we added a new type. (fs_set_mntent): Avoid null deferences.
1996-09-23(fs_remount):Miles Bader
Use fsys_update instead of fsys_remount.
1996-07-03(fstab_add_fs): Don't SEGV if COPY is 0.Miles Bader
1996-06-20(fstypes_create): Copy SEARCH_FMTS contents into NEW.Miles Bader
(fs_set_mntent): Don't keep old fsys fields if the mnt_dir is changed. (fstab_add_mntent): Initialize fields in FS with non-zero values. (_fs_check_mounted): The root is always mounted.
1996-06-19(fs_set_readonly, fs_remount):Miles Bader
If fsys_set_options returns EINVAL, return EOPNOTSUPP instead. (fs_set_readonly): Use fsys_set_readonly. (fs_remount): Use fsys_remount. (fs_readonly): Use fsys_get_readonly. (_fs_check_mounted): Use file_name_lookup_carefully.
1996-06-19Initial revisionMiles Bader