android_system_core/toolbox
Ken Sumrall 940c81078e Add -o loop= option to mount, and fix error detection in mount and umount
This fixes bug http://b.android.com/18419, which complains about a bogus
error check in the mount command (it also was wrong in the umount command)
and also asks for the mount command to support more than one loopback
device, as mentioned in the FIXME comments in mount.c.  This required some
corresponding changes to umount.c

Change-Id: Ib796c70926395e61557e487bad64984d3295d5f3
2011-07-13 14:37:41 -07:00
..
alarm.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
Android.mk add r to eng and userdebug builds 2011-04-28 14:23:26 -07:00
cat.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
chmod.c Add -R to chmod 2010-07-14 13:30:11 -05:00
chown.c Allow numeric uid & gid in chown 2010-02-12 13:46:58 -08:00
cmp.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
date.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
dd.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dd.h Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
df.c make df more readable 2010-09-11 18:19:35 -07:00
dmesg.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dynarray.c toolbox: make getprop print a sorted list of properties 2011-01-08 12:22:08 +01:00
dynarray.h toolbox: make getprop print a sorted list of properties 2011-01-08 12:22:08 +01:00
exists.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
getevent.c Enhance getevent to print event labels. 2011-06-15 17:44:52 -07:00
getevent.h Enhance getevent to print event labels. 2011-06-15 17:44:52 -07:00
getprop.c Fix getprop Format 2011-02-14 17:17:21 -08:00
hd.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
id.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ifconfig.c toolbox: ifconfig: Implement mtu setting, plus setting interface addr should 2009-05-14 07:28:52 -07:00
iftop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
insmod.c fix insmod reading more than one module parameter 2010-04-20 09:53:12 +05:30
ioctl.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
ionice.c system: Add support for getting/setting i/o priorities and include a userspace tool 2010-02-25 14:02:55 -08:00
kill.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ln.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
log.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ls.c toolbox: make getprop print a sorted list of properties 2011-01-08 12:22:08 +01:00
lsmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
lsof.c lsof: Add support for printing open files for a single process 2010-12-22 16:39:12 -05:00
lsusb.c toolbox: add verbose option for lsusb 2010-12-09 17:14:27 -08:00
mkdir.c Add -p support to mkdir 2010-07-14 13:29:42 -05:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mount.c Add -o loop= option to mount, and fix error detection in mount and umount 2011-07-13 14:37:41 -07:00
mv.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
nandread.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
netstat.c netstat should include /proc/net/tcp6 and /proc/net/udp6 data 2010-09-28 22:22:02 -07:00
newfs_msdos.c newfs_msdos: Allow -s option to work by itself 2010-03-03 12:40:21 -08:00
NOTICE Correct copyright header for uptime and NOTICE 2010-07-27 11:26:06 -07:00
notify.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
powerd.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
printenv.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ps.c ps: Add -c flag to show CPU number last executed on 2010-08-18 17:26:26 -07:00
r.c Accept address ranges in r 2011-01-19 17:23:40 -08:00
readtty.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
reboot.c Try to unmount writable filesystems when rebooting 2011-03-10 18:11:46 -08:00
renice.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rm.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rmdir.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rmmod.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
rotatefb.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
route.c Userland support for VM interconnection 2010-07-15 13:19:37 +02:00
schedtop.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
sendevent.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
setconsole.c Add missing headers for compilation on x86 targets 2010-11-17 11:47:23 -08:00
setkey.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
setprop.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sleep.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
smd.c Automated import from //branches/master/...@142981,142981 2009-03-26 14:14:15 -07:00
start.c Restart surfaceflinger with stop/start too. 2011-03-07 10:39:17 -08:00
stop.c Restart surfaceflinger with stop/start too. 2011-03-07 10:39:17 -08:00
sync.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
syren.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
toolbox.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
top.c toolbox: top: Add processor field 2010-08-30 16:39:14 -07:00
touch.c Add the touch command to toolbox. 2011-04-05 20:50:03 -07:00
umount.c Add -o loop= option to mount, and fix error detection in mount and umount 2011-07-13 14:37:41 -07:00
uptime.c uptime: Use clock_gettime to get monotonic time 2011-01-05 15:22:09 -08:00
vmstat.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
watchprops.c auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
wipe.c Try to unmount writable filesystems when rebooting 2011-03-10 18:11:46 -08:00