Submitted 26-Jun-00 by Guillaume Rousse:
> All right, this time it worked, thanks.
> Hey Chmouel, next time, use explanations rather than orders ;-) !
> Anyway, has the syntax for automount changed, or has any process changed my
> /etc/fstab behind my back adding this noauto option ?

>From /etc/rc.d/init.d/mandrake_everytime:

# Disabling supermount if not here
if [[ $(uname -m) != sparc*  ]];then
    if grep -q '^\/.*supermount.*' /etc/fstab && \
        [ ! -f "/lib/modules/$(uname -r)/fs/supermount.o" ] && [ -x /usr/bin/perl 
];then
        action "Disabling Supermount" /usr/sbin/supermount -i disable
    fi
fi

Executing /usr/sbin/supermount -i disable adds the noauto when it
reformats /etc/fstab to remove supermount references to prevent
attempts to mount the floppy and cdrom during boot.  Unfortunately,
rhe reverse is apparently not true.  Perhaps the supermount script
should be modified to add noauto to the @super_bad?

i.e. :

--- /usr/sbin/supermount        Mon Jun  5 16:07:25 2000
+++ supermount  Mon Jun 26 10:16:34 2000
@@ -11,7 +11,7 @@
 #"bad" or "nessesary" options for "normal" and "supermount" entry
 # "bad" options can be regexp.
 my @normal_bad = qw ( fs=\S+ dev=\S+);
-my @super_bad = qw (sync user);
+my @super_bad = qw (sync user noauto);
 my @normal_must = qw (user noauto nodev nosuid);
 my @super_must = qw (nodev nosuid);
 my $fs_ok = '(auto|vfat|iso9660)';

 
[anton@bladehawke anton]$ rpm -qf /usr/sbin/supermount
initscripts-4.97-47mdk

-- 
       _
     _|_|_
      ( )   *    Anton Graham
      /v\  /     <[EMAIL PROTECTED]>
    /(   )X
     (m_m)       GPG ID: 18F78541
Penguin Powered!

Reply via email to