LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-18-2004, 01:45 PM   #1
HawkeyeCoug
LQ Newbie
 
Registered: Mar 2004
Location: Tucson, AZ
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
Cleaning up the fstab


I have an interesting problem with my USB keydrive. I can plug it in use it, abuse it, and it works fine. Then, I unmount it, and take it out. When I try to plug it back in, it won't let me access it or mount it. Also, I have a "icon proliferation" problem where multiple icons are placed on my desktop. Right now, I have "sda 1" and "sdb 1" icons on my desktop without my USB key plugged in. Further, I have two zip drive icons (though I do have a zip disk in). I've also noticed it takes some work to get pictures downloaded from my digital camera, even though the camera is in "USB mass storage" mode.

So, I look at my fstab to see what it going on, and I see various entries with "kudzu." Having lived in Georgia, USA, kudzu generally seems to be a big problem in the real world, and I have no idea what it is doing in my fstab. Earlier posts suggested going to the mandrake control center and turning off supermount and allowing users to mount stuff (even though user is in most of the entries). So, I am about to do that, but here is my fstab as it currently stands.

----------------------------------------------

/dev/hdc6 / ext3 defaults 1 1
/dev/hdc1 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdd1 /home ext3 defaults 1 2
/dev/scd0 /mnt/cdrecorder auto ro,noauto,user,exec 0 0
none /mnt/cdrom supermount dev=/dev/hda,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/sdb1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
/dev/sda1 /mnt/removable3 auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/sdb4 /mnt/zip2 auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
none /proc proc defaults 0 0
/dev/hdc5 swap swap defaults 0 0
 
Old 05-18-2004, 02:25 PM   #2
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
Yes, the automounter can make a mess of removable devices Myself I use manual mounting. Someting you should know though:

The first removable device you plug in after reboot gets assigned /dev/sda (assuming you don't already have SCSI hard drives Then, if you plugin another removable device it goes to /dev/sdb *even* if you removed the former device.

So in my case my /etc/fstab assigns /dev/sda1 to /zip (a parallel-port zip drive) and /dev/sdb1 to /stick (an USB memory stick). So When I boot linux I have to make sure I switch the ZIP drive on and off again for just a few seconds, before inserting my USB stick (just need to de this once every reboot). Otherwise my USB stick ends up in /zip and my ZIP disks end up in /stick (

This is just to say, it's a bit tricky to get it right.

Cheers,
nukkel
 
Old 05-19-2004, 12:31 PM   #3
HawkeyeCoug
LQ Newbie
 
Registered: Mar 2004
Location: Tucson, AZ
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
Updated fstab, Still have kudzu

I changed the supermount settings, and added user mounting privilages. Still have "kudzu" entries in there. Anyone know what they are for? Also, I have two "removeable" entries for USB devices that are currently not connected. Do I need them in there, or can I mount usb-stick and camera without the entries?

Thanks.

--------------------------------

Updated fstab after changing and multiple reboots.

/dev/hdc6 / ext3 defaults 1 1
/dev/hdc1 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdd1 /home ext3 defaults 1 2
/dev/scd0 /mnt/cdrecorder auto user,noauto,ro,exec 0 0
none /mnt/cdrom supermount dev=/dev/hda,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0
/dev/sdb1 /mnt/removable auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
/dev/sda1 /mnt/removable3 auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
/dev/sda4 /mnt/zip auto user,iocharset=iso8859-1,codepage=850,umask=0 0 0
/dev/sdb4 /mnt/zip2 auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,umask=0,exec 0 0
none /proc proc defaults 0 0
/dev/hdc5 swap swap defaults 0 0
 
Old 05-19-2004, 01:14 PM   #4
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
kudzu are entries that are automatically updated by the system -- if you want the entry to remain untouched just remove the 'kudzu'...

You definitely need the entries for the removable devices. If you remove them only root can mount the removable devices
 
Old 05-20-2004, 11:23 AM   #5
HawkeyeCoug
LQ Newbie
 
Registered: Mar 2004
Location: Tucson, AZ
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
Smile Thanks for the explanations

Thanks. That helps clarify things. Looks like kudzu is not as bad as I thought. ;-)
 
Old 05-20-2004, 02:53 PM   #6
nukkel
Member
 
Registered: Mar 2003
Location: Belgium
Distribution: Hardened gentoo
Posts: 323

Rep: Reputation: 30
Yeah, kudzu can help out if you want all your removable devices to turn up under the same directory. The name probably sounds worse than it is
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
Cleaning up an old PC Merlyn Linux - Hardware 8 10-25-2005 06:33 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
.AppleDouble cleaning Narsil Linux - Software 7 04-24-2004 11:36 AM
cleaning up? phonecian Linux - Software 1 10-19-2003 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:30 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