LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-25-2004, 04:56 PM   #1
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
I want my ieee1394 NOT to automount...


I have an iPod mini, and all is very good, and I have my own shell scripts
to mount and unmount it, in the right place, when I want it and with the right options.

I would like to tell SuSE 9.2 not to mount my iPod (and put it in /media/ieee1934xxxxxxxxxxxxxxxx), but to continue to automount other things...
how do I register this exception?

-Riddick
 
Old 12-25-2004, 05:04 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not for sure about your setup but one possiablity is edit /etc/fstab and change the line that mounts the ipod from someting auto to noauto

Example: cut of my /etc/fstab
/dev/sda1 /mnt/sda1 auto umask=000,users,noauto,owner,rw,sync,dirsync 0 0
/dev/sdb1 /mnt/sdb1 auto umask=000,users,noauto,owner,rw,sync,dirsync 0 0
 
Old 12-25-2004, 05:05 PM   #3
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
sounds good!
I'll try that out, thanks... anyway to reload the fstab without rebooting?
 
Old 12-25-2004, 05:13 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
edit fstab usually does not requires rebooting. I can add new items to fsatb and they become active immediatly

Brian1
 
Old 12-25-2004, 05:13 PM   #5
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
Oh dear:
---------/etc/fstab--------
/dev/hda1 / reiserfs acl,user_xattr 1 1
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/dvdrecorder /media/dvdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/sda1 /media/sata250_1 reiserfs defaults 1 2
/dev/sdc2 /media/ipod vfat defaults,uid=500,gid=500,user,noauto 0 0



---------/etc/fstab.YaST2.save--------
/dev/hda1 / reiserfs acl,user_xattr 1 1
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/dvdrecorder /media/dvdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0


This is the problem.
Not autoed... not reallt mentioned (the iPod is sdc)
 
Old 12-25-2004, 05:17 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What is the output of ' /sbin/fdisk -l ' when the Ipod is connected

Brian1
 
Old 12-25-2004, 05:19 PM   #7
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
ed@ED:~> su
Password:
ED:/home/ed # /sbin/fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 9595 77071806 83 Linux
/dev/hda2 9596 9729 1076355 82 Linux swap / Solaris

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 30399 244179936 83 Linux

Disk /dev/sdc: 4095 MB, 4095737856 bytes
255 heads, 63 sectors/track, 497 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 5 40131 0 Empty
/dev/sdc2 * 6 497 3951990 b W95 FAT32



The iPod is the last one
 
Old 12-25-2004, 05:28 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Do you have a service called kudzu running? Im not famailar with SUSE the way it works with USB. I know it can be more automatic for non linux users. Need a SUSE user here.

One more question where does it mount now when plugged in. Does it mount to the same point listed in fstab?
If you want it some where else edit fstab and see what happens. I wonder if SUSE uses udev. What is your kernel version?

Hope something helps
Brian1
 
Old 12-25-2004, 05:36 PM   #9
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
from KSysGuard, no kudzu running.
We're talking about Firewire, right? not usb :S
It doesn't mount to the place in fstab, it mounts to /media/ieee1394-000a270002c00dcc-0-0p2/
This must be handled by something else!

ED:/home/ed/.wine/drive_c/My Documents # kernelversion
2.6

(ignore the directory I was doing somthing else)
Thanks for the speedy replies!

How do I check for udev?
there IS a process (always in KSysGuard) called udevd...

-Riddick
 
Old 12-25-2004, 06:02 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Okay I am no expert in udev but under /etc/udev/rules.d I belive is a conf file that might contain the moint point you see. If you have /etc/udev check other files there.

Yes I am aware of it being iee1394 / firewire and the way ieee1394 storage devices work with linux is it uses scsi as its interface. Just as USB does as well. It can be confusing to the beginner. There is also a tool out there that can scan the 1394 bus. Similiar to usbview It is called gscanbus at http://gscanbus.berlios.de/

Brian1
 
Old 12-25-2004, 06:17 PM   #11
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I could be over thinking here. It could be autofs. There is a config file under /etc/auto.master . See whats in it.
If it is there could you post the contents of the file for my reference.

Brian1
 
Old 12-25-2004, 06:19 PM   #12
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
here is:
--------/etc/auto.master-----------
# $Id: auto.master,v 1.1 2001/04/17 11:43:02 arvin Exp arvin $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# Also see variable AUTOFS_OPTIONS in /etc/sysconfig/autofs
# For details of the format look at autofs(8).

#/misc /etc/auto.misc

Doesn't look used.
Thanks!!! (Merry XMas by the way)
 
Old 12-25-2004, 06:35 PM   #13
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
You got at the moment. Going out now. Maybe it will come to me.

Later and Merry Christmas too
Brian1
 
Old 12-25-2004, 06:38 PM   #14
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
I'll wait!
Thanks a lot for taking me this far!
 
Old 12-25-2004, 06:52 PM   #15
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Out the door but do you have all three modules loaded ieee1394, sdp2, and raw1394.
type ' lsmod ' for output of loaded modules
Brian1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IEEE1394 problems Ekkume Linux - Hardware 1 04-11-2005 11:30 PM
SUSE 9.2 and ieee1394 LinkTree Linux - Hardware 2 03-28-2005 12:10 PM
ieee1394 problems scmcansh Linux - Hardware 15 02-13-2005 03:28 AM
Ieee1394 not working xgreen Slackware 1 02-13-2005 03:28 AM
RH 7.3 won't recognize ieee1394 cd-rw jackopa Linux - Hardware 3 10-07-2002 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration