Results 1 to 9 of 9
OS: SLES / SLED 10
whenever I insert usb drive, or a dvd into the dvd-drive, suse automatically mounts the usb/cd/dvd ... HOW ? I havent configure the automount/autofs, neither ...
- 05-04-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
how the usb/dvd mounts automatically ?
OS: SLES / SLED 10
whenever I insert usb drive, or a dvd into the dvd-drive, suse automatically mounts the usb/cd/dvd ... HOW ? I havent configure the automount/autofs, neither i found any config in /etc/auto.master.
So my question is how the usb drives, and cd/dvd, automatically mounts in suse 10 ?
which service is responsible ?
and how can I check the configs ?
PLz help
Thanks n Regards
Needee
- 05-04-2007 #2
Automatic mounts are taken care by automount daemon.
Check your /etc/fstab, /etc/auto.master, and /etc/misc files for more info.---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 05-04-2007 #3Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
Thanks Dear cyberinstru for help
# cat /etc/fstab
/dev/hda1 / reiserfs acl,user_xattr 1 1
/dev/hda8 /boot ext2 acl,user_xattr 1 2
/dev/hda9 /home reiserfs acl,user_xattr 1 2
/dev/hda5 /usr reiserfs acl,user_xattr 1 2
/dev/hda6 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
# rcautofs status
Checking for service autofs: unused
Configured Mount Points:
------------------------
Active Mount Points:
--------------------
/etc/auto.master is default, i.e all lines are commented
cat /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/misc /etc/auto.misc --timeout=60
#/smb /etc/auto.smb
#/misc /etc/auto.misc
#/net /etc/auto.net
/etc/auto.misc is default, i.e all lines are commented, except the following
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Is the above line is used to mount the cd/dvd automatically ? even though there is no entry in auto.master(normally we have to add a line in auto.master also) ... will the above line will work ? ok... if the above line is sufficient to mount the cd/dvd automatically, then how/why the usb drives mounts automatically ?
Thanks n Regards
Needee
- 05-04-2007 #4
Yes, u r right. This line
mounts cd/dvd automatically. But I am not sure about USB. Usually, it would be in /etc/fstab for mounting USBs.cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Is thr any hotplug - detecting daemons to do this???---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 05-04-2007 #5Linux Newbie
- Join Date
- Mar 2007
- Posts
- 243
This is what does it in /etc/fstab:
usbfs /proc/bus/usb usbfs noauto 0 0
- 05-04-2007 #6Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
Thanks Dear cyberinstru and Pumalite for reply/help
>usbfs /proc/bus/usb usbfs noauto 0 0
see the option "noauto"... i.e the filesystem/device will not mount automatically ... but sles/sled 10 mounts usb automatically ... how ?
- 05-04-2007 #7
hey, after mounting USB, check the output of /etc/mtab.
We shall infer from the mount point used.---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
- 05-05-2007 #8Linux Newbie
- Join Date
- Feb 2007
- Posts
- 248
hi cyberinstru
# cat /etc/mtab
.
.
.
/dev/sdb1 /media/KINGSTON vfat rw,noexec,nosuid,nodev,flush,shortname=winnt,utf8, uid=0 0 0
regards
- 05-05-2007 #9Linux Newbie
- Join Date
- Mar 2007
- Posts
- 243
---Delete---


Reply With Quote