the question is, how do i stop all this automounting going on? i had a quick look at the man page for autofs, and it claims that autofs is in /etc/init.d but having gone there, it's not. there's a script for mounting the contents of fstab which allows you to mount proc multiple times i think, but this does not seem to be what i am looking for. what am i looking for and where will i find it?
- Code: Select all
bash-2.05b$ mount
/dev/ide/host0/bus0/target0/lun0/part6 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/ide/host0/bus0/target0/lun0/part7 on /home type reiserfs (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /mnt/winsux type vfat (rw,noexec,nosuid,nodev,umask=0)
/dev/ide/host0/bus0/target0/lun0/part8 on /mnt/winhome type vfat (rw,noexec,nosuid,nodev,umask=0)
automount(pid860) on /var/autofs/zip.1 type autofs (rw,fd=4,pgrp=860,minproto=2,maxproto=9)
automount(pid844) on /var/autofs/cdrom.1 type autofs (rw,fd=4,pgrp=844,minproto=2,maxproto=9)
automount(pid852) on /var/autofs/floppy.1 type autofs (rw,fd=4,pgrp=852,minproto=2,maxproto=9)
bash-2.05b$ cat /etc/fstab
# /etc/fstab -- static file system information
#
# generated by: Calum Carlyle
#
#
#
/dev/hda6 / ext3 defaults 1 1
/dev/hda7 /home reiserfs defaults,rw 1 2
proc /proc proc rw 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,nosuid,nodev,exec,users,noauto,unhide 0 0
/dev/fd0 /mnt/floppy auto rw,nosuid,nodev.exec,users,noauto 0 0
/dev/hda5 none swap sw 0 0
/dev/hda1 /mnt/winsux vfat defaults,users,rw,umask=0 0 0
/dev/hda8 /mnt/winhome vfat defaults,users,rw,umask=0 0 0
/dev/sda4 /mnt/zip auto defaults,users,exec,noauto,rw,umask=0 0 0
i really appreciate it! thanks...


