Commit Graph

11140 Commits

Author SHA1 Message Date
plunky
ab4f70e666 fix typo: sparce->sparse 2015-03-31 09:25:41 +00:00
martin
7d1d1b71a1 Add resize_root 2015-03-31 07:57:57 +00:00
agc
aa7e0e4b83 Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
2015-03-29 05:52:59 +00:00
jmcneill
8a9ff04ba8 Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
2015-03-28 14:09:58 +00:00
ast
a35faf3dd1 Integrate some feedback gleened from tech-userlevel@netbsd.org:
Avoid ls -P so that script can also run pre-netbsd-7.
Make sure /etc/rc.conf.d configurations are supported.
2015-03-27 23:25:42 +00:00
msaitoh
c034104b35 Update from Intel SDM:
- Add Atom Z8000, Future gen Xeon (Broadwell), Next gen Xeon Phi and so on.
- Add comments.
2015-03-27 05:31:34 +00:00
christos
b2cf87b6f2 allow lists as filter addresses. 2015-03-24 20:24:17 +00:00
ast
baf9344e28 Remove -f option as rc_fast is not set in invocation mode.
Do the load_rc_config *after* option parsing.
Catch conflicting -e + -l option specs.
2015-03-23 23:28:55 +00:00
wiz
5753d35ecf Sort options in usage. 2015-03-22 22:39:05 +00:00
wiz
51041dd869 Sort options. Use An -nosplit in AUTHORS section. 2015-03-22 22:38:19 +00:00
wiz
e74dc903d0 Use An in AUTHORS section. 2015-03-22 22:35:08 +00:00
ast
f00f13ee2a Make the usage appear more standard. 2015-03-22 10:24:48 +00:00
ast
04efec8469 Import a substantially modified service(8) command from FreeBSD to
manage rc.d scripts.  This command is well known on most other Unixes
and should help soften the learning curve for Unix admins coming
to NetBSD.
2015-03-22 09:57:42 +00:00
ast
64fd4bb542 Appease various mandoc -Tlint warnings and update copyright while we're here 2015-03-22 09:45:50 +00:00
jmcneill
7ba4328bfa Process /etc/modules.conf (if present) at startup, before securelevel is
raised, to allow module loading on ports without a module aware bootloader.
2015-03-21 19:10:43 +00:00
rmind
3250dbf286 npfctl:
- Fix the filter criteria when to/from is omitted but port used.
- Print more user-friendly error if an NPF table has a duplicate entry.
2015-03-21 00:49:07 +00:00
joerg
a23fab26e8 MDOC_MAX is a valid token if the type is text. Adjust. 2015-03-12 14:57:18 +00:00
joerg
f449d0c454 Boot partition as FAT32 doesn't really make sense, so don't force
the MBR to lie and allow FAT16 too.
2015-03-12 11:32:16 +00:00
christos
e3f5a174fd CID 1018907: Freeifaddrs 2015-03-11 15:57:12 +00:00
christos
704de17457 - handle section numbers that are not single digits
- don't allocate and free needlessly
2015-03-04 02:02:15 +00:00
christos
ce5cbf49e1 mention that this replaces makewhatis(8) 2015-03-03 18:04:33 +00:00
joerg
5a02bfcb09 Explicitly deal with end of lists. PR 49708. 2015-03-02 13:51:24 +00:00
tnn
d3bf9a40c8 xgetbv expects XCR0 to be speficied in %ecx, don't leave %ecx undefined 2015-03-01 18:02:42 +00:00
joerg
88c9fb0be8 Add rc script for /sbin/iscsid. 2015-02-21 23:13:00 +00:00
joerg
6214f5f4d1 Format string annotation. 2015-02-15 14:51:57 +00:00
christos
7779d7745a - always set *to_buf to a timestamp, even if there was none reported/parseable
(Frank Kardel).
- merge the timestamp copying code to one place.
- factor out the debugging printf function.
2015-02-10 20:38:15 +00:00
christos
4649e9761b Only define the extra flags for kern_timeout.c 2015-02-09 17:48:07 +00:00
christos
4a931fcb8e add kern_timeout.c for "show callout" 2015-02-08 19:42:12 +00:00
gdt
91f284e510 Fix bug in mrouted about aging neighbors.
mrouted will periodically age its neighbors and will remove a neighbor
if it hasn't heard from it for NEIGHBOR_EXPIRE_TIME. Unfortunately, the
neighbor pointers 'a' and 'prev_a' were never advanced when timer was
not expired. Therefore it would get stuck in a tight loop, advancing
'al_timer' until it would be greater than NEIGHBOR_EXPIRE_TIME. This
caused the neighbor to allways get timed out and dropped. Furthermore,
there was a second bug in this loop when deleting an item that was not
at the head of the list (i.e., prev_a should stay the same instead of
advancing).

This bug fix is the work of Konrad Lorincz.  Bug found and fix made on
netbsd-6.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.  Any opinions, findings
and conclusions or recommendations expressed in this material are
those of the author(s) and do not necessarily reflect the views of the
Defense Advanced Research Project Agency and Space and Naval Warfare
Systems Center, Pacific.
Approved for Public Release, Distribution Unlimited
2015-02-05 16:50:19 +00:00
rmind
6cbd6e2a1c npfctl_print_rule: print the ID in hex, not decimal. 2015-02-02 19:08:32 +00:00
rmind
f56b8821ba npfctl(8): report dynamic rule ID in a comment, print the case when libpcap
is used correctly.  Also, add npf_ruleset_dump() helper in the kernel.
2015-02-02 00:31:39 +00:00
rmind
2904ff02f1 npf.conf(5): mention alg, include in the example, minor fix. 2015-02-01 22:57:21 +00:00
christos
0bcb0c670a use strtonum from libc 2015-01-29 03:31:35 +00:00
christos
f47593bb0f use strtonum from libc (Kamil Rytarowski) 2015-01-29 03:28:19 +00:00
christos
50254b7c23 fix tools build. 2015-01-23 20:28:24 +00:00
wiz
91b18a3e92 Pull into this year. 2015-01-23 03:31:58 +00:00
christos
11e0521fb7 attempt to reset file flags when -rr 2015-01-23 02:27:01 +00:00
snj
362cd6ee40 Handle empty input gracefully by simply jumping back to the config menu. 2015-01-20 21:51:05 +00:00
christos
e701837bc1 reflect reality about filesystems supported. 2015-01-12 19:50:47 +00:00
christos
d79005d78a PR/49559: Christian Brueffer: Fix typo maxbpf instead of maxbpg. 2015-01-12 19:50:25 +00:00
joerg
24a21ee034 st_nlink on Linux is not int, so add an explicit cast. 2015-01-07 20:50:36 +00:00
christos
4e2babb88b load the config file before bpfjit so that we can disable the warning. 2015-01-04 20:02:15 +00:00
joerg
a668c47e7f Don't depend on yacc to include stdlib.h or string.h. 2015-01-04 18:30:05 +00:00
christos
52e8eb1316 Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
abs
40a37f0d92 Rather than scatter set_swap() calls wrapped in ram size checks through
md_post_disklabel() and md_pre_update(), abstract them out to an MI
set_swap_if_low_ram() and call from the appropriate MI places.
Now all platforms add swap if the system has <= 32M of RAM.
2015-01-02 19:43:13 +00:00
martin
3cbe7ed1ad Revise previous: with RUN_SILENT there is never a good reason to create
the output window unless there is actually output to display.
2014-12-30 10:10:22 +00:00
apb
f4970596ba rc_obsolete_vars is a list of pairs, so format it with one pair per line. 2014-12-30 07:02:29 +00:00
martin
099d1616af If we launch a program with RUN_SILENT, give it more than two seconds to
run before we create an output window. On a swapping VAX it can take
seriously longer, and we get interactive status display even if the program
did not produce any error output otherwise.
2014-12-29 14:43:06 +00:00
martin
44d35daebe We can not rely on the existence of the "gpt" binary on install media -
make installation work without it (and without strange errors) again.
2014-12-28 12:05:27 +00:00
martin
42a1d150e6 Move bogusly merged files over to new location. 2014-12-28 11:51:10 +00:00
christos
a08b1ebd50 allow turning off the bpf jit loading. 2014-12-26 22:44:54 +00:00
rmind
027d5f223a npfctl(8): attempt to preload bpfjit kernel module and print the
warning on failure.
2014-12-26 20:44:38 +00:00
wiz
2eb17e07ec Use Nx. 2014-12-21 21:10:13 +00:00
christos
e32b8a4e6c PR/49428: Travis Paul: Document x option. 2014-12-21 20:14:33 +00:00
prlw1
f44489f8dc MKINET6=no build fixes
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
jnemeth
a0380aebe4 add powerpc variants to the list of potentially obsolete modules to check 2014-12-16 05:30:40 +00:00
msaitoh
d23838029a Fix a bug that an unknown command is printed as "(null)".
Reported by Fredrik Pettai.
2014-12-16 04:07:40 +00:00
uebayasi
e8f227f2a9 Fix previous; obsolete vars are pairs. 2014-12-13 02:35:02 +00:00
uebayasi
2ae7b0d687 postinstall(8): Define long item lists as variables to improve future diff-ability. 2014-12-13 02:30:39 +00:00
manu
d5cd8e94ec Survive if filesystem installs a signal handler
We tested for signal(3) to return 0 for success, which is incorrect:
signal(3) returns the previous handler. Success should be tested as
!= SIG_ERR, otherwise we fail when a signal handler was previously
installed by perfused(8) parrent process, which happens to be the
FUSE filesystem.
2014-12-12 09:58:39 +00:00
msaitoh
cbb847784d Don't print the microcode version if the ioctl failed to not to
print garbage.
2014-12-11 12:21:44 +00:00
msaitoh
5723de76d5 Add newline if ci_tsc_freq is 0 to not to break the output. 2014-12-11 10:07:45 +00:00
christos
bc9d1499ae Memset the whole cfg array, not piecemeal because otherwise you'll end
up with random data depending on the options set.
XXX: pullup 7
2014-12-05 19:24:41 +00:00
christos
6994331daa c99 initializers 2014-12-03 03:44:45 +00:00
uebayasi
a7d5e3a9dc Handle obsolete xen/pae-xen kernel modules; reported by John D. Baker. 2014-12-01 02:08:34 +00:00
tsutsui
4b574ec157 Terminate messages with a newline so that dialog box won't overwrite messages.
Should be pulled up to netbsd-7 (and netbsd-6) branches.
2014-11-24 15:22:59 +00:00
wiz
4cb289deb0 Bump date. Quote minus with a backslash, for PostScript/PDF output. 2014-11-20 13:16:05 +00:00
msaitoh
ce7f2410b4 Fix manual and usage bug. The ucode command can take [cpuno] argument. 2014-11-20 12:49:13 +00:00
msaitoh
1ce97493fe Move some printf()s from cpu_probe_base_features() to identifycpu().
Those printf()s are used for "identify" command but cpu_probe_base_features()
is shared by ucodeupdate_check(), too. This change fixes a problem that
the "ucode" command print extra output.
2014-11-20 10:31:10 +00:00
joerg
7c080d8b84 Show display if it is not empty. 2014-11-15 02:09:18 +00:00
christos
039e20963e Use VAX_LABELOFFSET here; It needs to be the machine-specific one. Thanks
to gcc-4.8 for discovering the bug and to Atari for having a LABELOFFSET of
516 > 512 :-)
XXX: Perhaps we should put all those constants in <sys/bootblock.h> instead
of spreading them around.
2014-11-13 16:02:25 +00:00
apb
4a6eb64432 Synchronise the "-s" part of the usage message with postinstall.
A colon-separated list of tgz files is no longer accepted; you
must use multiple -s options instead.
2014-11-13 07:11:06 +00:00
apb
48c555dba9 Fix tab/space inconsistency in comment. 2014-11-12 19:41:24 +00:00
apb
87504aab72 Change the order of arguments to check_ids, placing the two file names
adjacent to each other.  Also add a comment explaining the "start"
argument and the "SKIP" special value.
2014-11-12 19:31:05 +00:00
martin
146a7e98a7 Make check_ids take an additional argument (the corresponding source
file) and grep that on error for the missing information, so the user
gets all the info needed how to "FIX MANUALLY".
2014-11-11 19:41:38 +00:00
skrll
519271bdcb kern/49379: Hypervisor's name typo 2014-11-11 08:23:17 +00:00
snj
5b90a227cf "Encryption" has an r in it. 2014-11-10 01:05:10 +00:00
msaitoh
9a87c4ed9d Add code to detect hypervisor. The code was based from FreeBSD and ported
by Kengo Nakahara.
2014-11-07 05:37:05 +00:00
snj
6f0923dea4 Thankfully, apropos returns all results by default these days. Remove
outdated sentence referring to the original (well, old new) limit of 10.
2014-11-04 08:05:21 +00:00
christos
859e855ece fix pasto; thanks John-Mark Gurney... 2014-10-27 21:46:45 +00:00
martin
ad279af689 On architectures that have no BIOS (and so do not set a BIOS geometry)
we need to initialize the globals bsec, bcyl and bhead before using
them.
2014-10-21 18:19:17 +00:00
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
snj
eebaae53ca Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.
2014-10-15 21:38:39 +00:00
christos
e47dca206e Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *)
and not checking the result of localtime can lead to tears.
Add a safectime() that always returns a good string, and add some debugging
so that we can see if there is indeed something wrong in the new libc time
code.
2014-10-14 16:35:20 +00:00
christos
a310a83020 Give an example how to use dhcpcd instead of rtsol 2014-10-12 19:53:34 +00:00
gson
fbdc6f8ee9 When checking if the user chose to use the existing bootblocks, use
the appropriate variable, boottype.bp_consdev, not the uninitialized
bp.bp_consdev.  Also remove bp and bootxx since their only use was in
the incorrect check.  This should fix the problem of sysinst segfaulting
when you choose "Use existing bootblocks" on amd64.
2014-10-11 13:34:01 +00:00
christos
092796a0e8 add defines 2014-10-07 22:20:02 +00:00
christos
30173ba7ad set some variables we need 2014-10-07 22:14:05 +00:00
christos
34564de1c5 mention the default for core too. 2014-10-06 13:14:36 +00:00
wiz
04f076606c usage police
XXX: is the program usage correct? (/dev/ksyms)
2014-10-05 23:08:01 +00:00
christos
f7bf36a390 add -w 2014-10-05 22:58:43 +00:00
roy
0c7cf1ae4c Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.
2014-09-22 19:01:02 +00:00
roy
8e47ac0efa Remove the ping6 ff02::2 test, it looks pretty pointless.
dhcpcd will ensure the IPv6 network is up before forking.
ping the IPv4 default route before the nameserver as the nameserver
could be over the default route anyway.

Fixes the core issue with PR install/49231.
2014-09-22 18:47:41 +00:00
wiz
6880513a4a Add missing .El. From Henning Petersen in PR 49227. 2014-09-20 11:16:05 +00:00
wiz
be551d1b14 Mark up author with .An. 2014-09-19 16:06:16 +00:00
wiz
f5011e838f New sentence, new line. 2014-09-19 16:05:55 +00:00
wiz
5d2c9e2250 Fix section name. 2014-09-19 16:04:29 +00:00
wiz
2a65137f55 Sort sections. From Henning Petersen in PR 49222. 2014-09-19 16:02:58 +00:00
martin
ceb7a1b9a3 For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
2014-09-13 17:22:22 +00:00
roy
1c37fe7141 Fix a bogus gcc warning: dhcp_config may be used uninitialized 2014-09-13 09:46:12 +00:00
roy
9cc5846ff7 Show the IP6 address instead of yes 2014-09-13 09:38:43 +00:00
roy
2787059b04 Strip newline from the gateway correctly. 2014-09-13 09:30:30 +00:00
roy
eda033034a Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
2014-09-13 01:11:58 +00:00
roy
13c4979619 Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.
2014-09-13 00:38:36 +00:00
roy
63fc81c2f0 rtsol is no longer used. 2014-09-12 21:12:42 +00:00
roy
61e374731e Don't prompt for hostname or domain if obtained from DHCP. 2014-09-12 21:02:06 +00:00
roy
14d86bcffe dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
2014-09-12 20:48:55 +00:00
roy
ec4a0efb33 Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00
roy
4fabb2a304 The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
2014-09-12 20:20:25 +00:00
wiz
d762b67d80 Use Nx. 2014-09-11 21:04:34 +00:00
roy
c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
wiz
c48417e269 Fix pasto. 2014-09-10 21:13:50 +00:00
riastradh
3393ff7dbb Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here. 2014-09-10 21:09:32 +00:00
msaitoh
abce3ee962 Update CPUID signature values from the latest Intel SDM.
- Core M-5xxx
- Core i7 extreme
- Future Core (0x4e)
- Future Xeon (0x56)
2014-09-09 15:14:39 +00:00
martin
3c93e210ff Make msdosfs time conversion use the y/m/d/h/m/s conversion functions
from clock_subr.c and compile that into the userland (and tools)
makefs as well.
2014-09-01 09:09:47 +00:00
manu
5b31193998 read and write commands for pcictl, from riastradh@ and wiz@
http://mail-index.netbsd.org/tech-kern/2014/08/26/msg017572.html
2014-09-01 07:11:19 +00:00
wiz
12e2372174 Sort options. 2014-08-31 09:59:08 +00:00
mrg
8865fe7c92 add -N option to print the driver name as returned by pci_drvname(3). 2014-08-31 09:16:54 +00:00
wiz
23f0d17f09 Use more appropriate macro for command line command argument. 2014-08-26 16:21:15 +00:00
martin
551f6cb995 Make sure to not dereference a NULL pointer. 2014-08-19 13:44:31 +00:00
martin
7a7d59f635 Cosmetic changes trying to appease coverity scan. 2014-08-19 13:41:08 +00:00
martin
722a22e445 Check return values from stat before comparing contents of the result
structures. Pointed out by coverity scan.
2014-08-19 13:36:04 +00:00
martin
3221cb6f7f if chdir() fails, try chdir / 2014-08-19 13:30:32 +00:00
martin
ffc1983074 Make an invariant more clear to avoid fals positives from coverity scan 2014-08-19 13:26:27 +00:00
martin
fe0740f823 Check return value from getenv() before using the value. Pointed out by
coverity scan.
2014-08-19 13:04:45 +00:00
martin
14d42b6c1e Make sure the interface name is 0 terminated, pointed out by coverity scan. 2014-08-19 13:01:48 +00:00
martin
36f4a5867f Remove (accidently) duplicated code - pointed out by coverity scan. 2014-08-19 06:49:21 +00:00
martin
eee31b641f Remove duplicate fclose(), pointed out by coverity scan. 2014-08-19 06:47:15 +00:00
jnemeth
e0eccc7b53 - when checking hostname of incoming remote messages, fallback to checking
remote host if the message doesn't contain a hostname
- don't truncate IP addresses when reading syslogd.conf
2014-08-18 05:21:16 +00:00
manu
440aad5bad Remove a warning that happens when the filesystem cleanly exits. Just
display a message when running in debug mode.
2014-08-16 16:32:04 +00:00
jmcneill
6fcbb74223 remove trailing colon from "addusername" msg 2014-08-15 22:58:11 +00:00
skrll
46ef4b0409 Report super speed devices. From Takahiro HAYASHI. 2014-08-12 13:40:07 +00:00
apb
94b079ef04 In get_makevar, ask make to recursively expand the variable,
not just print the unexpanded value.  This is done by
using make -V '${VAR}' instead of make -V 'VAR'.
2014-08-12 09:12:18 +00:00
apb
02561653c9 Quoting fixes in several eval commands. 2014-08-12 08:32:43 +00:00
apb
1bbb38d5f6 Check for and delete ${DEST_DIR}/@RUNDIR@, not /@RUNDIR@.
Also remove an unnecessary eval in do_dhcpcdrundir and
fix a typo in the description.
2014-08-12 08:28:04 +00:00
rmind
670c10ba87 - Add and use npf_alg_export().
- npf_conn_import: handle NAT metadata correctly.
- npf_nat_newpolicy: restore the policy ID.
- npfctl_load: fix error code handling for the limit cases.
- npf_config_import: fix the inverted logic.
- npfctl_load: improve error handling.
2014-08-11 23:48:01 +00:00
roy
f356508f3e FONTCONFIG_DIR not existing does not need to be fixed. 2014-08-11 12:49:01 +00:00
riz
db9fae484c Use installboot to install bootblocks for i386/amd64, now that
they are included on all boot media.

Some of the previous method of setting the console (and conspeed, when
using serial console) is retained, but it should probably be reworked.

Also, adapt to the fact that we may be installing to a disk wedge.

With this change, it is now possible (but still ugly) for sysinst to
create a bootable GPT-labeled disk.
2014-08-11 00:31:22 +00:00
rmind
d0850273a2 - Add npf_ruleset_export(), npf_rule_export() and npf_nat_policyexport().
- Split off npf_conn_export().  Add npf_ifmap_getname() and use it to save
  the interface name; pick it up on npf_conn_import().
- Misc fixes.  Bump NPF_VERSION.
2014-08-10 19:09:43 +00:00
tls
ea6af427bd Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
riz
ede85da57f Clean up comments. No functional changes. 2014-08-08 20:59:35 +00:00
riz
6a3b8676d9 Most GPT fields are 64-bit quantities, so use 64-bit types to store.
Don't try to assign negative values to unsigned quantities.
Use strtouq(), not atoi(), to read 64-bit values.

Booting from an installed GPT-labelled disk still doesn't work,
but at least sysinst doesn't crash as soon as a GPT is created.
2014-08-08 20:24:27 +00:00
joerg
0d704fc1a2 Make it a warning, otherwise the missing noreturn will fail the build. 2014-08-06 12:34:42 +00:00
martin
8b3edf2fa9 Do not install message catalogs 2014-08-06 12:16:12 +00:00
martin
169405fcaa Remove a few menu entries if raid/lvm/cgd/gpt are not available. 2014-08-06 10:03:49 +00:00
martin
438e08f560 Make sysinst use the catalog files installed in /usr/share/sysinst (if
available), fall back to . if not, or use build-in english otherwise.
2014-08-06 09:11:46 +00:00
martin
50357e6f8b Install language files 2014-08-05 18:46:04 +00:00
martin
e0a0745c3d Avoid comparision between array and NULL 2014-08-05 08:39:39 +00:00
apb
f80058aa23 Synchronise several shell_quote implementations, and:
* Elide some unnecessary pairs of quotation marks, to improve readability.
  For example, shell_quote "''" is now \'\' instead of ''\'''\'''.
* Don't add quotes around words that contain only safe characters,
  to improve readability.
* LC_COLLATE=C to prevent [a-zA-Z] from matching non-ASCII characters.
* Use ${SED} if defined.
2014-08-04 21:56:30 +00:00
martin
037e685afe Adapt to extended partitioning support 2014-08-04 08:59:28 +00:00