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

Re: New 2.2.25 kernel for amiga



Op za 05-04-2003, om 19:47 schreef Christian T. Steigies:
> > if the -t affs is not specified, an error is generated indicated a
> > FAT filesystem was not found.
> 
> I don't think this is related to the kernel. Just put it in your fstab.

It is, but isn't. This is how mount will try to determine the type of a
filesystem if 'auto' is given in the fstab:

* probe for a number of hardcoded filesystem types (affs is not in the
list). Once a working and supported filesystem type is found, mount.
* read /etc/filesystems for a list of filesystem types that should be
tried, and do the same as for the hardcoded filesystem types.
* read /proc/filesystems, ignoring lines that start with 'nodev', and do
the same as for /etc/filesystems.

/proc/filesystems contains a list of filesystems that are supported by
the running kernel, including _loaded_ modules. Thus, you can fix this
problem by either
* explicitely specifying the filesystem type in /etc/fstab
* adding a line with 'affs' to /etc/filesystems, creating the file if it
doesn't exist, or
* making sure the module that provides support for the affs filesystem
is loaded at boot time.

-- 
wouter at grep dot be
"An expert can usually spot the difference between a fake charge and a
full one, but there are plenty of dead experts." 
  -- National Geographic Channel, in a documentary about large African beasts.



Reply to: