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

Re: problem with /pen



"Roberto C. Sanchez" <roberto@familiasanchez.net> writes:

> On Wed, Jun 29, 2005 at 03:45:31PM +0200, roberto wrote:
>> 
>> --- "Roberto C. Sanchez" <roberto@familiasanchez.net> ha scritto: 
>> 
>> > > i encounter the following problem when i try to mount my usb pen on debian sarge, kernel 2.6.8
>> > > 
>> > > ~:$ mount /pen
>> > > mount: special device /mnt/sda1 does not exist
>> > 
>> > and what is the output of 'fdisk -l /dev/sda'?
>> here's the other one
>> 
>> ~# fdisk -l /dev/sda
>> 
>> Disk /dev/sda: 128 MB, 128974848 bytes
>> 8 heads, 32 sectors/track, 984 cylinders
>> Units = cylinders of 256 * 512 = 131072 bytes
>> 
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1   *           1         979      125296    6  FAT16
>
> That is quite strange.

Most likely, the partition table of the pen is read when the device is
*accessed* for the first time (by the 'fdisk' command), at which point
/dev/sda1 gets created.

The solution is to access the device first (e.g. by typing 'fdisk -l
/dev/sda' and then mount /dev/sda1.

Martin



Reply to: