aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nfsmount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mount: move code from nfsmount.c into mount.cDenis Vlasenko2006-09-141-1022/+0
|
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko2006-09-111-173/+207
| | | | | | | | | option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
* nfsmount: remove some really old code (for kernels 1.x!) + small cleanups.Denis Vlasenko2006-09-101-60/+63
|
* nfsmount: nfsmount.h merged into nfsmount.cDenis Vlasenko2006-09-101-159/+249
|
* nfsmount: style fixDenis Vlasenko2006-09-101-104/+103
|
* A quick cleanup pass of some low-hanging mess.Rob Landley2006-09-081-115/+26
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-7/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Make some 64 bit warnings go away on x86-64.Rob Landley2006-06-191-10/+2
|
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-151-19/+1
| | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
* Remove _().Rob Landley2006-05-291-14/+12
|
* fix spelling mistakesMike Frysinger2006-05-261-2/+2
|
* - single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer2006-05-191-7/+6
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* Robert Eggers noticed that nfsmount would sometimes incorrectly return success.Rob Landley2006-04-171-6/+2
|
* Robert P Day removed some commented out code.Rob Landley2006-03-261-14/+0
|
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-29/+35
| | | | the busybox binary) into enums (which don't).
* - put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer2006-02-231-3/+1
| | | | | | | | Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
* just whitespaceTim Riker2006-01-251-5/+5
|
* Some minor cleanups/bugfixes split off from the big remount work:Rob Landley2005-12-201-0/+6
| | | | | | | Shorten GPL boilerplate. Enabling FEATURE_CLEAN_UP broke things in two places. Move the NFS with uClibc check to nfsmount.c
* another more const"Vladimir N. Oleynik"2005-10-201-1/+1
|
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley2005-08-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
* YAEGASHI Takeshi writes:Eric Andersen2004-07-261-3/+5
| | | | | | | | | | | | | | Hi, With the following /etc/fstab (any two or more lines of nfs), mount -a -t nfs causes a segmentation faults. server:/exports/aaa /mnt/aaa nfs defaults 0 0 server:/exprots/bbb /mnt/bbb nfs defaults 0 0 In util-linux/nfsmount.c, it overwrites malloc'ed pointer *mount_opts with a static pointer. With this patch it does proper memory realloc and data copy instead.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-6/+6
|
* Fixup use of 'u_int' to instead use 'unsigned int'Eric Andersen2004-01-301-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-15/+15
|
* Eliminate dependancy on kernel header files. Naughty naughty.Eric Andersen2002-12-111-1/+48
| | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik
* Rename dirname variable to pathname to eliminate namespace conflict.Matt Kraai2001-07-261-7/+7
|
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-2/+2
|
* Clean up more local vars which shadow globalsEric Andersen2001-03-211-5/+5
| | | | -Erik
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-4/+4
| | | | cleans up most of the now-revealed problems.
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-1/+1
| | | | namespace polluting things that really should be static.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-8/+8
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* Remove leftover junkEric Andersen2001-02-181-1/+0
|
* Fix warning for implicit declaration of time()Glenn L McGrath2001-02-161-1/+2
|
* Applied patch from Chris Jaeger <cjaeger@ensim.com> to do better checking forMark Whitley2001-02-011-8/+11
| | | | NFS_MOUNT_VERSION, depending on which kernel you're running.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-12/+12
|
* Applied patch from Larry Doolittle to use preprocessor for definingMark Whitley2001-01-301-1/+3
| | | | NFS_MOUNT_VERSION.
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-30/+31
|
* Be more careful about dmalloc handlingEric Andersen2001-01-021-2/+0
|
* NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with ↵Glenn L McGrath2000-12-091-0/+6
| | | | | | libc6-2.2-5 This just defines that if they arent found in the kernel header
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-12/+12
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Fix uname problem that was breaking poweroff.Eric Andersen2000-10-301-16/+2
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* A couple of minor warning cleanups.Eric Andersen2000-07-141-0/+3
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-22/+12
|
* Fixed NFS so it supports 2.4.x kernels and NFSv3. Should close bug #1009.Eric Andersen2000-07-101-744/+443
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-476/+457
| | | | -Erik
* StuffEric Andersen1999-11-181-0/+1309