Waht is up with mount?

Randy Ramsdell rramsdel at comcast.net
Mon Jun 21 19:57:19 UTC 2004



Jeff Vian wrote:

>
>
> Randy Ramsdell wrote:
>
>> What is this all about?
>>
>> If I mount an ext3 filesystem like this:
>>
>> mount /dev/hdb1 /backup
>>
>> It mounts, but  "ls /backup"  produces : Literally !
>>
>> >??.@??  ??.???  ??.???  ??.???  ??.???  ??.??? ??.%^?  ??.%^?  
>> ???.???  ??.4^?  ??.4^?   ?a.?e?  ?a.?e?  ?m"      ?m".?m"
>> ???.???  ??.???  ??.???  ??.???  ??.???  ??.???  ??.%^?  ??.%^?  
>> ??.4^?  ??.4^?  ??.4^?   ?a.?e?  ?a.?e?  ?m"      ?m".?m"
>> ???.???  ??.???  ??.???  ??.???  ??.???  ??.???  ??.%^?  ??.%^?  
>> ??.4^?  ??.4^?  ??.4^?   ?a.?e?  ?a.?e?  ?m"      ?n"
>>
>>
>> If I mount like like this:
>>
>> mount -t ext3 /dev/hdb1 /backup
>>
>> "ls /backup" shows the actual files correctly.
>>
>> Since there isn't an entry in fstab for /backup, I am not sure why 
>> "mount" actually mounts the drive.
>>
>> Is this normal?
>>
> Yes,  it is normal for mount to work this way.  It tries to autodetect 
> the fs type and usually works with most filesystems.
>
> Which os version?  FC2?
>
> I don't understand why it does not autodetect the fs type.  Mine does 
> the autodetect flawlessly.   This seems to really be your problem.


I have several other drives and mount always gives a "wrong -fs " 
messages or something similar to taht when not specifying fs type.

Well, it turns out it was being mounted as vfat. I have no idea where 
that is coming from. Again, fstab is not set for this partition.

It is fixed or at least I know what the drive is being mounted as.
 
Thanks for the responses.

RCR





More information about the fedora-list mailing list