aboutsummaryrefslogtreecommitdiff
path: root/lib/getmountlist.c
AgeCommit message (Collapse)Author
2015-07-01Fix segfault with "mount -o ro,remount".Elliott Hughes
Or any call to comma_scan where 'opt' appears as the last item in 'optlist'.
2015-03-16Fix mount -a segfault without -O, reported by Janus Troelsen.Rob Landley
2015-03-16Rename a function to better describe what it does.Rob Landley
2014-09-28Brown paper bag time: comma_scan() didn't work for anything but the last entry.Rob Landley
2014-09-07Debugging pass on mount. Not quite done yet, but the basics seem to work now.Rob Landley
2014-08-24Work in progress snapshot of mount, with fallout to umount. (Not done yet.)Rob Landley
2014-05-29Switch mtab_list to doubly linked so we can traverse in either order. ↵Rob Landley
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction.
2014-05-27Add mount options to data getmountlist collects.Rob Landley
2013-08-30Allow getmountlist to read fstab too.Rob Landley
2013-05-14Silence warning and comment a subtle bit.Rob Landley
2013-05-10Convert getmountlist() to xgetmountlist().Rob Landley
2013-04-26Remove leaked global path_mounts.Rob Landley
2012-11-17Fix leak (call endmntent).Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-02-08Use stpcpy() (posix 2008) for slight code shrink.Rob Landley
2006-10-30Implement df. Add -Wall to build and fix up warnings. Add copyright notices.landley
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals.
2006-10-26Rest of thinko fix.landley
2006-10-26Thinko fix.landley
2006-10-18Next drop of toysh, plus more infratructure.landley
2006-10-05Infrastructure, first drop of toy shell, and a bit of work on df.landley