Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 1998 18:44:14 -0700 (PDT)
From:      dan@math.berkeley.edu (Dan Strick)
To:        sos@FreeBSD.ORG
Cc:        current@FreeBSD.ORG, dan@math.berkeley.edu, luigi@labinfo.iet.unipi.it
Subject:   Re: cd9660 mounts...
Message-ID:  <199809270144.SAA22103@math.berkeley.edu>

next in thread | raw e-mail | index | archive | help
> In reply to Luigi Rizzo who wrote:
> > 
> > An alternative hack (which seems to work and requires very little
> > modification -- just 4 lines in the device driver!) is to use the
> > device minor number to identify the track, so that you can say
> > 
> > 	mount -t cd9660 -o -s=0 /dev/wcd0tN /cdrom
> > 
> > to mount the n-th track.
> 
> I think this method is the best one, we can keep the mods in the
> atapi-cd devicedriver which still is sortof alpha code. That wont
> make it work for SCSI CDROM's, but that just too bad...
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Søren Schmidt               (sos@FreeBSD.org)               FreeBSD Core Team

FreeBSD already relies far too heavily on a proliferation of
minor devices, each of which requires its own entry in /dev.
Exactly how large a (worst case) track number are we prepared
to handle?

This kind of thing might be handled via ioctl().  The track number
could be an option argument to mount_cd9660.

Alternaticely, device drivers could have memory that transcends
close()es.  In this case, one might issue commands like:

	settrack /dev/rwcd0 N
	mount -t cd9660 /dev/wcd0 /cdrom

Dan Strick
dan@math.berkeley.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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