Tom wrote:

> On Wednesday 07 February 2001 02:37 am, Mogens Jæger wrote:
> > Hey list.
> > I have got a strange problem, since I upgraded to the kernel
> > 2.4.0-11mdksmp, with a patch for supermount.
> > Each time I boot my machine the /etc/fstab is changed, so that the
> > supermount is not active.
>
>   'locate' your  supermount.o  module, then edit   /etc/rc.d/init.d/
> mandrake_everytime  so it'll know where it is
>
> # Disabling supermount if not here
> if [[ $(uname -m) != sparc*  ]];then
>  if grep -q '^\/.*supermount.*' /etc/fstab && \
>     [ ! -f "/lib/modules/$(uname -r)/kernel/fs/supermount/supermount.o"
> .                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> --
> Tom Brinkman             [EMAIL PROTECTED]       Galveston Bay

Hey
Thanks for the reply, but my problem is not that the supermount.o module
is not found. It is, that the '/etc/fstab' file is rewritten. What I like
to have is these 4 lines:

/mnt/fd0 /mnt/fd0 supermount fs=vfat,dev=/dev/fd0 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount fs=iso9660,dev=/dev/cdrom2 0 0
/mnt/ls120 /mnt/ls120 supermount fs=vfat,dev=/dev/hdd 0 0

so I edit the file to hold these lines, but after the next boot, they are
changed to:

/dev/fd0        /mnt/fd0        vfat
sync,nosuid,noauto,user,nodev,unhide       0 0
/dev/cdrom      /mnt/cdrom      iso9660
ro,nosuid,noauto,exec,user,nodev        0 0
/dev/cdrom2     /mnt/cdrom2     iso9660
ro,nosuid,noauto,exec,user,nodev        0 0
/dev/hdd        /mnt/ls120      vfat nosuid,noauto,nodev,user   0 0

What can I do, to prevent this to happen?

Thanks in advance
Mogens Jæger.


Reply via email to