Vicky Staubly wrote:
Alas, typing a filename (or directory name) is hard on the command
line. What you want is:
ls -la "/media/My Book"
(The quotes around it mark it as a single filename. You could instead
put a backslash in front of the space.)
OK, ls -la "/media/My Book" gives me the following:
[EMAIL PROTECTED]:~$ ls -la "/media/My Book"
total 18212
drwx------ 12 kelly root 32768 1969-12-31 19:00 .
drwxr-xr-x 6 root root 4096 2008-09-12 21:46 ..
-r-x------ 1 kelly root 60739 2004-03-11 00:03 APPT.ADB
drwx------ 2 kelly root 32768 2008-03-15 06:57 autorun
-r-x------ 1 kelly root 69 2007-05-18 10:37 autorun.inf
-rwx------ 1 kelly root 22150 2004-03-11 15:26 PHONE.PDB
drwx------ 3 kelly root 32768 2008-09-11 16:56 Recycled
-rwx------ 1 kelly root 212992 2007-06-26 12:02 Setup.exe
-rwx------ 1 kelly root 29696 2008-06-02 20:15
Slow-pitch_MAIN_DRAFT_060108.doc
drwx------ 3 kelly root 32768 2008-05-31 13:30 System Volume Information
drwx------ 3 kelly root 32768 2008-03-15 06:57 wd_mac_tools
drwx------ 9 kelly root 32768 2008-03-15 06:57 wd_windows_tools
drwx------ 9 kelly root 32768 2008-09-11 15:04 Win Apps F
drwx------ 6 kelly root 32768 2008-09-11 16:39 Win C
drwx------ 20 kelly root 32768 2008-09-11 14:59 Win Data G
drwx------ 3 kelly root 32768 2008-09-11 16:28 Win Share D
drwx------ 36 kelly root 32768 2008-09-11 15:21 Win Share E
-rwx------ 1 kelly root 17889928 2004-08-11 21:47
wpc54gs_driver_utility_v1.0.zip
[EMAIL PROTECTED]:~$
This is pretty much what I've been seeing: the five Win folders plus a
stray .doc file. The rest of the files & folders were on the drive when
I got it.
Also, "df -h" gives you more readable output, for example, a 160GB
external drive shows up as below. You can instead use "df -H" to get
the multiples-of-1000 sizes that drive manufacturers use. For example:
bugz(502)% df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 18G 6.7G 10G 40% /
/dev/shm 125M 0 125M 0% /dev/shm
/dev/sda1 150G 33G 117G 22% /media/WD_USB_2
bugz(503)% df -H
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 19G 7.2G 11G 40% /
/dev/shm 131M 0 131M 0% /dev/shm
/dev/sda1 161G 35G 126G 22% /media/WD_USB_2
Running df -h gives me the following:
[EMAIL PROTECTED]:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb3 70G 2.8G 64G 5% /
varrun 760M 112K 760M 1% /var/run
varlock 760M 0 760M 0% /var/lock
udev 760M 92K 760M 1% /dev
devshm 760M 12K 760M 1% /dev/shm
/dev/sdd1 466G 8.9G 457G 2% /media/My Book
/dev/sda5 19G 1.5G 18G 9% /media/SHARE FAT32
tmpfs 760M 39M 721M 6%
/lib/modules/2.6.24-19-generic/volatile
[EMAIL PROTECTED]:~$
Anyway, the question Fred and others were asking about is whether
the 9GB that df says is used... is that accounted for by just the
files you copied from Windows?
Yes, the stuff that I copied from Windows comes to about 9 GB.
Just copying (or even using the Windows "Send" menu item) files to a
drive shouldn't have erased any existing files on the drive.
That's what I thought and why this is all so puzzling. It is strange
that the total capacity of the external drive is variously 500.1 GB, 488
GB, and now 466 GB. Even considering the two methods of counting (i.e.
1024 vs. 1000) couldn't alone account for so much of a difference.
Thanks for your help. Kelly
*************************************************************************
** List info, subscription management, list rules, archives, privacy **
** policy, calmness, a member map, and more at http://www.cguys.org/ **
*************************************************************************