Jean-Baptiste Queru
34225919ab
Merge "Add -p support to mkdir"
2010-07-14 15:15:53 -07:00
Anthony Newnam
365a09e817
Add -R to chmod
...
Change-Id: I30f976598bd937f656a3ad3395349f09e695cfce
2010-07-14 13:30:11 -05:00
Anthony Newnam
b55de67985
Add -p support to mkdir
...
Change-Id: Ia0298ccc6b476d6bd6756471c05ef2a345312734
2010-07-14 13:29:42 -05:00
Kenny Root
45f7fde3c9
am 0b1ff6be: am eb42170e: Display file sizes larger than 2GB correctly
...
Merge commit '0b1ff6be08844c541e36fd735b41990453582ec1'
* commit '0b1ff6be08844c541e36fd735b41990453582ec1':
Display file sizes larger than 2GB correctly
2010-06-25 14:21:11 -07:00
Kenny Root
0b1ff6be08
am eb42170e: Display file sizes larger than 2GB correctly
...
Merge commit 'eb42170e6c8b70f11dca9965785aa04a80290c72' into gingerbread-plus-aosp
* commit 'eb42170e6c8b70f11dca9965785aa04a80290c72':
Display file sizes larger than 2GB correctly
2010-06-25 09:50:08 -07:00
Kenny Root
eb42170e6c
Display file sizes larger than 2GB correctly
...
File size was cast to a signed integer which displayed files over 2GB as
negative sizes on devices. Use a long long for printing instead which
matches the stat struct.
Change-Id: I0ec07f33716bb4c2e5d120633ed435f637238f46
2010-06-25 09:08:05 -07:00
Jean-Baptiste Queru
7570ab61d4
am f72961d0: merge from froyo-plus-aosp
2010-06-09 16:28:31 -07:00
Jean-Baptiste Queru
f72961d068
merge from froyo-plus-aosp
...
Change-Id: I82ec6dbd7c8c3b37b9505eaef351042f2ee53fb5
2010-06-09 16:26:32 -07:00
The Android Open Source Project
7c84efe083
merge from open-source master
...
Change-Id: I2f725ca20bf08748a4b3e81a4e98fbe08fcf1a47
2010-06-09 07:16:49 -07:00
David 'Digit' Turner
aa2106b008
toolbox-ls: sort file and directory lists
...
Sorts file and directory names properly in 'ls'
+ accept group flags (e.g. '-ld' instead of '-l -d')
+ accept flags in any position on the command line (e.g. 'ls foo -l' works)
Change-Id: Idc24a69ae31fe0c13726d39892357ac89a8830db
2010-06-04 10:44:56 -07:00
The Android Open Source Project
a92be64809
am 53a79a84: am 49337b27: merge from open-source master
2010-05-19 11:35:48 -07:00
The Android Open Source Project
53a79a841b
am 49337b27: merge from open-source master
...
Merge commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d' into kraken
* commit '49337b27d9a90d7c3f703f618e7c6bfaffc2a96d':
Fix "route add default dev <iface>" behaviour
2010-05-19 11:33:56 -07:00
The Android Open Source Project
49337b27d9
merge from open-source master
...
Change-Id: I77e33ce567b9682f51785cc574e37dc2cd15028f
2010-05-19 11:28:01 -07:00
Colin Cross
4e7dd3d270
mount: Add support for remounting without specifying device
...
Change-Id: I48c84fab3ab2a9704ec5b7bf7002b8960fa53c27
2010-05-07 12:09:19 -07:00
Daniel Baeyens
e898faddb3
Fix "route add default dev <iface>" behaviour
...
Previous behaviour was to set route's network mask as 255.255.255.255
Setting a destination network with netmask /32 blocks the connections
just to the specified host. 0.0.0.0/32 defines the exact IPv4 address
0.0.0.0 and not the whole IPv4 hosts range.
This patch allows traffic to any network, setting a 0.0.0.0/0 route.
Change-Id: I1665f2fac52526337bb2c48e3b09564d9da448e7
2010-04-21 01:51:18 +02:00
Viral Mehta
918fb893e8
fix insmod reading more than one module parameter
...
it seems wrong to put '/0' after reading one argument
if we are passing more than one module parameters, they are not being propogated
to the kernel properly.
Second module parameters onwards are simply being ignored by kernel
since insmod incorrectly put '/0' after reading first module parameter
Change-Id: I54283eb30a66a83d5c619ffb1fb174ccf5fdcaf7
2010-04-20 09:53:12 +05:30
Jean-Baptiste Queru
1ded19f455
fix build
...
Change-Id: I93714131dc9d18797009154e6e25dc6e122058c7
2010-04-12 14:15:23 -07:00
The Android Open Source Project
a8415325a8
am 1888de8e: merge from open-source master
...
Merge commit '1888de8e13f82f7af21bce267254fac124237afe' into kraken
* commit '1888de8e13f82f7af21bce267254fac124237afe':
toolbox: add "uptime" command
2010-04-12 13:28:12 -07:00
The Android Open Source Project
1888de8e13
merge from open-source master
...
Change-Id: Ife9c7a92ed7abd59b6b3612ba908bcae77055767
2010-04-12 13:23:51 -07:00
Mike Lockwood
5ffbf26ebf
toolbox: add "uptime" command
...
Prints elapsed real time since boot, as well as idle time and sleep time.
Change-Id: I97f482d6087e9f802d74e91147bf767e6b2d4f42
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-09 16:42:42 -04:00
Mike Lockwood
a699d6256f
toolbox: add "uptime" command
...
Prints elapsed real time since boot, as well as idle time and sleep time.
Change-Id: I97f482d6087e9f802d74e91147bf767e6b2d4f42
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-09 15:30:06 -04:00
Arve Hjønnevåg
b51cb880c0
Merge "toolbox: nandread: Add options to extract raw images, partial images, and fix bad block check."
2010-03-08 14:51:01 -08:00
Arve Hjønnevåg
b6b8793b8b
toolbox: nandread: Add options to extract raw images, partial images, and fix bad block check.
2010-03-03 16:48:38 -08:00
San Mehat
661aff600c
newfs_msdos: Allow -s option to work by itself
...
Signed-off-by: San Mehat <san@google.com>
2010-03-03 12:40:21 -08:00
San Mehat
10d469bff9
system: Add support for getting/setting i/o priorities and include a userspace tool
...
Signed-off-by: San Mehat <san@google.com>
2010-02-25 14:02:55 -08:00
Andrew Stadler
715c889713
Allow numeric uid & gid in chown
...
This makes it more like the POSIX version which accepts number or name.
2010-02-12 13:46:58 -08:00
Colin Cross
1b1fd61295
Remove definitions that are now in bionic libc
2010-01-14 12:47:12 -08:00
San Mehat
eab453c612
toolbox: newfs_msdos: Exit on write failure, and handle bogus geometry from the kernel
...
Signed-off-by: San Mehat <san@google.com>
2010-01-10 11:10:21 -08:00
San Mehat
ff3bcd0307
toolbox: newfs_msdos: If geometry is not available, use some sane-ish defaults
...
Signed-off-by: San Mehat <san@google.com>
2010-01-05 13:49:11 -08:00
San Mehat
0163f77a83
am 6dba735a: am 0d6f587f: am 39274417: toolbox: Add scheduling policy display to top/ps
...
Merge commit '6dba735a61d4b65594fa0ad7fd15ec09c3c42ce9'
* commit '6dba735a61d4b65594fa0ad7fd15ec09c3c42ce9':
toolbox: Add scheduling policy display to top/ps
2009-10-28 23:50:56 -07:00
San Mehat
392744175c
toolbox: Add scheduling policy display to top/ps
...
Signed-off-by: San Mehat <san@google.com>
2009-10-27 12:27:47 -07:00
Android (Google) Code Review
b44224d56d
Merge change Ic0e6195f
...
* changes:
toolbox: Add nandread command
2009-10-08 20:11:36 -04:00
Arve Hjønnevåg
7c953d04bc
toolbox: Add nandread command
...
Extracts a nand image from an mtd partition with page data followed by
64 bytes of extra data.
2009-10-01 17:40:33 -07:00
Andy McFadden
9feee025a0
Fix up ls -s.
...
Added the "total" line, which makes it easy to answer questions like,
"how the hell much space am I wasting on /data/dalvik-cache?".
Also fixed the -s filename output, which was showing mostly-full paths
when a simple filename was called for.
2009-09-27 15:13:56 -07:00
Andy McFadden
327e696808
Added -s flag to ls.
...
This may not be useful, and may actually be misleading since yaffs2
doesn't track the blocks used for each file (it just divides the length
down by 512). I'm submitting it because yaffs2 isn't the only
filesystem we'll ever use.
I also changed some sprintf to snprintf, mostly out of paranoid habit.
2009-08-18 11:10:03 -07:00
San Mehat
c3109591d4
resolved conflicts for merge of 72eead43
to master
2009-07-06 12:19:19 -07:00
San Mehat
72eead43c7
toolbox: mkdosfs: Imported new 'newfs_msdos' updated disk formatter
...
Signed-off-by: San Mehat <san@google.com>
2009-07-06 11:10:03 -07:00
Dima Zavin
2f0c41ec3c
am 383688b5: toolbox: Fix uninitalized stack variable in mount.
...
Merge commit '383688b52fb19b9c4d98bb1a660febc880d0e268'
* commit '383688b52fb19b9c4d98bb1a660febc880d0e268':
toolbox: Fix uninitalized stack variable in mount.
2009-07-01 11:18:15 -07:00
Android (Google) Code Review
53e6808c96
am 5e924468: Merge change 5662 into donut
...
Merge commit '5e924468cd80bfadd686515a5b4193594a2811eb'
* commit '5e924468cd80bfadd686515a5b4193594a2811eb':
toolbox: Revise route utility.
2009-07-01 00:07:13 -07:00
Dima Zavin
383688b52f
toolbox: Fix uninitalized stack variable in mount.
...
Signed-off-by: Dima Zavin <dima@android.com>
2009-06-29 15:53:22 -07:00
Chia-chi Yeh
4a1465feff
toolbox: Revise route utility.
...
Add copyright header.
Returns errno when something goes wrong. Otherwise returns 0.
When the route entry exists, treat it as a success.
2009-06-30 04:56:35 +08:00
San Mehat
a47c2fdd4a
am c83cd879: init: Fix heap corruption for services with arguments
...
Merge commit 'c83cd879d45e667fbb4763f18c908928ee9d67d8'
* commit 'c83cd879d45e667fbb4763f18c908928ee9d67d8':
init: Fix heap corruption for services with arguments
toolbox: ifconfig: Implement mtu setting, plus setting interface addr should
toolbox: route: Reflow some of the mess, fix route add parameter names to
2009-05-14 15:12:43 -07:00
San Mehat
54a1eb7677
toolbox: ifconfig: Implement mtu setting, plus setting interface addr should
...
implicitly 'up' the iface just like normal ifconfig does.
Also convert tabs -> spaces
2009-05-14 07:28:52 -07:00
San Mehat
83ec181dc7
toolbox: route: Reflow some of the mess, fix route add parameter names to
...
match standard route
Signed-off-by: San Mehat <san@google.com>
2009-05-14 07:28:45 -07:00
San Mehat
e00d31aeb1
am 0389a12: toolbox: Make that \'pointopoint\' instead of \'pointtopoint\'
...
Merge commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169'
* commit '0389a1297d65321a882ea0dcc69f4de4e3bcb169':
toolbox: Make that 'pointopoint' instead of 'pointtopoint'
2009-05-13 12:52:53 -07:00
San Mehat
4676aacd5e
am fa49e28: toolbox: Add \'pointopoint\' support to ifconfig
...
Merge commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d'
* commit 'fa49e2860bebe6bb2a26194c58992e5d5aed0b0d':
toolbox: Add 'pointopoint' support to ifconfig
2009-05-13 12:52:53 -07:00
San Mehat
0389a1297d
toolbox: Make that 'pointopoint' instead of 'pointtopoint'
...
Signed-off-by: San Mehat <san@google.com>
2009-05-13 12:01:52 -07:00
San Mehat
fa49e2860b
toolbox: Add 'pointopoint' support to ifconfig
...
Signed-off-by: San Mehat <san@google.com>
2009-05-13 10:05:06 -07:00
Jean-Baptiste Queru
f6c95712c4
Merge donut into master
2009-04-22 17:12:44 -07:00
Chung-yih Wang
41e3a2c5e8
Merge branch 'readonly-p4-master'
2009-04-18 16:17:34 -07:00
Chung-yih Wang
f309f77adc
AI 146558: am: CL 146260 Add the net-based routing entries.
...
e.g. route add net 172.16.0.0 mask 255.240.0.0 gw 172.19.248.10
Original author: cywang
Automated import of CL 146558
2009-04-18 16:16:21 -07:00
Chung-yih Wang
8b0fb371c1
Merge branch 'readonly-p4-donut' into donut
2009-04-14 18:46:50 -07:00
Chung-yih Wang
98c297f244
AI 146260: Add the net-based routing entries.
...
e.g. route add net 172.16.0.0 mask 255.240.0.0 gw 172.19.248.10
Automated import of CL 146260
2009-04-14 18:45:32 -07:00
Andy McFadden
33d50dc785
Merge branch 'readonly-p4-master'
2009-04-08 19:26:45 -07:00
Andy McFadden
b33d3415b6
AI 145220: Added "-d" flag to ls.
...
Now you can "ls -l -d <directory>" to see directory perms.
Automated import of CL 145220
2009-04-08 19:25:35 -07:00
Dianne Hackborn
477b430700
Improvements to get events: -p, better output.
...
Add new -p option to easily get the output showing which events are reported by the devices.
Improve the reported events output a bit by including a name for each event type.
Extend help text to include a description of each options, so I don't have to look in the source code next time. :)
2009-04-08 15:43:31 -07:00
The Android Open Source Project
455a6dffd4
Merge branch 'open_source' into google_internal
2009-03-29 08:55:26 -07:00
Doug Kwan
e49f9c9238
Automated import from //branches/master/...@142981,142981
2009-03-26 14:14:15 -07:00
Jean-Baptiste Queru
83b65486be
Merge commit 'remotes/korg/cupcake' into merge
...
Conflicts:
init/devices.c
libpixelflinger/Android.mk
2009-03-18 09:29:29 -07:00
The Android Open Source Project
dd7bc3319d
auto import from //depot/cupcake/@135843
2009-03-03 19:32:55 -08:00
The Android Open Source Project
e54eebbf1a
auto import from //depot/cupcake/@135843
2009-03-03 18:29:04 -08:00
The Android Open Source Project
a1e1c1b106
auto import from //depot/cupcake/@132589
2009-03-03 14:04:41 -08:00
The Android Open Source Project
c2d26a164f
auto import from //depot/cupcake/@137055
2009-03-02 22:54:47 -08:00
The Android Open Source Project
261ed7551e
auto import from //branches/cupcake/...@132276
2009-02-19 10:57:36 -08:00
The Android Open Source Project
13f797da7f
auto import from //branches/cupcake/...@130745
2009-02-10 15:44:07 -08:00
Jean-Baptiste Queru
77d0c65b95
Merge commit 'remotes/korg/cupcake'
...
Conflicts:
init/devices.c
logwrapper/logwrapper.c
mountd/AutoMount.c
2008-12-19 08:15:15 -08:00
The Android Open Source Project
35237d1358
Code drop from //branches/cupcake/...@124589
2008-12-17 18:08:08 -08:00
Jay Freeman (saurik)
bc7b0cbe15
Open file and loop device with O_RDONLY when -o loop,ro.
...
Otherwise: ioctl LOOP_SET_FD failed: Bad file number.
2008-11-16 13:28:23 +00:00
The Android Open Source Project
4f6e8d7a00
Initial Contribution
2008-10-21 07:00:00 -07:00