aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
AgeCommit message (Collapse)Author
2007-06-25Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko
<wharms@bfs.de>)
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-05-20mount: fix mounting of symlinks (mount from util-linux allows that)Denis Vlasenko
2007-05-09mount: fix incorrect usage of strtok (inadvertently used NULL sometimes).Denis Vlasenko
the change is "for(xxx)...." -> "if(var) for(xxx)...", but my gcc 4.1.2 adds _158 bytes_!! WTF?? 8(
2007-04-13style fixesDenis Vlasenko
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-08add some missed statics on constant objects.Denis Vlasenko
fix few #ifndef ENABLE_xxx # size busybox_old busybox_unstripped text data bss dec hex filename 677152 2920 18208 698280 aa7a8 busybox_old 676420 2920 18208 697548 aa4cc busybox_unstripped
2007-04-05[u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)Denis Vlasenko
2007-02-04mount: (try to) support cifs with IPv6Denis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #3Denis Vlasenko
2007-01-22dnsd: getfileentry was leaking memoryDenis Vlasenko
mount: improve readability
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-19u_short, ulong exterminatedDenis Vlasenko
fdiskXXX: add a bit of sanity (not enough by far)
2006-12-18mount: add getmntent_r stub for dietlibcDenis Vlasenko
2006-11-27Closing bug 1040:Denis Vlasenko
The "quiet" option is quietly (hah) ignored. It should be passed through to the mount() syscall in the comma separated list of options. I found the problem with the vfat/msdos filesystems, which uses a quiet option to override some complaints and errors.
2006-11-19mount: if FILE* is NULL, it's not wise to use it.Denis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-10-26mount: use switch (compare_string_array(..))Denis Vlasenko
where appropriate, saves >100 bytes.
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-16mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-12cut, mount: small improvementsDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-02mount: accept and ignore -s (sloppy) option.Denis Vlasenko
needed for compatibility with Linux automounter.
2006-09-29mount: fix bug 946 (mount -f should update mtab)Denis Vlasenko
2006-09-24mount: fix breakage from recent changes (spurious -ro mounts)Denis Vlasenko
2006-09-21mount: make Rob happy by reinstating #definesDenis Vlasenko
2006-09-19mount: fstabname needs to be const char*Denis Vlasenko
2006-09-19mount: fix warning (printf field width of * wants int, not size_t)Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-17mount: style fixletDenis Vlasenko
2006-09-17mount: revert mount --bind to using "bind" as fstype.Denis Vlasenko
2006-09-17mount: mount_it_now() - char *dir is not really needed.Denis Vlasenko
2006-09-17mount: fix "duplicate mount options in mtab" bugDenis Vlasenko
2006-09-17mount: nfs_strerror's static buffer was bigger than needed.Denis Vlasenko
2006-09-17mount: getopt_ulflag'ificationDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-17mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;Denis Vlasenko
check for "more than 2 arguments" was actually checking for -2.
2006-09-17mount: use bb_simplify_path as appropriateDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-15mount: reorder things, fix NFS-less mount.Denis Vlasenko
2006-09-14mount: -o remount should not add lines to /etc/mtabDenis Vlasenko
2006-09-14mount: move code from nfsmount.c into mount.cDenis Vlasenko
2006-09-14mount: fix mtab support (but it is still rather buggy)Denis Vlasenko
2006-09-11nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko
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.
2006-09-10nfsmount: nfsmount.h merged into nfsmount.cDenis Vlasenko