Age | Commit message (Collapse) | Author |
|
|
|
* fsck.c (options): Add -t/--fstype option.
(main): Parse that option, and use it to constrain fstab list.
* fsck.c (FSCK_F_DRYRUN): New macro.
(options, main): Add -N/--dry-run option to set it.
(fs_start_fsck): If FSCK_F_DRYRUN set, just print out and return zero.
* fsck.c (fscks_start_fsck): If FSCK_F_DRYRUN is set, don't try to
make read-only, just print a message that we would.
* fsck.c (options, main): Change --fstab from -t to -F.
1999-06-10 Roland McGrath <roland@baalperazim.frob.com>
* fsck.c (options): Add -A/--all and -R/--exclude-root options for
compatibility with Linux, and --exclude=PATTERN as general form.
(main): Parse them. Constrain fstab list by exclude patterns.
* fsck.c (fsck): Don't check for "noauto" mntopt. No other system
skips a filesystem because of it.
(fsck): Always start at pass 1, not 0. In every other system,
"pass 0" always means to skip that filesystem entirely.
|
|
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
|
|
|
|
* MAKEDEV.sh (ECHO, EXEC): Do not export.
(DEVDIR): Initialize to `pwd` before argument parsing.
(_CWD): Don't set this.
(lose): New function. Use it for all miscellaneous fatal errors.
(mkdev): Disallow directory names. Always use ${DEVDIR} for name to
embed in translator settings.
Rewrite syntax checking for disk device names.
|
|
|
|
* fstab.c, fstab.h: Add numerous `const' qualifiers.
* fstab.c (fstab_find_mount): Don't count "none" or "-" as matching
any other entry.
|
|
* fsck.c (struct fsck): Don't use bitfield.
|
|
* fstab.c, fstab.h: Add numerous `const' qualifiers.
|
|
|
|
* MAKEDEV.sh (case 'time'): Make /dev/time mode 644, not 666.
|
|
* swapon.c: Support -a (reading fstab).
|
|
* MAKEDEV.sh (mkdev): put `time' in single-quotes; it's a reserved
word in bash 2.02 and this protects it. Reported by OKUJI
Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
* MAKEDEV.sh (PATH): Add /usr/bin out of deference to users
lacking the /usr symlink. Requested by Marcus Brinkmann
<Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|
|
* fsck.c (main): Add braces to silence gcc warning.
|
|
* fstab.c: Rename fsys_remount -> fsys_update in extern decl.
|
|
* clookup.c (file_name_lookup_carefully): Change __getuids to geteuids.
Use hurd_file_name_lookup instead of __hurd_file_name_lookup.
|
|
|
|
* clookup.c (file_name_lookup_carefully): Use getdport instead of
__getdport, getumask () instead of _hurd_umask.
|
|
|
|
|
|
* swapon.c (main): Fix return type to int, and use return.
|
|
|
|
Support 256 ptys.
|
|
Handle devices of the form "cd*".
|
|
|
|
file_get_translator_cntl can also return ENXIO for an inactive translator.
|
|
|
|
Use /hurd/storeio instead of /hurd/devport.
|
|
|
|
|
|
|
|
Add swapon.c & swapoff.c.
(HURDLIBS):
Add libstore.
(targets):
Add swapon & swapoff.
Add dependencies on libstore.
|
|
|
|
|
|
Add missing `ln' to command for stderr.
|
|
|
|
New function.
(st, mkdir):
Use cmd to execute any real commands.
Use bash fancy variables instead of various programs.
Try to get the correct devdir even if it's not the cwd.
Add new options --verbose/-v and --dry-run/-n.
Add the --devdir/-D option.
Use the basename of $I instead of $I for various things.
Correctly put derived names in the same directory as the arg.
|
|
|
|
this script works under linux too.
|
|
|
|
case it's a file and not a real device.
|
|
Make I local.
|
|
|
|
Correctly remove from fscks chain.
|
|
|
|
|
|
|
|
In non-automatic mode, print a warning if a filesystem is of a type that
can't be fscked.
|