summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
AgeCommit message (Collapse)Author
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
2006-05-08Fiddling with llist to make memory management easier. Specifically, theRob Landley
option to delete the contents of the list when we delete the list is a good thing.
2006-05-05Patch from Jason Schoon to make mount -a not abort on the first failure.Rob Landley
2006-04-05Kumar spotted another bug: if we autodetect nfs and they haven't specified theRob Landley
fstype, it should be set to nfs.
2006-04-04You'd think there'd be a compiler warning for "pointless if", wouldn't you?Rob Landley
2006-04-01Bug spotted by Kumar Gala. Hopefully this fixes it...Rob Landley
2006-03-29Kumar Gala tracked down a problem with NFS mounting. This is a different fixRob Landley
from his, but to the same problem.
2006-03-28Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocateRob Landley
it.
2006-03-20whitespace cleanupEric Andersen
2006-03-20Fix some obvious compile problems. Make the -f' fakeIt option actually work.Eric Andersen
2006-03-18More fixes. Type "auto" should mean unspecified from fstab as well as theRob Landley
command line, initialize singlemount's rc to an error value so it doesn't think it succeeded when it didn't, use absolute path when associating a loop device (and the previous FEATURE_CLEAN_UP logic related to that was freeing the wrong thing), move reading of /proc/filesystems to where we can re-read it (when it's empty) for every entry on a "mount -a" so that when /proc is mounted as the first entry, the later filesystems can autodetect filesystem type.
2006-03-14The new, new mount rewrite. (Mount double prime?) Still being debugged, butRob Landley
the new infrastructure is reentrant so in theory it's capable of handling mount -a sanely. It can also re-use existing flags with remount, handle -t auto, mount -a -t, and several smaller bugfixes.
2006-01-25just whitespaceTim Riker
2006-01-10With -a, the jump to mount_it_now can skip the initialization of f, andRob Landley
if we don't zero it after closing it we re-close a filehandle that isn't open, and since this is a file _pointer_ it segfaults on a double free. Yeah, subtle bug. I need to break this out into separate functions if I can figure out how to avoid making the code larger while doing so. Part of the general -a and -o remount work I need to do, but that's after 1.1.0...
2006-01-10Both atime and diratime should switch _off_ the corresponding no* flag.Rob Landley
2005-12-20Some minor cleanups/bugfixes split off from the big remount work:Rob Landley
Shorten GPL boilerplate. Enabling FEATURE_CLEAN_UP broke things in two places. Move the NFS with uClibc check to nfsmount.c
2005-12-12- typo: s/sucess/success/gBernhard Reutner-Fischer
What's up with loginutils/su.c line 42: "SYSLOG_SUCESS" ? Please have a look..
2005-10-08Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig canRob Landley
find it (and tweak defconfig to catch up).