[clug] Getting rid of a drives [was partitions] on a USB drive
jhock
jhock at iinet.net.au
Sat Apr 16 00:00:56 MDT 2011
On Sat, 2011-04-16 at 15:45 +1000, Owen wrote:
> > Hi Owen et al,
> >
> > I have tried the fdisk -l etc. on the USB memory stick but I still
> > have
> > the same problem. The problem is not multiple partitions but two
> > drives
> > that do not tally up to the 2GB that the memory stick use to have.
> >
> > If I do an fdisk -l I get the following:
> >
> > Disk /dev/sdc: 497 MB, 497549312 bytes
> > Disk /dev/sdd: 1 MB, 1474560 bytes
> >
> > on the one memory stick. These do not add up to the 2GB that I use to
> > have.
> >
> > Can you or someone tell me how to get get the USB memory stick to show
> > only one device with the full 2GB of memory I use to have?
>
>
>
> Hi,
>
> Bit hard without the device plugged in to try various things.
>
> presumably df gives the same answer
>
> That output doesn't look correct, it should give a lot more info
>
> Can you post the full output of fdisk -l?
>
>
Sure. here is the output for the USB memeory stick:
Device Boot Start End Blocks Id System
Disk /dev/sdc: 497 MB, 497549312 bytes
16 heads, 60 sectors/track, 1012 cylinders
Units = cylinders of 960 * 512 = 491520 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d50cc
Device Boot Start End Blocks Id System
Disk /dev/sdd: 1 MB, 1474560 bytes
1 heads, 3 sectors/track, 960 cylinders
Units = cylinders of 3 * 512 = 1536 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x69737369
Device Boot Start End Blocks Id System
df gives:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 150902080 118238868 24997800 83% /
none 501776 304 501472 1% /dev
none 508548 112 508436 1% /dev/shm
none 508548 116 508432 1% /var/run
none 508548 0 508548 0% /var/lock
none 508548 0 508548 0% /lib/init/rw
/dev/sdd 1424 0 1424 0% /media/BA21-890E
Thanks.
John
>
>
>
> Owen
>
More information about the linux
mailing list