aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
AgeCommit message (Collapse)Author
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
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-09-05Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup ofRob Landley
his code introduced a bug (an extra backslash in the CIFS mount string).
2006-09-04Thinko.Rob Landley
2006-09-01Vladimir Dronnikov also submitted a CIFS support patch to mount, which IRob Landley
heavily reworked here and probably broke. Tomorrow I need to set up a copy of samba to test against. (This compiles, I make no promises beyond that.)
2006-08-09Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedRob Landley
subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should.
2006-08-08Fix a typo (|| instead of |) and remove two comments about a problem fixedRob Landley
in the previous patch.
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
2006-08-08Using lstat() instead of stat() means that attempting to loopback mountRob Landley
a symlink doesn't work.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
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.)
2006-06-21Patch from Paul Fox to improve mount's error handling behavior, which I beatRob Landley
on a bit.
2006-06-21Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimesRob Landley
produce an error, due to a missing rc assignment.
2006-06-15Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley
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.)
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-26- work around bug in gcc-3.4.x on ARMBernhard Reutner-Fischer