Samsung Cell Phone Features 3GB Hard Drive
An anonymous reader writes "Samsung will be showing off a new cell phone which runs on Microsoft's Windows Mobile operating system which features a built-in hard drive. The SGH-I300 will offer 3GB of storage which allows you to store up to 1,000 songs on it for playback through the music player. The 3GB hard drive is similar to the type of hard drive that is found in Apple's Mini iPod. These 1-inch drives with very low power requirements, are ideal for cell phones and other mobile devices."
diff -Naur coreutils-5.2.0/src/df.c coreutils-5.2.0-ipod/src/df.c /* long form is obsolescent */ /* 4MB is one iPod song */ /* long form is obsolescent */
/* 4MB is one iPod song */ /* long form is obsolescent */
--- coreutils-5.2.0/src/df.c 2004-01-27 10:55:38.000000000 -0500
+++ coreutils-5.2.0-ipod/src/df.c 2004-08-26 06:04:57.360652050 -0400
@@ -125,6 +125,7 @@
{"block-size", required_argument, NULL, 'B'},
{"inodes", no_argument, NULL, 'i'},
{"human-readable", no_argument, NULL, 'h'},
+ {"ipod-standard", no_argument, NULL, 'p'},
{"si", no_argument, NULL, 'H'},
{"kilobytes", no_argument, NULL, 'k'},
{"local", no_argument, NULL, 'l'},
@@ -737,6 +738,8 @@
-a, --all include filesystems having 0 blocks\n\
-B, --block-size=SIZE use SIZE-byte blocks\n\
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\n\
+ --ipod-standard print sizes in approx. number of songs.\n
+ http://slashdot.org/comments.pl?sid=119376&cid=100 74498 \n\
-H, --si likewise, but use powers of 1000 not 1024\n\
"), stdout);
fputs (_("\
@@ -816,6 +819,9 @@
human_output_opts = human_autoscale | human_SI;
output_block_size = 1;
break;
+ case 'p':
+ output_block_size = (4*1024*1024);
+ break;
case 'k':
human_output_opts = 0;
output_block_size = 1024;
diff -Naur coreutils-5.2.0/src/du.c coreutils-5.2.0-ipod/src/du.c
--- coreutils-5.2.0/src/du.c 2004-01-21 17:27:02.000000000 -0500
+++ coreutils-5.2.0-ipod/src/du.c 2004-08-26 06:05:11.276316549 -0400
@@ -141,6 +141,7 @@
{"exclude", required_argument, 0, EXCLUDE_OPTION},
{"exclude-from", required_argument, 0, 'X'},
{"human-readable", no_argument, NULL, 'h'},
+ {"ipod-standard", no_argument, NULL, 'p'},
{"si", no_argument, 0, HUMAN_SI_OPTION},
{"kilobytes", no_argument, NULL, 'k'},
{"max-depth", required_argument, NULL, MAX_DEPTH_OPTION},
@@ -185,6 +186,8 @@
"), stdout);
fputs (_("\
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\n\
+ --ipod-standard print sizes in approx. number of songs.\n
+ http://slashdot.org/comments.pl?sid=119376&cid=100 74498 \n\
-H, --si likewise, but use powers of 1000 not 1024 (deprecated)\n\
-k like --block-size=1K\n\
-l, --count-links count sizes many times if hard linked\n\
@@ -609,6 +612,10 @@
output_block_size = 1;
break;
+ case 'p':
+ output_block_size = (4*1024*1024);
+ break;
+
case 'k':
human_output_opts = 0;
output_block_size = 1024;
diff -Naur coreutils-5.2.0/src/ls.c coreutils-5.2.0-ipod/src/ls.c
--- coreutils-5.2.0/src/ls.c 2004-02-01 14:31:00.000000000 -0500
+++ coreutils-5.2.0-ipod/src/ls.c 2004-08-26 06:05:17.217559146 -0400
@@ -687,6 +687,7 @@
{"dired", no_argument, 0, 'D'},
{"full-time", no_argument, 0, FULL_TIME_OPTION},
{"human-readable", no_argument, 0, 'h'},
+ {"ipod-standard", no_argument, 0, 'P'},
{"inode", no_argument, 0, 'i'},
{"kilobytes", no_argument, 0, 'k'},
{"numeric-uid-gid", no_argument, 0, 'n'},
@@ -1394,6 +1395,10 @@
file_output_block_size = output_block_size = 1;
break;
+ case 'P':
+ file_output_block_size = output_block_size = (4 * 1024 * 1024);
+ break;
+
case 'i':
print_inode = 1;
break;
@@ -3944,6 +3949,8 @@
-g like -l, but do not list owner\n\
-G, --no-group inhibit display of group information\n\
-h, --human-readable print sizes in human readable format (e.g., 1K 234M 2G)\n\
+ --ipod-standard print sizes in approx. number of songs.\n
+ http://slashdot.org/comments.pl?sid=119376&cid=100 74498 \n\
--si likewise, but use powers of 1000 not 1024\n\
-H, --dereference-command-l
Never trust anyone over 90000.