oweals/busybox.git
18 years ago- include strings.h for str{,n}casecmp
Bernhard Reutner-Fischer [Fri, 19 May 2006 12:30:46 +0000 (12:30 -0000)]
- include strings.h for str{,n}casecmp
  Thanks to Rich Felker for pointing this out.

18 years ago- fix invalid mode
Bernhard Reutner-Fischer [Fri, 19 May 2006 12:23:07 +0000 (12:23 -0000)]
- fix invalid mode
(r15122 from trunk)

18 years ago- cleanup memory if opening aliases failed and cleanup was requested.
Bernhard Reutner-Fischer [Fri, 19 May 2006 11:25:30 +0000 (11:25 -0000)]
- cleanup memory if opening aliases failed and cleanup was requested.
(r15107 from trunk)

18 years ago- set version to 1.1.4-pre0
Bernhard Reutner-Fischer [Fri, 19 May 2006 11:05:57 +0000 (11:05 -0000)]
- set version to 1.1.4-pre0

18 years ago- set version to 1.1.3 1_1_3
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:57:39 +0000 (10:57 -0000)]
- set version to 1.1.3

18 years agoThe gnu extension to have realpath() malloc its buffer when handed a NULL
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:57:02 +0000 (10:57 -0000)]
The gnu extension to have realpath() malloc its buffer when handed a NULL
isn't implemented in uClibc, so we can't use it.
(r15092 from trunk plus coding-style fix for the patch)

18 years agoResync less.c with current svn to fix a segfault in searching.
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:54:46 +0000 (10:54 -0000)]
Resync less.c with current svn to fix a segfault in searching.
(revisions 14889, 14890, 14891, 14896, 14897, 14905, 14961 from trunk)

18 years agoPatch to fix bug 868, and some related cleanup while I was in the area.
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:49:38 +0000 (10:49 -0000)]
Patch to fix bug 868, and some related cleanup while I was in the area.
A tab is now taken as the end of filename if it's there, but if it isn't
(because the timestamp isn't there) we continue with the existing untruncated
line as the filename.
(r15025 from trunk plus coding-style fixes for the patch)

18 years agoPatch from Jason Schoon to make mount -a not abort on the first failure.
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:45:16 +0000 (10:45 -0000)]
Patch from Jason Schoon to make mount -a not abort on the first failure.
(r15005 from trunk)

18 years ago- make sure not to trip enless loops when using strlen in IMA mode.
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:43:32 +0000 (10:43 -0000)]
- make sure not to trip enless loops when using strlen in IMA mode.
(r15000 from trunk plus preprocessor fixes plus
repair of commit message)

18 years agoPatch from Shaun Jackman:
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:15:47 +0000 (10:15 -0000)]
Patch from Shaun Jackman:

ls has an ugly bug. ls uses an array of pointers, the elements of
which are all in a linked list. To free the elements, instead of
freeing all the elements in the array, array[0..nelements], it frees
by iterating the linked list starting at array[0], which it assumes is
the head of the list. Unfortunately, ls also sorts the array! So,
array[0] is no longer the head, but somewhere in the middle of the
linked list. This patch fixes this bug, and also adds an
ENABLE_FEATURE_CLEAN_UP stanza.
(r14978 from trunk)

18 years ago- passwd doesnt use salt with md5 passwords; bug #604 thanks taviso
Bernhard Reutner-Fischer [Fri, 19 May 2006 10:13:09 +0000 (10:13 -0000)]
- passwd doesnt use salt with md5 passwords; bug #604 thanks taviso
  (r14930 from trunk)

18 years agopull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing...
Mike Frysinger [Sat, 13 May 2006 02:34:25 +0000 (02:34 -0000)]
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list

18 years agofix Bug 659 as reported by Robin Getz
Mike Frysinger [Fri, 5 May 2006 18:39:12 +0000 (18:39 -0000)]
fix Bug 659 as reported by Robin Getz

18 years agoGiuseppe Ciotta writes: add -t, --retries=NUM to show_usage()
Mike Frysinger [Thu, 27 Apr 2006 02:03:03 +0000 (02:03 -0000)]
Giuseppe Ciotta writes: add -t, --retries=NUM to show_usage()

18 years ago- update screenshot to reflect the busybox-1.1.2 stable release.
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 08:35:30 +0000 (08:35 -0000)]
- update screenshot to reflect the busybox-1.1.2 stable release.

18 years ago- don't look at the address but rather on the value. 1_1_2
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 20:37:29 +0000 (20:37 -0000)]
- don't look at the address but rather on the value.
  (r14748 from trunk)

18 years ago- stable version 1.1.2
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 20:17:34 +0000 (20:17 -0000)]
- stable version 1.1.2

18 years agoBring this up to date with busybox-1.1.1.fixes.patch by importing
Rob Landley [Wed, 5 Apr 2006 03:10:42 +0000 (03:10 -0000)]
Bring this up to date with busybox-1.1.1.fixes.patch by importing
svn 14653, 14684, 14746, and 14749.

18 years ago- fix one-argument mount in cases where fstab or mtab contain overlapping
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 08:23:59 +0000 (08:23 -0000)]
- fix one-argument mount in cases where fstab or mtab contain overlapping
  entries.  (Such as "mount -o remount,rw /" where you're not on rootfs.).
  (r14723 from trunk)

18 years ago- make sure that we see all lib*/.c in IMA-mode even when not building the .so
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 08:21:36 +0000 (08:21 -0000)]
- make sure that we see all lib*/.c in IMA-mode even when not building the .so
  (r14740 from trunk).

18 years agoprevent find from ever descending into an xdev'ed directory.
Paul Fox [Thu, 30 Mar 2006 20:06:46 +0000 (20:06 -0000)]
prevent find from ever descending into an xdev'ed directory.
(brought over from trunk r14665)

18 years ago- pull r14681 from trunk:
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 13:03:28 +0000 (13:03 -0000)]
- pull r14681 from trunk:
  don't free foreign mem.

18 years ago- pull r14643 from trunk:
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 12:56:26 +0000 (12:56 -0000)]
- pull r14643 from trunk:
  make sure that we see freeramdisk only once

18 years ago- pull r14628 from trunk:
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 12:55:12 +0000 (12:55 -0000)]
- pull r14628 from trunk:
  Bug spotted by Stephane Billiart: losetup depends on loop.c.

18 years ago- upcoming stable version 1.1.2
Bernhard Reutner-Fischer [Thu, 30 Mar 2006 12:52:37 +0000 (12:52 -0000)]
- upcoming stable version 1.1.2

18 years agoadd public-domain release 1_1_0 1_1_1
Paul Fox [Wed, 29 Mar 2006 19:54:02 +0000 (19:54 -0000)]
add public-domain release

18 years ago- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 18:57:09 +0000 (18:57 -0000)]
- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set

18 years ago- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 17:32:24 +0000 (17:32 -0000)]
- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.
  http://busybox.net/lists/busybox/2006-March/019326.html

   2137       8      28    2173     87d util-linux/mkswap.o.orig
   1890       8      28    1926     786 util-linux/mkswap.o.v0+v1
   1560       4      28    1592     638 util-linux/mkswap.o.v1

18 years ago- shrink dmesg a bit.
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 17:26:14 +0000 (17:26 -0000)]
- shrink dmesg a bit.
  http://busybox.net/lists/busybox/2006-March/019477.html

18 years agoMore extern removal from Robert P. Day.
Rob Landley [Wed, 29 Mar 2006 16:52:56 +0000 (16:52 -0000)]
More extern removal from Robert P. Day.

18 years agofind ./ -name .cvsignore | xargs svn rm
Bernhard Reutner-Fischer [Wed, 29 Mar 2006 15:51:19 +0000 (15:51 -0000)]
find ./ -name .cvsignore | xargs svn rm

18 years agoDocumentation from Jan Kiszka
Rob Landley [Wed, 29 Mar 2006 15:35:23 +0000 (15:35 -0000)]
Documentation from Jan Kiszka

18 years agoKumar Gala tracked down a problem with NFS mounting. This is a different fix
Rob Landley [Wed, 29 Mar 2006 14:30:49 +0000 (14:30 -0000)]
Kumar Gala tracked down a problem with NFS mounting.  This is a different fix
from his, but to the same problem.

18 years agoMike Frysinger pointed out we can go
Rob Landley [Tue, 28 Mar 2006 19:40:15 +0000 (19:40 -0000)]
Mike Frysinger pointed out we can go
  CFLAGS=-I/usr/some/funky/path/to/selinux \
  LDFLAGS=-L/usr/some/funky/path/to/selinux make
So Jan Kiszka reverted part of the selinux patch.

18 years agoBernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
Rob Landley [Tue, 28 Mar 2006 19:19:19 +0000 (19:19 -0000)]
Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
it.

18 years agofix behavior of ZZ, with respect to readonly mode(s). original
Paul Fox [Tue, 28 Mar 2006 14:18:21 +0000 (14:18 -0000)]
fix behavior of ZZ, with respect to readonly mode(s).  original
patch and report from Alexander Griesser.

18 years agoremove some more config code rob missed in rev 13701 cleanup as reported by Robert...
Mike Frysinger [Tue, 28 Mar 2006 06:11:51 +0000 (06:11 -0000)]
remove some more config code rob missed in rev 13701 cleanup as reported by Robert P. J. Day

18 years agojust whitespace fixes
Mike Frysinger [Tue, 28 Mar 2006 02:35:56 +0000 (02:35 -0000)]
just whitespace fixes

18 years agosetlogcons, from Jan Kaszka.
Rob Landley [Mon, 27 Mar 2006 23:23:43 +0000 (23:23 -0000)]
setlogcons, from Jan Kaszka.

18 years agoMention that 1.1.2 should be out Juneish.
Rob Landley [Mon, 27 Mar 2006 23:22:16 +0000 (23:22 -0000)]
Mention that 1.1.2 should be out Juneish.

18 years agoensure that corrupted file extraction causes both a message and
Paul Fox [Mon, 27 Mar 2006 23:09:14 +0000 (23:09 -0000)]
ensure that corrupted file extraction causes both a message and
a failure exit code.  delay the error exit until all (good) files
have been extracted.

filesystem errors (nodes of wrong type, permission problems, etc)
still cause immediate failure.

18 years agoMore from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.
Rob Landley [Mon, 27 Mar 2006 23:09:12 +0000 (23:09 -0000)]
More from Jan Kiszka: this is a port of the latest sysv-init SELinux patch.
It makes busybox invoke the libselinux library function to load the binary
policy right at system start-up. It was successfully tested on a mini-SELinux
system.  Note: requires recent libselinux. I'm using 1.28.

18 years agoFrom Jan Kiszka: This patch fixes the security labelling of the login terminal
Rob Landley [Mon, 27 Mar 2006 23:04:42 +0000 (23:04 -0000)]
From Jan Kiszka: This patch fixes the security labelling of the login terminal
and process... There still remains some stuff to clean up (the whole
set_current_security_context() appears unnecessary complex to me), but this is
now at least working.

18 years agoPatch from Jan Kiszka: In case the libselinux development installation is not
Rob Landley [Mon, 27 Mar 2006 23:00:32 +0000 (23:00 -0000)]
Patch from Jan Kiszka: In case the libselinux development installation is not
located at its default location, this patch allows to override the path via
SELINUX_INC and SELINUX_LIB when invoking make.

18 years agoSoftware Freedom Law Center and the fixes.patch thing.
Rob Landley [Mon, 27 Mar 2006 22:43:40 +0000 (22:43 -0000)]
Software Freedom Law Center and the fixes.patch thing.

18 years agoadd support for :wn (initial patch from Alexander Griesser)
Paul Fox [Mon, 27 Mar 2006 21:51:16 +0000 (21:51 -0000)]
add support for :wn  (initial patch from Alexander Griesser)

18 years agodrop obsolete version string in favor of actual BB version (from
Paul Fox [Mon, 27 Mar 2006 20:29:33 +0000 (20:29 -0000)]
drop obsolete version string in favor of actual BB version (from
Bernhard Fischer)

18 years agoTurn #if 0 into a comment.
Rob Landley [Mon, 27 Mar 2006 17:00:11 +0000 (17:00 -0000)]
Turn #if 0 into a comment.

18 years agoprevent find from ever descending into an xdev'ed directory.
Paul Fox [Mon, 27 Mar 2006 16:42:33 +0000 (16:42 -0000)]
prevent find from ever descending into an xdev'ed directory.

18 years agoMore dead code removal.
Rob Landley [Sun, 26 Mar 2006 21:49:42 +0000 (21:49 -0000)]
More dead code removal.

18 years agoRobert P Day removed some commented out code.
Rob Landley [Sun, 26 Mar 2006 21:42:40 +0000 (21:42 -0000)]
Robert P Day removed some commented out code.

18 years agoDefine both big endian and little endian macros.
Rob Landley [Sat, 25 Mar 2006 03:01:59 +0000 (03:01 -0000)]
Define both big endian and little endian macros.

18 years agoStephane Billiart found an endianness bug in insmod.
Rob Landley [Sat, 25 Mar 2006 02:49:28 +0000 (02:49 -0000)]
Stephane Billiart found an endianness bug in insmod.

18 years ago- commentary typos
Bernhard Reutner-Fischer [Fri, 24 Mar 2006 14:30:05 +0000 (14:30 -0000)]
- commentary typos

18 years ago- make sure that we see freeramdisk only once
Bernhard Reutner-Fischer [Fri, 24 Mar 2006 09:48:18 +0000 (09:48 -0000)]
- make sure that we see freeramdisk only once

18 years agoWhen cross-compiling, the install directory for shared libraries has to come
Rob Landley [Fri, 24 Mar 2006 02:42:58 +0000 (02:42 -0000)]
When cross-compiling, the install directory for shared libraries has to come
from gcc (target machine), not uname (host machine).

18 years agoremove in place of external link
Mike Frysinger [Thu, 23 Mar 2006 23:44:29 +0000 (23:44 -0000)]
remove in place of external link

18 years ago- correct typo
Bernhard Reutner-Fischer [Thu, 23 Mar 2006 16:52:59 +0000 (16:52 -0000)]
- correct typo

18 years agoBug spotted by Stephane Billiart: losetup depends on loop.c.
Rob Landley [Thu, 23 Mar 2006 16:49:22 +0000 (16:49 -0000)]
Bug spotted by Stephane Billiart: losetup depends on loop.c.

18 years agoVery nice patch from Rich Felker to portably set the stream error indicator and
Rob Landley [Thu, 23 Mar 2006 15:30:26 +0000 (15:30 -0000)]
Very nice patch from Rich Felker to portably set the stream error indicator and
thus remove a lot of nasty old code that didn't.

18 years agomake the makefile a little more flexible so we can store in either location
Mike Frysinger [Thu, 23 Mar 2006 03:47:19 +0000 (03:47 -0000)]
make the makefile a little more flexible so we can store in either location

18 years agoNews entry announcing 1.1.1.
Rob Landley [Thu, 23 Mar 2006 03:08:09 +0000 (03:08 -0000)]
News entry announcing 1.1.1.

18 years agosync busybox and udhcp trees
Mike Frysinger [Thu, 23 Mar 2006 03:05:05 +0000 (03:05 -0000)]
sync busybox and udhcp trees

18 years agofixup style
Mike Frysinger [Thu, 23 Mar 2006 02:07:41 +0000 (02:07 -0000)]
fixup style

18 years agodont printf arguments given by user for security sanity
Mike Frysinger [Thu, 23 Mar 2006 02:07:20 +0000 (02:07 -0000)]
dont printf arguments given by user for security sanity

18 years agofix typo
Mike Frysinger [Thu, 23 Mar 2006 02:06:29 +0000 (02:06 -0000)]
fix typo

18 years agoWe make both busybox and busybox_unstripped all the time now, no need to
Rob Landley [Wed, 22 Mar 2006 21:03:21 +0000 (21:03 -0000)]
We make both busybox and busybox_unstripped all the time now, no need to
specify whether or not to strip the binary.

18 years agoPatch from Rogelio Serrano to defer checking whether the tty exists until
Rob Landley [Wed, 22 Mar 2006 17:39:13 +0000 (17:39 -0000)]
Patch from Rogelio Serrano to defer checking whether the tty exists until
we actually need to spawn something on it.

18 years agoFix "seq 1 1".
Rob Landley [Wed, 22 Mar 2006 17:11:44 +0000 (17:11 -0000)]
Fix "seq 1 1".

18 years agoFix from Glenn McGrath.
Rob Landley [Wed, 22 Mar 2006 16:59:12 +0000 (16:59 -0000)]
Fix from Glenn McGrath.

18 years agoTweak allbareconfig not to pause.
Rob Landley [Wed, 22 Mar 2006 15:24:24 +0000 (15:24 -0000)]
Tweak allbareconfig not to pause.

18 years agoAnnoint 1.1.1.
Rob Landley [Wed, 22 Mar 2006 14:07:23 +0000 (14:07 -0000)]
Annoint 1.1.1.

18 years agoAnother header suggestion from Shaun Jackman.
Rob Landley [Wed, 22 Mar 2006 00:46:36 +0000 (00:46 -0000)]
Another header suggestion from Shaun Jackman.

18 years ago2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of sys...
Mike Frysinger [Wed, 22 Mar 2006 00:25:07 +0000 (00:25 -0000)]
2006-03-21  Shaun Jackman  <sjackman@gmail.com>: Include signal.h instead of sys/signal.h.

18 years agoFix missing copyright and license notice.
Rob Landley [Tue, 21 Mar 2006 18:20:40 +0000 (18:20 -0000)]
Fix missing copyright and license notice.

18 years agoPatch from Stuart Hughes upgrading depmod.pl
Rob Landley [Tue, 21 Mar 2006 16:35:50 +0000 (16:35 -0000)]
Patch from Stuart Hughes upgrading depmod.pl

18 years agoPatch from Shaun Jackman to make loop.c build only when needed.
Rob Landley [Tue, 21 Mar 2006 16:22:19 +0000 (16:22 -0000)]
Patch from Shaun Jackman to make loop.c build only when needed.

18 years agoTemporarily disable shared library for the 1.1.1 release.
Rob Landley [Tue, 21 Mar 2006 16:07:39 +0000 (16:07 -0000)]
Temporarily disable shared library for the 1.1.1 release.

18 years ago- workaroung pr25795 in gcc-4.1
Bernhard Reutner-Fischer [Tue, 21 Mar 2006 11:06:43 +0000 (11:06 -0000)]
- workaroung pr25795 in gcc-4.1
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25795

18 years agoRemove unneeded entries.
Rob Landley [Mon, 20 Mar 2006 18:40:07 +0000 (18:40 -0000)]
Remove unneeded entries.

18 years agoCleanup: remove double quotes that don't seem to be needed.
Rob Landley [Mon, 20 Mar 2006 18:39:02 +0000 (18:39 -0000)]
Cleanup: remove double quotes that don't seem to be needed.

18 years agowhitespace cleanup
Eric Andersen [Mon, 20 Mar 2006 18:07:50 +0000 (18:07 -0000)]
whitespace cleanup

18 years agoFix some obvious compile problems. Make the -f' fakeIt option actually work.
Eric Andersen [Mon, 20 Mar 2006 18:07:13 +0000 (18:07 -0000)]
Fix some obvious compile problems.  Make the -f' fakeIt option actually work.

18 years agoWilly Tarreau writes:
Eric Andersen [Mon, 20 Mar 2006 17:50:08 +0000 (17:50 -0000)]
Willy Tarreau writes:

I encountered a little typo in 'make help' : the prefix was
noted "$prefix" instead of "$(PREFIX)".

18 years agoRoy Walker writes:
Eric Andersen [Mon, 20 Mar 2006 17:37:00 +0000 (17:37 -0000)]
Roy Walker writes:

Here is a patch against the current subversion repository, that makes
udhcpc have an adjustable timeout.  Works for both foreground and before
it drops to the background.  This brings it more in-line with ISC dhcpc.

Use like so:
udhcpc --timeout=10 ...
or
udhcpc -T 10 ...

Still shooting for 1.1.1 this month?  Would really be great if you could
get this in that release.

Please give credit to Paul Pacheco - ppacheco@gmail.com.

18 years agoPatch from tito, acked by Bernhard Fischer.
Rob Landley [Mon, 20 Mar 2006 02:20:18 +0000 (02:20 -0000)]
Patch from tito, acked by Bernhard Fischer.

18 years agoUse lstat() instead of stat so /init being a symlink doesn't screw people up.
Rob Landley [Mon, 20 Mar 2006 01:43:29 +0000 (01:43 -0000)]
Use lstat() instead of stat so /init being a symlink doesn't screw people up.
(And use it consistently, for size reasons.)

18 years ago- tito writes: this patch fixes some comments in dos2unix that are wrong
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 23:05:37 +0000 (23:05 -0000)]
- tito writes: this patch fixes some comments in dos2unix that are wrong
  or that reports non existent features (that i've ripped out...)

18 years ago- explain what magic numbers we're using here.
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 23:02:45 +0000 (23:02 -0000)]
- explain what magic numbers we're using here.

18 years ago- whitespace cleanup (and also check against the const first and only then look
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 15:59:29 +0000 (15:59 -0000)]
- whitespace cleanup (and also check against the const first and only then look
  at bb_applet_name[1])

18 years ago- fix order of includes.
Bernhard Reutner-Fischer [Sat, 18 Mar 2006 11:59:55 +0000 (11:59 -0000)]
- fix order of includes.

18 years agodeclare const id argument const for probe_{ext2,ext3,cramfs}
Mike Frysinger [Sat, 18 Mar 2006 04:17:59 +0000 (04:17 -0000)]
declare const id argument const for probe_{ext2,ext3,cramfs}

18 years agoneed string.h as well as strings.h
Mike Frysinger [Sat, 18 Mar 2006 04:13:32 +0000 (04:13 -0000)]
need string.h as well as strings.h

18 years agoneed EXT2FS_OBJS for fsck
Mike Frysinger [Sat, 18 Mar 2006 04:11:51 +0000 (04:11 -0000)]
need EXT2FS_OBJS for fsck

18 years agoMake the new chroot environment creation infrastructure more flexible about
Rob Landley [Sat, 18 Mar 2006 03:01:57 +0000 (03:01 -0000)]
Make the new chroot environment creation infrastructure more flexible about
non-absolute paths.

18 years agoMy mount testsuite. Not automatically run at the moment, need to figure out
Rob Landley [Sat, 18 Mar 2006 03:00:22 +0000 (03:00 -0000)]
My mount testsuite.  Not automatically run at the moment, need to figure out
how to (optionally) supply User Mode Linux to runtests.

18 years agoMore fixes. Type "auto" should mean unspecified from fstab as well as the
Rob Landley [Sat, 18 Mar 2006 02:58:11 +0000 (02:58 -0000)]
More fixes.  Type "auto" should mean unspecified from fstab as well as the
command line, initialize singlemount's rc to an error value so it doesn't
think it succeeded when it didn't, use absolute path when associating a
loop device (and the previous FEATURE_CLEAN_UP logic related to that was
freeing the wrong thing), move reading of /proc/filesystems to where we can
re-read it (when it's empty) for every entry on a "mount -a" so that when
/proc is mounted as the first entry, the later filesystems can autodetect
filesystem type.

18 years agoWhitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so
Rob Landley [Sat, 18 Mar 2006 02:38:10 +0000 (02:38 -0000)]
Whitespace cleanup and minor tweak (return -ERRNO instead of ERRNO so
EPERM doesn't register as a successful read-only mount.

18 years agoBug fix: umount wasn't detaching loop devices unless mtab support was enabled.
Rob Landley [Fri, 17 Mar 2006 03:30:05 +0000 (03:30 -0000)]
Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.
Made some whitespace cleanups while I was there.