LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2005, 06:48 AM   #1
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Rep: Reputation: 15
I shouldn't have to specify the filesystem if 'auto' is set in fstab?


Debian 'Sarge' with 2.6.8-2-k7 kernel

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda5       none            swap    sw              0       0
/dev/hda7       /backup         auto    defaults
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/sda        /media/usb0     auto    rw,user,noauto  0       0
/dev/fd0        /fd0            auto    rw,user,noauto  0       0
I've noticed this on my workstation, which didn't happened on my server when mounting a device. I have the floppy and second partition set to 'auto' for filesystem.

I've always used this command mount /fd0 on my server, but using it on my workstation kept bringing up the message saying that I must specify the filesystem. I shouldn't have to, right?

My /backup partition won't come on automatically and it is Fat32. All my USBs come on automatically.

Last edited by ExCIA; 05-19-2005 at 07:21 PM.
 
Old 05-19-2005, 07:22 PM   #2
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Original Poster
Rep: Reputation: 15
Can someone explain why this error kept coming up, which shouldn't?
 
Old 05-19-2005, 09:26 PM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Patience... you waited all of ~40 minutes before you replied to your own thread. That's bad for at least three reasons:[list=1][*]The forum rules allow you to "bump" your thread once every 24 hours[*]Replying to a thread removes your post from the "0 replies" search, which a lot of the forum's experts use[*]Casual users simply see a thread has a reply and won't necessarily loook, thinking someone else is "taking care of it"[/list=1]

That said, your problem can stem from a number of reasons.

First: Does the kernel on your workstation have support compiled in for whatever filesystem is on the floppy? If the kernel doesn't have support, it doesn't matter if it's "auto" or not; it will not be able to identify the filesystem

Second: If your kernel has the required filesystem support, is it configured as a module? If yes, have you loaded the module? If no, then you're back at the first situation.

Three: Are you positive the disk is clean? As in, you can read/write to it from another machine. If the disk isn't formatted, or if it's corrupt, there's no way to identify the filesystem.

Fourth: "auto" is not 100% perfect. I won't claim to know how or why it is, but sometimes a VFAT floppy won't read with auto (meaning I have to specify "-t vfat" on the command line), but the system will detect a different VFAT floppy perfectly fine. Obviously there's some difference somewhere, and maybe someone else that sees this thread can offer insight. However, I've only experienced this problem with VFAT floppies.
 
Old 05-20-2005, 04:37 AM   #4
ExCIA
Member
 
Registered: Mar 2005
Posts: 78

Original Poster
Rep: Reputation: 15
I forgot to mention this... when I install Debian 'Sarge' 2.6.8-2-k7 I noticed that the floppy drive is not included in fstab. It is usually is by default and I wonder why?

How do I add other filesystem modules?

Last edited by ExCIA; 05-20-2005 at 07:30 AM.
 
Old 05-22-2005, 10:58 AM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 69
Quote:
Originally posted by ExCIA
How do I add other filesystem modules?
Code:
depmod module-name
You can see the filesystems you have support loaded for by looking in /proc/filesystems.

You will find the names of the modules by looking in /lib/modules/kernel-version/kernel/fs each file ending in .o or .ko is a seperate module, and the name of the file is the same as the module-name.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining filesystem type in use chriscore Linux - Newbie 6 03-22-2005 09:19 PM
Filesystem Type dj_dubbbz Linux - Newbie 6 03-13-2005 02:11 AM
Filesystem Type praveenv Linux - General 1 08-10-2004 10:53 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 10:04 AM
how to mount without the filesystem type mascon Linux - General 7 05-01-2004 06:20 AM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration