Memory stick address
kauer at biplane.com.au
Sat May 24 17:10:08 UTC 2008
On Sat, 2008-05-24 at 10:50 -0600, Karl Larsen wrote:
> I have 2 memory sticks now and if I plug in both you get this with df:
> /dev/sdf1 2014944 32 2014912 1% /media/KINGSTON
> /dev/sdg1 3940796 18508 3922288 1% /media/disk
Yes - those are the mountable partitions on the sticks. /dev/sdf is the
whole of the first stick, /dev/sdf1 is the first partition on that
stick. Similarly /dev/sdg is the whole of the second stick,
and /dev/sdf1 is the first partition on it.
To look at the partitioning of a device, you use the name of the device,
not the name of any particular partition on it. So for the first stick
above you would run "sudo fdisk /dev/sdf" to see and/or modify the
If you run fdisk on /dev/sdf1 (or any other partition), you will see
very strange things, as fdisk will try to interpret the data IN that
partition - whatever it happens to be - as a partition table.
Imagine opening a book to the first chapter and trying to interpret the
first page of the chapter as the table of contents. Doesn't work - you
have to read the first page of the *book*.
Linux is not "adding 1" to the names - they are different names for
different, though related, things.
Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/ +61-428-957160 (mob)
GPG fingerprint: DD23 0DF3 2260 3060 7FEC 5CA8 1AF6 D9E3 CFEE 6B28
Public key at : random.sks.keyserver.penguin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-users