Shannon Roddy wrote:

>
>
> Dustin Puryear wrote:
>
>> At 05:45 PM 6/25/2003 -0700, you wrote:
>>
>>> I really hate to say RTFM, but the command MAN mount
>>> will give you the missing peice of the puzzle for your
>>> system. You have to tell the OS what sort of file
>>> system is on the HDD. Only fair bro, it can't guess.
>>
>>
>
> Actually mount does try to determine the file system type. I can often 
> mount file systems that are not in fstab or anything else just by 
> saying "mount device mountpoint".
>
> Shannon


In addition - I could tell you to read the man page! :-) direct from the 
man page:

If no -t option is given, or
if the auto type is specified, the superblock is probed for the
filesystem type (adfs, bfs, cramfs, ext, ext2, ext3, hfs, hpfs,
iso9660, jfs, minix, ntfs, qnx4, reiserfs, romfs, udf, ufs,
vxfs, xfs, xiafs are supported). If this probe fails, mount
will try to read the file /etc/filesystems, or, if that does not
exist, /proc/filesystems. All of the filesystem types listed
there will be tried, except for those that are labeled "nodev"
(e.g., devpts, proc and nfs). If /etc/filesystems ends in a
line with a single * only, mount will read /proc/filesystems
afterwards.
The auto type may be useful for user-mounted floppies. Creating
a file /etc/filesystems can be useful to change the probe order
(e.g., to try vfat before msdos) or if you use a kernel module
autoloader. Warning: the probing uses a heuristic (the presence
of appropriate magic), and could recognize the wrong filesys-
tem type, possibly with catastrophic consequences. If your data
is valuable, dont ask mount to guess.

Even though it has the note that it can guess wrong.... it works 99% of 
the time.

Shannon

>
>
>
>>
>> He said in the email that he did specify the filesystem type.
>>
>>
>> ---
>> Dustin Puryear <[EMAIL PROTECTED]>
>> Puryear Information Technology
>> Windows, UNIX, and IT Consulting
>> http://www.puryear-it.com
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://brlug.net/mailman/listinfo/general_brlug.net
>
>
>

-- 
Shannon Roddy
__________________________________________________________________
Systems Administrator           California Institute of Technology
[EMAIL PROTECTED]      LIGO Livingston Observatory
ph: (225)686-3106               19100 LIGO Lane
fx: (225)686-7189               Livingston, LA 70754
Web Page                        http://www.ligo-la.caltech.edu/~sroddy
Calendar/Schedule               See Home Page
Wireless Email (255 Chars)      [EMAIL PROTECTED]




Reply via email to