aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* rename: compare_string_array -> index_in_str_arrayDenis Vlasenko2006-11-051-3/+3
| | | | | introduce index_in_substr_array and use it in iproute2
* mount: use switch (compare_string_array(..))Denis Vlasenko2006-10-261-36/+105
| | | | where appropriate, saves >100 bytes.
* use skip_whitespace where appropriateDenis Vlasenko2006-10-251-2/+1
|
* mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko2006-10-161-22/+58
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-1/+1
| | | | Renaming...
* cut, mount: small improvementsDenis Vlasenko2006-10-121-10/+13
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-1/+1
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-2/+2
| | | | | | | | 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.
* mount: accept and ignore -s (sloppy) option.Denis Vlasenko2006-10-021-11/+11
| | | | needed for compatibility with Linux automounter.
* mount: fix bug 946 (mount -f should update mtab)Denis Vlasenko2006-09-291-6/+6
|
* mount: fix breakage from recent changes (spurious -ro mounts)Denis Vlasenko2006-09-241-19/+11
|
* mount: make Rob happy by reinstating #definesDenis Vlasenko2006-09-211-4/+2
|
* mount: fstabname needs to be const char*Denis Vlasenko2006-09-191-2/+3
|
* mount: fix warning (printf field width of * wants int, not size_t)Denis Vlasenko2006-09-191-1/+1
|
* whitespace cleanupDenis Vlasenko2006-09-171-3/+3
|
* mount: style fixletDenis Vlasenko2006-09-171-2/+4
|
* mount: revert mount --bind to using "bind" as fstype.Denis Vlasenko2006-09-171-1/+1
|
* mount: mount_it_now() - char *dir is not really needed.Denis Vlasenko2006-09-171-3/+3
|
* mount: fix "duplicate mount options in mtab" bugDenis Vlasenko2006-09-171-3/+21
|
* mount: nfs_strerror's static buffer was bigger than needed.Denis Vlasenko2006-09-171-1/+1
|
* mount: getopt_ulflag'ificationDenis Vlasenko2006-09-171-38/+24
|
* mount: style fixesDenis Vlasenko2006-09-171-34/+34
|
* mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;Denis Vlasenko2006-09-171-17/+20
| | | | check for "more than 2 arguments" was actually checking for -2.
* mount: use bb_simplify_path as appropriateDenis Vlasenko2006-09-171-21/+13
|
* mount: style fixesDenis Vlasenko2006-09-171-21/+24
|
* mount: reorder things, fix NFS-less mount.Denis Vlasenko2006-09-151-380/+360
|
* mount: -o remount should not add lines to /etc/mtabDenis Vlasenko2006-09-141-1/+1
|
* mount: move code from nfsmount.c into mount.cDenis Vlasenko2006-09-141-5/+1018
|
* mount: fix mtab support (but it is still rather buggy)Denis Vlasenko2006-09-141-13/+27
|
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko2006-09-111-14/+14
| | | | | | | | | 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: nfsmount.h merged into nfsmount.cDenis Vlasenko2006-09-101-8/+9
|
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-061-1/+1
| | | | | automatically by function itself.
* Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup ofRob Landley2006-09-051-3/+3
| | | | his code introduced a bug (an extra backslash in the CIFS mount string).
* Thinko.Rob Landley2006-09-041-3/+1
|
* Vladimir Dronnikov also submitted a CIFS support patch to mount, which IRob Landley2006-09-011-8/+49
| | | | | 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.)
* Vladimir Dronnikov convinced me to twiddle the semantics of the new sharedRob Landley2006-08-091-5/+14
| | | | | subtree stuff to look more like http://lwn.net/Articles/159077/ thinks they should.
* Fix a typo (|| instead of |) and remove two comments about a problem fixedRob Landley2006-08-081-3/+2
| | | | in the previous patch.
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley2006-08-081-50/+57
| | | | | | 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...
* Using lstat() instead of stat() means that attempting to loopback mountRob Landley2006-08-081-1/+1
| | | | a symlink doesn't work.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-11/+5
| | | | | | | | | | 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.)
* Patch from Paul Fox to improve mount's error handling behavior, which I beatRob Landley2006-06-211-21/+16
| | | | on a bit.
* Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimesRob Landley2006-06-211-1/+2
| | | | produce an error, due to a missing rc assignment.
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-151-6/+2
| | | | | | 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.)
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* - work around bug in gcc-3.4.x on ARMBernhard Reutner-Fischer2006-05-261-1/+1
|
* Fiddling with llist to make memory management easier. Specifically, theRob Landley2006-05-081-1/+1
| | | | | option to delete the contents of the list when we delete the list is a good thing.
* Patch from Jason Schoon to make mount -a not abort on the first failure.Rob Landley2006-05-051-4/+6
|
* Kumar spotted another bug: if we autodetect nfs and they haven't specified theRob Landley2006-04-051-0/+1
| | | | fstype, it should be set to nfs.
* You'd think there'd be a compiler warning for "pointless if", wouldn't you?Rob Landley2006-04-041-3/+3
|