[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What is filesystem panic?



Mikkel L. Ellertson wrote:
Per Anton Rønning wrote:
Mikkel L. Ellertson wrote:
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.

I thought I covered this on an earlier message - /dev/sdf is the
entire drive, and what fdisk needs to look at. /dev/sdf1 is a
partition, and does NOT have the partition table. This is what fdisk
is trying to tell you.

On a side note - you normally put the option first, and then the
device. In this case, it does not matter, but with some programs it
does.

Mikkel
Yes you're right, you made it clear, but I  made a mistake, sorry for that.

This is the result:
[root localhost par]# /sbin/fdisk -l /dev/sdf

Disk /dev/sdf: 4089 MB, 4089445376 bytes
33 heads, 63 sectors/track, 3841 cylinders
Units = cylinders of 2079 * 512 = 1064448 bytes
Disk identifier: 0x7ef87cc2

  Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1        3842     3993583    b  W95 FAT32

Brgds
PAR


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]