| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
instead use off_t which will be automagically promoted to 64bit if
compiled with support for large drives.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@8932 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Yes, I know busybox is in feature freeze. If this two-liner is too much
that's fine, but it's handy.
This patch allows busybox mount to support "-o move" just like it
supports "-o bind", which is the equivalent of util-linux "mount --move".
Usage is:
mount -o move /mnt/point/1 /mnt/point/2
where /mnt/point/1 is an already mounted filesystem; it will be moved to
/mnt/point/2.
git-svn-id: svn://busybox.net/trunk/busybox@8881 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
transparently remap 32-bit interfaces to actually use 64 bit interfaces.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@8877 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8876 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8864 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/fdisk.c?r1=1.22&r2=1.23&diff_format=u
Its hack for "force" ;-)
If to return the previous version of a Config.in
http://busybox.net/cgi-bin/cvsweb/busybox/util-linux/Config.in?r1=1.12&r2=1.13
and to apply last patch, then I shall calm down. ;-)
(OOPS, last patch have autocorrected from my editor begins spaces to tabs and
removed spaces from empty lines too).
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@8863 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
possible, even if LFS is not enabled for the rest of busybox.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@8859 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a bulk spelling fix patch against busybox-1.00-pre10.
If anyone gets a corrupted copy (and cares), let me know and
I will make alternate arrangements.
Erik - please apply.
Authors - please check that I didn't corrupt any meaning.
Package importers - see if any of these changes should be
passed to the upstream authors.
I glossed over lots of sloppy capitalizations, missing apostrophes,
mixed American/British spellings, and German-style compound words.
What is "pretect redefined for test" in cmdedit.c?
Good luck on the 1.00 release!
- Larry
git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8733 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8681 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8672 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
etc was also redundant and possibly buggy...
git-svn-id: svn://busybox.net/trunk/busybox@8671 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
as it is redundant....
git-svn-id: svn://busybox.net/trunk/busybox@8670 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
automatically promote lseek and friends to their 64 bit counterparts
when CONFIG_LFS is enabled, since it enables __USE_FILE_OFFSET64
git-svn-id: svn://busybox.net/trunk/busybox@8669 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
s/fileno\(stdout\)/STDOUT_FILENO/g
git-svn-id: svn://busybox.net/trunk/busybox@8663 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ok. Last patch reduce 73 bytes for compensate (and over) your changes ;-)
Comments:
Added cin_fileno variable, auto setted to 0 from BSS and have "eq" stdin
descriptor if isatty(stout)==0, removed global variable FILE* cin.
Removed default setting to terminal_width/terminal_height, this used
only from main() and setted after call get_terminal_width_height()
always correct.
Variable please_display_more_prompt changed to bits logic, have size
reducing.
--w
vodz
git-svn-id: svn://busybox.net/trunk/busybox@8662 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've noticed a bug in the "autowidth" feature more, and is probably in
others. The call to the function get_terminal_width_height() passes
in a file descriptor but that file descriptor is never used, instead
the ioctl() is called with 0. In more_main() the call to
get_terminal_width_height() passes 0 as the file descriptor instead of
fileno(cin). This isn't a problem when you more a file (e.g. "more
/etc/passwd") but when you pipe a file to it (e.g. "cat /etc/passwd |
more") the size of the terminal cannot be determined because file
descriptor 0 is not a terminal. The fix is simple, I've attached a
patch for more.c and get_terminal_width_height.c.
BAPper
git-svn-id: svn://busybox.net/trunk/busybox@8656 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
- Make -u/-l mutually exclusive
- Minor size reduction
git-svn-id: svn://busybox.net/trunk/busybox@8655 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
parameters.
git-svn-id: svn://busybox.net/trunk/busybox@8654 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8611 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
unmounted at once.
git-svn-id: svn://busybox.net/trunk/busybox@8546 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8542 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
config file, so it should be in /etc, FHS mentions it also.
git-svn-id: svn://busybox.net/trunk/busybox@8541 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
Prevent potentially misaligned accesses while indexing a pointer
to the partition table, which would be a bad thing on i.e. arm.
git-svn-id: svn://busybox.net/trunk/busybox@8415 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8377 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8376 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8374 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8315 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
bb_lookup_port now takes 3 parameters but rdate has not been modified
accordingly and fails to compile in the current CVS version.
The modification below fixes the problem.
Now, RFC868 allows both UDP and TCP implementations of the time protocol
so this may not work if someone defines a udp time service other than 37
but who would do that?
git-svn-id: svn://busybox.net/trunk/busybox@8314 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8170 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
| |
function as there is no gracefull way of handling failures.
Rename bb_getport to bb_lookup_port, allow a default port to be
specified so it always returns a correct value.
Modify ftpgetput/rdate/wget to use the new interface.
wget/rdate now use etc/services with a falback default value.
git-svn-id: svn://busybox.net/trunk/busybox@8140 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
| |
* The "rdate.patch" file makes rdate to NOT settimeofday if the date to be
set equals current date. This prevents the system from experiencing nasty time
discontinuities caused by sub-second changes, with a protocol that has only
over second resolution. Depending on your taste, the "fprintf(stderr..." may be
removed.
git-svn-id: svn://busybox.net/trunk/busybox@8127 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
or the syscall will not get the proper arguments.
git-svn-id: svn://busybox.net/trunk/busybox@8120 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
BLKGETSIZE64 ioctl -- don't just assume 8,
git-svn-id: svn://busybox.net/trunk/busybox@8083 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
| |
it will properly fall back to /proc/mounts when /etc/filesystems
is missing, allowing mount to guess the correct fs type when a
fs type is not explicitly specified.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@8082 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
Fix a bug noticed by Pete Flugstad. Make certain we close what we open, and
don't try to close invalid files when /etc/filesystems exists and is used.
git-svn-id: svn://busybox.net/trunk/busybox@8061 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@8047 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
Here's a fix for the hard-coded device name in fbset.
git-svn-id: svn://busybox.net/trunk/busybox@7906 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7900 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
I have checked rdate. Someone should also check ftpget/ftpput to
be sure they still work.
git-svn-id: svn://busybox.net/trunk/busybox@7765 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
| |
_IOR rather differently, thereby breaking the BLKGETSIZE64
ioctl.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7756 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in order to fix the problems with round robin DNS reported
by Andrew Flegg:
http://busybox.net/lists/busybox/2003-October/009579.html
This removes the ipv6 specific xconnect dns lookups. I do
not see why that would need to be special cased for ipv6 as
was done, but that will just have to be tested.
So IPV6 people -- please test this change!
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7735 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
| |
version is specified and the kernel is relatively new.
git-svn-id: svn://busybox.net/trunk/busybox@7731 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
the busybox menuconfig triggered my "inacceptable number of spelling mistakes"
upper level, so I decided to make a patch ;-)
I also improved some wording to describe some things in a better way.
Many thanks for an incredible piece of software!
Andreas Mohr, random OSS developer
git-svn-id: svn://busybox.net/trunk/busybox@7692 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7625 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
|
|
|
|
| |
to ensure proper fallback behavior on, i.e. serial consoles.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7526 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7525 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7524 69ca8d6d-28ef-0310-b511-8ec308f3f277
|
| |
|
|
| |
git-svn-id: svn://busybox.net/trunk/busybox@7491 69ca8d6d-28ef-0310-b511-8ec308f3f277
|