History log of /netbsd-src/sbin/devpubd/hooks/02-wedgenames (Results 1 – 8 of 8)
Revision Date Author Comments
# bcb7e68e 08-Aug-2021 martin <martin@NetBSD.org>

Fix obvious editor mishap in previous


# e1efa604 05-Aug-2021 kre <kre@NetBSD.org>

Obliterate bogus $@ usage.

While here, fix some quoting, change some style, and attempt
to properly handle wedge names with embedded newlines, and those
that end with a '/' character (not particular

Obliterate bogus $@ usage.

While here, fix some quoting, change some style, and attempt
to properly handle wedge names with embedded newlines, and those
that end with a '/' character (not particularly happy with the
solution to that last one, but it is better than it was).

Is there a reason that characters that need encoding in wedge names
(white space, and more) are encoded as %%XX (XX is the hex value of
the char - but 2 % chars? Why?). That remains unchanged, but as
the script already relied upon sh's $'...' quoting, I think we can rely
upon printf as well, so replace the old (very elegant, but slow) encoding
function with a much simpler one (does the same thing).

show more ...


# 3b6e7d03 09-Jan-2021 mlelstv <mlelstv@NetBSD.org>

Also replace calls to dirname.


# 1f9fa21d 09-Jan-2021 mlelstv <mlelstv@NetBSD.org>

Remove need for awk/sed/readlink tools.


# 43aac176 15-Aug-2016 mlelstv <mlelstv@NetBSD.org>

Avoid error message when /dev/wedges doesn't exist yet.


# 4b8999e0 01-Mar-2015 mlelstv <mlelstv@NetBSD.org>

safely update existing wedge links


# 481b9e73 15-Feb-2015 jmcneill <jmcneill@NetBSD.org>

At startup, instead of doing run-hooks for each device, call run-hooks
once with a list of all found devices. This lets us batch calls to MAKEDEV
which results in a noticeable improvement in Raspberr

At startup, instead of doing run-hooks for each device, call run-hooks
once with a list of all found devices. This lets us batch calls to MAKEDEV
which results in a noticeable improvement in Raspberry Pi boot time.

Run the initial device enumeration hooks before detaching from the foreground,
ensuring that any required devices have been created before the rc.d script
exits.

show more ...


# a11271cd 11-Jan-2013 mlelstv <mlelstv@NetBSD.org>

Provide a script for devpubd(8) that creates symlinks for each dk(4)
device under /dev/wedges so that you can access them by name.