Mikkel L. Ellertson wrote:
Per Anton Rønning wrote:
> Mikkel L. Ellertson wrote:
>
>> Double check that you are accessing the correct device. USB drives
>> do not always get "assigned" the same device. (It might get assigned
>> /dev/sdd instead of /dev/sdc for example.) If you are interested in
>> the reasons for this, it should probably be a separate thread...
>>
>> Mikkel
>>
>>
> Oh yes, my processor is slow now. a df command shows this:
> [root@localhost trade]# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
> 718841144 8123212 674202912 2% /
> /dev/sda1 194442 44177 140226 24% /boot
> tmpfs 1943548 48 1943500 1% /dev/shm
> /dev/ram0 15863 728 15135 5% /mnt/rd
> /dev/sdf1 3985612 53992 3931620 2% /media/disk
>
> The JetFlash pen is assigned to sdf1. But do I have to assign it to sdc1
> for it to work??
> What consequences does this have?
>
> Brgds PAR
>
>
Nope - but you have to use /dev/sdf instead of /dev/sdc if you want
fdisk to tell you anything about the drive. This is why you were
getting the unable to open /dev/sdc error message from fdisk.
Mikkel
Of course!
And this is what now comes out of the woodwork:
fdisk /dev/sdf1 -l
Disk /dev/sdf1: 4089 MB, 4089428992 bytes
126 heads, 62 sectors/track, 1022 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes
Disk identifier: 0x69737369
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sdf1p1 ? 239347 260940 84344761 69 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(68, 13, 10) logical=(239346, 6, 42)
Partition 1 has different physical/logical endings:
phys=(288, 115, 43) logical=(260939, 87, 25)
Partition 1 does not end on cylinder boundary.
/dev/sdf1p2 ? 217809 457169 934940732+ 73 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(371, 114, 37) logical=(217808, 54, 38)
Partition 2 has different physical/logical endings:
phys=(366, 32, 33) logical=(457168, 73, 4)
Partition 2 does not end on cylinder boundary.
/dev/sdf1p3 ? 1 1 0 74 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(371, 114, 37) logical=(0, 41, 32)
Partition 3 has different physical/logical endings:
phys=(372, 97, 50) logical=(0, 41, 31)
Partition 3 does not end on cylinder boundary.
/dev/sdf1p4 369391 369398 26207+ 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(369390, 104, 25)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(369397, 67, 49)
Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
-----------------
This seems to be a mess. Is it mendable?
Brgds
PAR