LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-02-2004, 07:51 PM   #1
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Rep: Reputation: 15
ZIp drive mounted twice after updates on MDK 10


Installed 10
then went to install updates - installed KDE* updates and know I have 2 zip drive icons on the desktop

fstab is as follows

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
none /mnt/zip supermount dev=/dev/sda4,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
none /mnt/zip2 supermount dev=/dev/scsi/host0/bus0/target6/lun0/part4,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,kudzu,codepage=850 0 0

anyone..

Steve
 
Old 04-02-2004, 11:25 PM   #2
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
Well, do you have two zip drives?

If not, do the contents of an inserted disk show up in /mnt/zip or /mnt/zip2?

If it only shows up in one of those, delete the other line from fstab. If it shows up in both, delete the /mnt/zip2 line.
 
Old 04-03-2004, 08:52 AM   #3
DB9
Member
 
Registered: Mar 2004
Location: Mississauga, Ontario, Canada
Distribution: Still looking..
Posts: 49

Original Poster
Rep: Reputation: 15
Have only one zip drive.
Inserted disk data appears with both icons.
Have tried deleating /mnt/zip2, reboot and it shows up again when you use the zip drive again.

thx

Steve
 
Old 04-23-2004, 02:31 AM   #4
AntonLacon
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Has this issue been solved?

I'm having the same problems. I've tried editing the fstab without any luck.
 
Old 04-24-2004, 12:59 AM   #5
matthewbrett
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
I have the same, and more.

I have a single zip drive and two hard disks; these are set in my system to be hdb, hdc and hde respectively.

These were mounted like this in my fstab:

none /mnt/zip supermount dev=/dev/hdb4 ....
/dev/hdc1 /data1 ext3 defaults 1 2
/dev/hde6 / ext3 defaults 1 1

Since I upgraded to 10.0 official from 9.2 I have the following two extra entries in my fstab

none /mnt/hd supermount dev=/dev/ide/host0/bus1/target0/lun0/part1 ...
none /mnt/zip2 supermount dev=/dev/ide/host0/bus0/target1/lun0/part4 ...

This is a bit odd, because /dev/hdc1 is a link to /dev/ide/host0/bus1/target0/lun0/part1, and /dev/hdb4 is a link to /dev/ide/host0/bus0/target1/lun0/part4 - so my hdc and zip drives are being added to the fstab file twice.

It looks like this is being done via drakupdate_fstab on boot, because the entries are restored at boot if I delete them.

Is something going wrong with devfs here?
 
Old 04-24-2004, 01:12 AM   #6
bibilit
Member
 
Registered: Nov 2002
Location: Montrouge / FRANCE
Distribution: MANDRAKE 9.2/ DSL / smalllinux / Ubuntu 5.1
Posts: 202

Rep: Reputation: 30
hi,
When i updated from 8.2 to 9.2 using oe MDK i had the same problem :

ie two cd-rom icons and two floppy icons !!

i think the problem comes when you try to update mdk distro.

I removed 8.2 and properly install 9.2 and get rid of the double icons ( they were imposible to remove anyway )
 
Old 04-26-2004, 04:11 PM   #7
matthewbrett
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
I have solved this problem to my own satisfaction by hacking the file /etc/dynamic/scripts/part.script

After the lines:

# try to catch calls from rc.sysinit
case `runlevel` in
unknown) exit 0;;
esac

I inserted the following four lines:

case $2 in
/dev/ide/host0/bus0/target1/lun0/part4) exit 1;;
/dev/ide/host0/bus1/target0/lun0/part1) exit 1;;
esac

This causes the script to return quietly if trying to add either of the two devices that I did not want added.

Of course I had to remove the lines for these devices in my /etc/fstab as well before rebooting to test.

A nasty hack of course, but I lacked anything better...
 
  


Reply



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
Quick question - which updates to install? (MDK 10.1) inneed Linux - Newbie 1 05-01-2005 01:12 PM
mdk 10.1 CE problem with security updates chrism Mandriva 6 11-03-2004 05:33 AM
Mdk 9.2 updates Qhayaal Mandriva 3 07-15-2004 09:28 AM
MDK 10.x and security updates PapaNoHair Mandriva 1 06-22-2004 10:24 PM
Zip drive Ian_Hawdon Linux - Hardware 2 05-25-2003 10:48 AM

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

All times are GMT -5. The time now is 04:53 AM.

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