LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2003, 09:45 PM   #1
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
Question Mounting a Zip Disk


I'm using my IDE Zip Drive with Linux now, and it's going quite well save for one thing.

Normally I can mount it with a command like:

mount -t vfat /dev/hdd4 /mnt/zip

However /dev/hdd4 doesn't exist if I don't have the Zip disk in the drive when Linux starts up.

How can I get it to probe the drive to get hdd4 to come up?

Thanks for any help!
 
Old 09-09-2003, 12:57 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
what does your logs say when u startup linux w/o the zip disk?

have u tried checking your partition layout via fdisk -l?
 
Old 09-09-2003, 04:34 AM   #3
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Original Poster
Rep: Reputation: 30
Here's the relevant output of fdisk -l with the zip disk having been in the drive on boot-up.

Code:
Disk /dev/ide/host0/bus1/target1/lun0/disc: 100 MB, 100663296 bytes
64 heads, 32 sectors/track, 96 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
 
                                Device Boot      Start         End      Blocks  Id  System
/dev/ide/host0/bus1/target1/lun0/part4   *           1          96       98288   b  W95 FAT32
I'm running Gentoo (which uses devfs) which makes things a little different. Is this what's causing the problems?

/dev/hdd is symlinked to ide/host0/bus1/target1/lun0/disc and when hdd4 is around it's symlinked to ide/host0/bus1/target1/lun0/part4.

It works fine if the disk is in during boot-up... Here's the log on boot-up when the disk is in:

Code:
hdd: attached ide-floppy driver.
hdd: 98304kB, 196608 blocks, 512 sector size
hdd: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdc: attached ide-scsi driver.
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 >
 /dev/ide/host0/bus1/target1/lun0: p4
Here's the same portion of dmesg during boot-up without the disk in:

Code:
hdd: attached ide-floppy driver.
hdd: No disk in drive
hdd: 98304kB, 32/64/96 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdc: attached ide-scsi driver.
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 >
(That last partition check is just my main hard drive, the Zip disk's one is obviously missing).
 
Old 09-09-2003, 08:50 PM   #4
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Original Poster
Rep: Reputation: 30
Aha I got the answer in the Gentoo forums.

For anyone interested, running

Code:
blockdev --rereadpt /dev/hdd
worked like a charm.
 
  


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
zip disk d3s Linux - Newbie 1 04-16-2005 08:54 AM
mounting CD-ROM and ZIP disk Murdock1979 Linux - Newbie 18 10-28-2003 03:16 AM
Zip Disk Ian_Hawdon Linux - Hardware 8 05-21-2003 12:55 PM
Mounting a zip disk command. jtp51 Linux - General 4 02-19-2003 09:38 AM
zip mounting? loganwva Linux - General 2 02-27-2002 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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