[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. hurd-release-0-2-3544-ga2e7bbe
From: |
Samuel Thibault |
Subject: |
[SCM] Hurd branch, master, updated. hurd-release-0-2-3544-ga2e7bbe |
Date: |
Wed, 28 Aug 2013 21:16:13 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via a2e7bbe6a98806d7749f6799abf42758c38c3f6b (commit)
via bcca1a329595eb98e12d83f32fc7f5f0fc0bd379 (commit)
via cc96e7a24e8d6ab074ee9023c99cc6ff88fe9d06 (commit)
via bf827fd801c76175d268b688f3bf9c757fa9e189 (commit)
via 61c5d308d97dec46f856085b0cd07dfbd5c76a16 (commit)
via 178b15f2de2c1d147ae212a56663bdc5c8b8d548 (commit)
via 7cf9f75795a4e08519808db380cfffb535127d8c (commit)
via 0d3903e8d44b5441b3606e2540e79c5cb1651145 (commit)
from 67dcc66dbbe940d2ead770a0bfe1c74411b002e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a2e7bbe6a98806d7749f6799abf42758c38c3f6b
Author: Justus Winter <address@hidden>
Date: Fri Jul 5 17:13:32 2013 +0200
umount: add a umount utility
This adds a umount utility that implements most of the functions that
the Linux umount utility provides, especially that subset that is used
by the Debian package initscripts.
* utils/umount.c: New file.
commit bcca1a329595eb98e12d83f32fc7f5f0fc0bd379
Author: Justus Winter <address@hidden>
Date: Fri Jul 5 17:13:27 2013 +0200
sutils: fix the semantic of -t, --types in fstab.c
The mount utility on both Linux and FreeBSD allows one to either
specify a whitelist or a blacklist of filesystem types to consider for
--all. Prefixing the list with "no" indicates that the list is a
blacklist. Furthermore, Linux' mount utility ignores a "no" prefix on
any entry in the given list.
Previously the Hurd variant first applied whitelist containing all
positive values given and then filtered the resulting list using all
negative values. But this makes little sense because each entry only
has one value for the filesystem type (mnt_type) and all values are
mutually exclusive.
This patch adjusts the fstab handling code so that our mount utility
behaves like the Linux mount utility. This code is used by both mount
and fsck. The same argumentation applies to fsck as well.
Like implemented in Linux mount, any "no" prefix is ignored to retain
compatibility with the old behavior.
* sutils/fstab.c (fstab_argp_create): Fix semantic of --types.
commit cc96e7a24e8d6ab074ee9023c99cc6ff88fe9d06
Author: Justus Winter <address@hidden>
Date: Fri Jul 5 17:13:31 2013 +0200
sutils: allow multiple entries for the device "none"
Previously it was not possible to add two mount entries with the same
device information to an fstab structure. This is easily fixed by
breaking the assumption, that there is only one possible mount entry
for the "none" device as used by many purely virtual file systems.
* utils/fstab.c (fstab_find_device): Return NULL if name is "none".
commit bf827fd801c76175d268b688f3bf9c757fa9e189
Author: Justus Winter <address@hidden>
Date: Fri Jul 5 17:13:29 2013 +0200
mount: ignore mounted filesystems if --all is given
Linux' mount utility ignores mounted filesystems if mount --all is
invoked. This patch makes our mount do the same.
utils/mount.c (main): Ignore mounted filesystems if --all is given.
commit 61c5d308d97dec46f856085b0cd07dfbd5c76a16
Author: Justus Winter <address@hidden>
Date: Fri Jul 5 17:13:28 2013 +0200
mount: implement -O, --test-opts
--test-opts in combination with --all mounts only those filesystems
with options matching the given set of options.
Note that the semantic of the inverting "no" prefix differs from
--types: While --types=nonfs,ufs means neither nfs nor ufs,
--test-opts=nofoo,bar means not foo, but bar.
* utils/match-options.h: New file.
* utils/match-options.c: Likewise.
(test_opts): New variable.
(test_opts_len): Likewise.
(match_options): New function.
* utils/mount.c (parse_opt): Handle -O, --test-opts.
(main): Use match_options as filter.
commit 178b15f2de2c1d147ae212a56663bdc5c8b8d548
Author: Justus Winter <address@hidden>
Date: Fri Jun 28 18:46:06 2013 +0200
mount: add -f and --fake arguments
Add -f and --fake arguments. This makes our mount more compatible with
Linux mount.
* utils/mount.c (argp_opts): Add -f and --fake.
(do_mount): Fake the translator startup if --fake is given.
commit 7cf9f75795a4e08519808db380cfffb535127d8c
Author: Justus Winter <address@hidden>
Date: Fri Jun 28 18:46:05 2013 +0200
mount: fix mount -oremount with one parameter
This fixes mount -oremount when just given the mountpoint, e. g.:
% mount -oremount,ro /tmp
* util/mount.c (main): Add a one-argument form for remount.
commit 0d3903e8d44b5441b3606e2540e79c5cb1651145
Author: Justus Winter <address@hidden>
Date: Fri Jun 28 18:46:03 2013 +0200
mount: add -n and --no-mtab arguments
Add -n and --no-mtab arguments. As we do not write an mtab file, this
is a trivial patch that just ignores this argument to be more
compatible with Linux mount.
* utils/mount.c (argp_opts): Add -n and --no-mtab.
(parse_opt): Do nothing on 'n'.
-----------------------------------------------------------------------
Summary of changes:
sutils/fstab.c | 115 +++-------
utils/Makefile | 11 +-
utils/match-options.c | 68 ++++++
console/mutations.h => utils/match-options.h | 22 ++-
utils/mount.c | 91 +++++++-
utils/umount.c | 319 ++++++++++++++++++++++++++
6 files changed, 527 insertions(+), 99 deletions(-)
create mode 100644 utils/match-options.c
copy console/mutations.h => utils/match-options.h (57%)
create mode 100644 utils/umount.c
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. hurd-release-0-2-3544-ga2e7bbe,
Samuel Thibault <=