mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bristow <paul@paulbristow.net>
To: Gregoire Favre <greg@ulima.unil.ch>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Can't acess ide ZIP under 2.4.16 with devfs
Date: Tue, 27 Nov 2001 21:59:49 +0100	[thread overview]
Message-ID: <3C03FEC5.3000003@paulbristow.net> (raw)
In-Reply-To: <20011127202112.A13757@ulima.unil.ch>

Gregoire,

I'm working (right this minute) on devfs support for ide-floppy

but... your problem doesn't look like an ide-floppy/devfs problem.

On my system, the output from fdisk on a zip 250 looks like

  [root@zoltar ide]# fdisk /dev/hdf

   Command (m for help): p

   Disk /dev/hdf: 64 heads, 32 sectors, 239 cylinders
   Units = cylinders of 2048 * 512 bytes

      Device    Boot    Start       End    Blocks   Id  System
      /dev/hdf4   *         1       239    244720    6  FAT16

so your hdc is a hard disk, not a zip.

Try changing your fstab to point to ide/host0/bus1/target0/lun0/disc 
instead of /dev/hdc

Gregoire Favre wrote:

> Hello,
> 
> I didn't try devfs for a long time, I wasn't using it because of a problem
> I hadded, but didn't remember which one...
> 
> Now, I can remember: I can't access my IDE zip which is normaly (without
> devfs) under hdc.
> 
> Could someone explain me what I am doing wrong?
> I can't test it with a partitionned ZIP as all my ZIP have no partitions.
> 
> I give here the output of somes commands (under 2.4.16 with devfs):
> 
> [greg@localhost /dev]$ ll hd*
> lr-xr-xr-x    1 root     root           32 Nov 27  2001 hda -> ide/host0/bus0/target0/lun0/disc
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda1 -> ide/host0/bus0/target0/lun0/part1
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda2 -> ide/host0/bus0/target0/lun0/part2
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda3 -> ide/host0/bus0/target0/lun0/part3
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda4 -> ide/host0/bus0/target0/lun0/part4
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda5 -> ide/host0/bus0/target0/lun0/part5
> lr-xr-xr-x    1 root     root           33 Nov 27  2001 hda6 -> ide/host0/bus0/target0/lun0/part6
> lr-xr-xr-x    1 root     root           32 Nov 27  2001 hdc -> ide/host0/bus1/target0/lun0/disc
> 
> [greg@localhost /dev]$ cat /proc/partitions 
> major minor  #blocks  name
> 
>    8     0    8925000 scsi/host0/bus0/target0/lun0/disc
>    8     1     136521 scsi/host0/bus0/target0/lun0/part1
>    8     2    8787555 scsi/host0/bus0/target0/lun0/part2
>   22     0     244736 ide/host0/bus1/target0/lun0/disc
>    3     0   14114520 ide/host0/bus0/target0/lun0/disc
>    3     1    4200966 ide/host0/bus0/target0/lun0/part1
>    3     2     136552 ide/host0/bus0/target0/lun0/part2
>    3     3      16065 ide/host0/bus0/target0/lun0/part3
>    3     4          1 ide/host0/bus0/target0/lun0/part4
>    3     5    1052226 ide/host0/bus0/target0/lun0/part5
>    3     6    8707198 ide/host0/bus0/target0/lun0/part6
> 
> My /etc/fstab contains:
> /dev/hdc        /mnt/ext2       ext3            nosuid,noauto,nodev,user                1 2
> 
> [greg@localhost /dev]$ mount /mnt/ext2/
> mount: wrong fs type, bad option, bad superblock on /dev/hdc,
>        or too many mounted file systems
> 
> 
> 	Grégoire
> ________________________________________________________________
> http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
> -


-- 

Paul

Email: 
paul@paulbristow.net
Web: 
http://paulbristow.net
ICQ: 
11965223


  reply	other threads:[~2001-11-27 20:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 19:21 Gregoire Favre
2001-11-27 20:59 ` Paul Bristow [this message]
2001-11-27 21:11   ` Gregoire Favre
2001-11-27 21:20     ` Gregoire Favre
2001-11-27 21:27       ` Gregoire Favre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C03FEC5.3000003@paulbristow.net \
    --to=paul@paulbristow.net \
    --cc=greg@ulima.unil.ch \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®