because is better than cause

This commit is contained in:
Kay Sievers
2006-03-27 20:22:00 +02:00
parent c643d61836
commit e688ad2d0d
4 changed files with 9 additions and 9 deletions

2
FAQ
View File

@@ -51,7 +51,7 @@ A: Yes, udev can create /dev nodes using the devfs naming policy. A
to the devfs names. See the udev.rules.devfs file in the udev
release.
Note that the devfs scheme is not recommended or officially supported
cause it is a really stupid idea to simply enumerate devices in a world
because it is a really stupid idea to simply enumerate devices in a world
where devices can come and go at any time. These numbers give you nothing
but problems, and are not useful to identify a device. Have a look at the
persistent disk rules for an example how to do it correctly in userspace

View File

@@ -237,7 +237,7 @@ udev 069
A bunch of mostly trivial bugfixes. From now on no node name or
symlink name can contain any character than plain whitelisted ascii
characters or validated utf8 byte-streams. This is needed for the
/dev/disk/by-label/* links, cause we import untrusted data and
/dev/disk/by-label/* links, because we import untrusted data and
export it to the filesystem.
udev 068
@@ -249,7 +249,7 @@ situations.
udev 067
========
Bugfix. udevstart event ordering was broken for a long time.
The new run_program() uncovered it, cause /dev/null was not
The new run_program() uncovered it, because /dev/null was not
available while we try to run external programs.
Now udevstart should create it before we run anything.
@@ -274,7 +274,7 @@ Mostly bugfixes and see ChangeLog.
The test for the existence of an environment value should be
switched from:
ENV{KEY}=="*" to ENV{KEY}=="?*"
cause "*" will not fail anymore, if the key does not exist or
because "*" will not fail anymore, if the key does not exist or
is empty.
udev 063
@@ -447,7 +447,7 @@ We support an unlimited count of symlinks now.
If USE_STATIC=true is passed to a glibc build, we link statically and use
a built-in userdb parser to resolve user and group names.
The PLACE= key is gone. It can be replaced by an ID= for a long time, cause
The PLACE= key is gone. It can be replaced by an ID= for a long time, because
we walk up the chain of physical devices to find a match.
The KEY="<value>" format supports '=', '==', '!=,' , '+=' now. This makes it
@@ -462,5 +462,5 @@ but existing rules should be converted if possible, to be better readable.
We have new ENV{}== key now, to match against a maximum of 5 environment
variables.
udevstart is its own binary again, cause we don't need co carry this araound
udevstart is its own binary again, because we don't need co carry this araound
with every forked event.

View File

@@ -42,7 +42,7 @@ int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size)
if (id == NULL)
return -EINVAL;
/* probe for raid first, cause fs probes may be successful on raid members */
/* probe for raid first, because fs probes may be successful on raid members */
if (size) {
if (volume_id_probe_linux_raid(id, off, size) == 0)
goto found;

View File

@@ -54,7 +54,7 @@ int udev_make_node(struct udevice *udev, const char *file, dev_t devt, mode_t mo
/* preserve node with already correct numbers, to prevent changing the inode number */
if ((stats.st_mode & S_IFMT) == (mode & S_IFMT) && (stats.st_rdev == devt)) {
info("preserve file '%s', cause it has correct dev_t", file);
info("preserve file '%s', because it has correct dev_t", file);
selinux_setfilecon(file, udev->dev->kernel_name, stats.st_mode);
goto perms;
}
@@ -279,7 +279,7 @@ int udev_add_device(struct udevice *udev)
goto exit;
info("renamed netif to '%s'", udev->name);
/* we've changed the name, now fake the devpath, cause the
/* we've changed the name, now fake the devpath, because the
* original kernel name sleeps with the fishes and we don't
* get an event from the kernel with the new name
*/