Re: od driver for -CURRENT

2001-02-12 Thread Tony Finch
"Justin T. Gibbs" [EMAIL PROTECTED] wrote: It is not necessarily sufficient since the media may be changed after open on certain types of devices that don't have a media lock. But don't you risk a panic if you do that? Tony. -- f.a.n.finch[EMAIL PROTECTED][EMAIL PROTECTED] THAMES

Re: od driver for -CURRENT

2001-02-12 Thread Justin T. Gibbs
"Justin T. Gibbs" [EMAIL PROTECTED] wrote: It is not necessarily sufficient since the media may be changed after open on certain types of devices that don't have a media lock. But don't you risk a panic if you do that? By pulling the media out and flipping off the hardware write protect? Even

Re: od driver for -CURRENT

2001-02-11 Thread non
From: Bruce Evans [EMAIL PROTECTED] Date: Sun, 11 Feb 2001 07:35:51 +1100 (EST) On Sat, 10 Feb 2001, Justin T. Gibbs wrote: Are there any reason device drivers do not check if thier devices are writable or not when they are opened ? I think returning an error value, like `od', is the

Re: od driver for -CURRENT

2001-02-10 Thread non
From: Bruce Evans [EMAIL PROTECTED] Date: Sat, 10 Feb 2001 06:24:20 +1100 (EST) On Fri, 9 Feb 2001 [EMAIL PROTECTED] wrote: From: "Kenneth D. Merry" [EMAIL PROTECTED] Hmm, can you demonstrate the problem? The write-protect check in the od driver is one of the things that the da driver

Re: od driver for -CURRENT

2001-02-10 Thread Justin T. Gibbs
Are there any reason device drivers do not check if thier devices are writable or not when they are opened ? I think returning an error value, like `od', is the easiest way to avoid this problem. It is not necessarily sufficient since the media may be changed after open on certain types of

Re: od driver for -CURRENT

2001-02-10 Thread Bruce Evans
On Sat, 10 Feb 2001, Justin T. Gibbs wrote: Are there any reason device drivers do not check if thier devices are writable or not when they are opened ? I think returning an error value, like `od', is the easiest way to avoid this problem. It is not necessarily sufficient since the media

Re: od driver for -CURRENT

2001-02-09 Thread non
From: "Kenneth D. Merry" [EMAIL PROTECTED] Subject: Re: od driver for -CURRENT By the way, in Japanese users mailing list, some said that `da' does not check whether a medium is writerable or not (write protected). If you mount a write protected medium with -rw, it will lead bad

Re: od driver for -CURRENT

2001-02-09 Thread Bruce Evans
On Fri, 9 Feb 2001 [EMAIL PROTECTED] wrote: From: "Kenneth D. Merry" [EMAIL PROTECTED] Subject: Re: od driver for -CURRENT By the way, in Japanese users mailing list, some said that `da' does not check whether a medium is writerable or not (write protected). If you mou

Re: od driver for -CURRENT

2001-02-08 Thread non
From: Bernd Walter [EMAIL PROTECTED] Date: Wed, 7 Feb 2001 17:11:57 +0100 On Tue, Feb 06, 2001 at 11:21:12PM +0900, [EMAIL PROTECTED] wrote: Today I tried with 4.2-RELEASE (sorry not -current) and, 1. Boot up the 4.2-RELEASE with GENERIC kernel. 2. Connect MO drive with PC Card SCSI(ncv).

Re: od driver for -CURRENT

2001-02-08 Thread Kenneth D. Merry
On Thu, Feb 08, 2001 at 21:42:59 +0900, [EMAIL PROTECTED] wrote: From: Bernd Walter [EMAIL PROTECTED] Date: Wed, 7 Feb 2001 17:11:57 +0100 On Tue, Feb 06, 2001 at 11:21:12PM +0900, [EMAIL PROTECTED] wrote: Today I tried with 4.2-RELEASE (sorry not -current) and, 1. Boot up the

Re: od driver for -CURRENT

2001-02-07 Thread Bernd Walter
On Tue, Feb 06, 2001 at 11:21:12PM +0900, [EMAIL PROTECTED] wrote: Today I tried with 4.2-RELEASE (sorry not -current) and, 1. Boot up the 4.2-RELEASE with GENERIC kernel. 2. Connect MO drive with PC Card SCSI(ncv). 3. Insert PC Card without medium in the MO drive. 4. The pccardd

Re: od driver for -CURRENT

2001-02-06 Thread Bernd Walter
On Tue, Feb 06, 2001 at 03:43:33PM +0900, [EMAIL PROTECTED] wrote: From: "Kenneth D. Merry" [EMAIL PROTECTED] Date: Mon, 5 Feb 2001 17:00:41 -0700 I think we already have the most important functionality from the od(4) driver in the da and cd drivers. If there are any features that are

Re: od driver for -CURRENT

2001-02-06 Thread non
From: Bernd Walter [EMAIL PROTECTED] Date: Tue, 6 Feb 2001 13:30:30 +0100 Though I have not tried `da' lately, if you don't insert a medium in the drive at the time of CAM rescan bus, `da' tries to get the geometry by XPT_CALC_GEOMETRY then panics with divided by zero in most SCSI

od driver for -CURRENT

2001-02-05 Thread Trevor Johnson
I've made an attempt at an update for -CURRENT of Shunsuke Akiyama's od driver for magneto-optical disks, which I got from his archives at ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/OD/ . I have only tested it a little, but I'm able to do "tar cf /dev/od0 ..." under 4-STABLE and untar under

Re: od driver for -CURRENT

2001-02-05 Thread Trevor Johnson
I was able to do: # mount_msdos /dev/od0 /mnt # newfs_msdos /dev/od0 # cp mozilla-win32-0.7.zip /mnt/ under FreeBSD -CURRENT, then unzip the file under Windows 95 OSR2 with no problems. However, the patched sysinstall still crashes, and neither disklabel nor newfs are

Re: od driver for -CURRENT

2001-02-05 Thread Bernd Walter
On Mon, Feb 05, 2001 at 09:34:44AM -0500, Trevor Johnson wrote: I've made an attempt at an update for -CURRENT of Shunsuke Akiyama's od driver for magneto-optical disks, which I got from his archives at ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/OD/ . I have only tested it a little, but I'm

Re: od driver for -CURRENT

2001-02-05 Thread Kenneth D. Merry
On Tue, Feb 06, 2001 at 00:15:27 +0100, Bernd Walter wrote: On Mon, Feb 05, 2001 at 09:34:44AM -0500, Trevor Johnson wrote: I've made an attempt at an update for -CURRENT of Shunsuke Akiyama's od driver for magneto-optical disks, which I got from his archives at

Re: od driver for -CURRENT

2001-02-05 Thread non
From: "Kenneth D. Merry" [EMAIL PROTECTED] Date: Mon, 5 Feb 2001 17:00:41 -0700 I think we already have the most important functionality from the od(4) driver in the da and cd drivers. If there are any features that are in the od(4) driver that should be in the da(4) or cd(4) drivers, but