aboutsummaryrefslogtreecommitdiff
path: root/miscutils/eject.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-031-1/+2
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use more boiler plate GPL noticesvapier2006-04-161-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more security: don't start shell code from argvvodz2006-02-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cosmetic cleanup from tito.landley2006-02-281-21/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunklandley2005-08-101-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - * git-svn-id: svn://busybox.net/trunk/busybox@11099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito pointed out I'd broken -t (argv[optind] can't be before getulflags),landley2005-05-151-17/+13
| | | | | | | and replaced the use of system() (and resulting security implications). git-svn-id: svn://busybox.net/trunk/busybox@10333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add automatic umount support to eject command. Patch from Tito,landley2005-05-141-20/+23
| | | | | | | | | | | with tweaks from Mike Frysinger and Rob Landley. Note: this will still fail to umount a path that contains an ' or \ character. Is it worth the extra size to filter for that? git-svn-id: svn://busybox.net/trunk/busybox@10325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import eject by Peter Willis / Tito Ragusavapier2005-05-111-0/+64
git-svn-id: svn://busybox.net/trunk/busybox@10288 69ca8d6d-28ef-0310-b511-8ec308f3f277