Re: test9 - USB and fat32 not working

From: Andries Brouwer
Date: Thu Nov 06 2003 - 18:43:23 EST


On Thu, Nov 06, 2003 at 09:10:45PM +0000, Paulo Moura Guedes wrote:

> FAT: Unrecognized mount option "owner=mojo" or missing value

>From mount(8):

(iii) Normally, only the superuser can mount file systems.
However, when fstab contains the "user" option on a line,
anybody can mount the corresponding system.

Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his
CDROM using the command
mount /dev/cdrom
or
mount /cd
... The owner option is similar to the
user option, with the restriction that the user must be
the owner of the special file. This may be useful e.g. for
/dev/fd if a login script makes the console user owner of
this device.

That is: the syntax is "owner", not "owner=...".
Also, this is an option handled by mount, so kernel version
should play no role.

However, 2.6 does more strict option checking, and complains
about unknown options, while 2.4 in many places just ignores them.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/