Hi
Rosaire AMORE wrote:
> Hi
> I had a /etc/fstab (Linux Mandrake 7.2 - kernel 2.2.17) that contained
> the following lines :
>
> /dev/hda3 / reiserfs notail 1 1
> /dev/hdb6 /ext reiserfs rw,suid,dev,exec,auto,user,async 1 2
>
> Nothing to say about the first one.
Actually, there is something:
root filesystem is mounted when /etc/fstab is not available, so, I guess
that this line is used only to remount root filesystem. AFAIS, option
notail is ignored when reiserfs is remounted with that option. So, notail
does not work here.
Also, you might want to change 1 in sixth field by 0 in both records, so
that fsck(8) will avoid calling to reiserfsck.
>
> The second line contains options that i used with ext2fs. The result was
> that i was unable to execute nothing on the /ext filesystem (scripts or
> binaries).
> I rewrote the line like this :
>
> /dev/hdb6 /ext reiserfs notail 1 2
>
> and everything works.
> The question is : does it exists mount options for reiserfs that does
> the same thing as those on ext2fs? (rw,suid,dev,exec,auto,user,async,
> etc).
The above mount options which are common for all filesystems should work
for reiserfs.
As for exec - if it does not work for reiserfs (fs gets mounted noexec) -
it should not also work for ext2. At least it does not for me.
Probably there is some mismatching between what bits does mount(8) set and
how does kernel interpret those bits.
Thanks,
vs