Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Mar 2005 22:58:55 -0500
From:      Mike Jeays <Mike.Jeays@rogers.com>
To:        "E. J. Cerejo" <edu07643@yahoo.com.br>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Mounting iomega zip drive
Message-ID:  <1110427135.666.30.camel@chaucer.jeays.ca>
In-Reply-To: <20050310034439.55553.qmail@web61004.mail.yahoo.com>
References:  <20050310034439.55553.qmail@web61004.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2005-03-09 at 22:44, E. J. Cerejo wrote:
> --- Mike Jeays <Mike.Jeays@rogers.com> wrote:
> > On Sun, 2005-03-06 at 17:16, E. J. Cerejo wrote:
> > >  --- Mike Jeays <Mike.Jeays@rogers.com> escreveu: 
> > > > On Mon, 2005-02-21 at 19:34, E. J. Cerejo wrote:
> > > > > I use to be able to mount my paralell zip
> > drive
> > > > with
> > > > > the following command under Fbsd 4.x:
> > > > > 
> > > > > mount -t msdos /dev/da0s4 /zip
> > > > > 
> > > > > now I'm running 5.3 I can't, what changed?
> > > > > 
> > > > > I noticed that there is only da0 in my /dev
> > > > directory,
> > > > > I have this in my kernel:
> > > > > 
> > > > > # SCSI peripherals
> > > > > device		scbus		# SCSI bus (required for SCSI)
> > > > > #device		ch		# SCSI media changers
> > > > > device		da		# Direct Access (disks)
> > > > > #device		sa		# Sequential Access (tape etc)
> > > > > device  	atapicam    		# emulate ATAPI devices
> > as
> > > > SCSI
> > > > > ditto via CAM
> > > > > device		cd		# CD
> > > > > device		pass		# Passthrough device (direct
> > SCSI
> > > > > access)
> > > > > #device		ses		# SCSI Environmental Services
> > (and
> > > > > SAF-TE)
> > > > > 
> > > > > do I need anything else?
> > > > > 
> > > > >
> > __________________________________________________
> > > > > Converse com seus amigos em tempo real com o
> > > > Yahoo! Messenger 
> > > > > http://br.download.yahoo.com/messenger/
> > > > >
> > _______________________________________________
> > > > > freebsd-questions@freebsd.org mailing list
> > > > >
> > > >
> > >
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > > To unsubscribe, send any mail to
> > > > "freebsd-questions-unsubscribe@freebsd.org"
> > > > 
> > > > Try running "cdrecord -scanbus", and see if the
> > > > device number is
> > > > different.  This sounds somewhat similar to a
> > > > problem I was having with
> > > > a flash drive and DVD-burner.
> > > 
> > >  scsibus0:
> > >         0,0,0     0) *
> > >         0,1,0     1) *
> > >         0,2,0     2) *
> > >         0,3,0     3) *
> > >         0,4,0     4) *
> > >         0,5,0     5) *
> > >         0,6,0     6) 'IOMEGA  ' 'ZIP 100         '
> > > 'K.05' Removable Disk
> > >         0,7,0     7) *
> > > scsibus2:
> > >         2,0,0   200) 'JLMS    ' 'DVD-ROM LTD-166S'
> > > 'DS0E' Removable CD-ROM
> > >         2,1,0   201) 'LITE-ON ' 'LTR-40125S      '
> > > 'ZS0K' Removable CD-ROM
> > >         2,2,0   202) *
> > >         2,3,0   203) *
> > >         2,4,0   204) *
> > >         2,5,0   205) *
> > >         2,6,0   206) *
> > >         2,7,0   207) *
> > > 
> > > Aparently it's there on device 0.  Any ideas?
> > > 
> > > 
> > > 	
> > > 	
> > > 		
> > >
> >
> _______________________________________________________
> > 
> > > Yahoo! Acesso Grátis - Instale o discador do
> > Yahoo! agora. http://br.acesso.yahoo.com/ - Internet
> > rápida e grátis
> > 
> > Not many.  I would try to muddle my way through,
> > with attempts like:
> > 
> > mount -t msdos /dev/da0 /zip
> > mount -t msdos /dev/da0sx /zip, for x=1 to 4 (the 4
> > you have already
> > tried)
> > 
> > Then in desperation:
> > mount -t msdos /dev/da6 /zip
> > mount -t msdos /dev/da6sx /zip for x=1 to 4
> > 
> > mount -t msdos /dev/afd0 /zip
> > 
> > Maybe someone else will have a better understanding
> > of the device number
> > mappings.  I clearly don't.
> > 
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> >
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> > 
> 
> Weird! Tried with "mount -t msdos /dev/da0s4 /zip" and
> it worked, I can see that da0s4 got created in /dev,
> before wasn't there.  Could "cdrecord -scanbus"
> command   
> have created it?
> 
> __________________________________________________
> Converse com seus amigos em tempo real com o Yahoo! Messenger 
> http://br.download.yahoo.com/messenger/

Glad it helped - muddling through does work sometimes!  I don't think
cdrecord would create the device - FreeBSD 5.x seems to create them
automatically in the right circumstances.

If you look at your Zip disk with fdisk (fdisk /dev/da0), you will see
the four partitions.  I had some where #4 was the partition with the
data.

Here is the result on a USB flash drive: it shows that partition 1 has
the data, and I must address it as /dev/da0s1

501 ~ # fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=62 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6 (0x06),(Primary 'big' DOS (>= 32MB))
    start 32, size 127712 (62 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 498/ head 7/ sector 32
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


I can't experiment any more, because my IDE Zip drive died, and it is
not worth replacing since CD burners reached a reasonable price.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1110427135.666.30.camel>