Re: disklabel(8) floppy panic

2002-04-03 Thread Joerg Wunsch
"Brandon S. Allbery " KF8NH <[EMAIL PROTECTED]> wrote: >> lrwxr-xr-x 1 root wheel4 Apr 2 20:34 /dev/fd1c@ -> fd0 > > Uh? Interesting that you spooted /that/. :-) OK, gonna fix it... -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/

Re: disklabel(8) floppy panic

2002-04-03 Thread Joerg Wunsch
As Bruce Evans wrote: > On Wed, 3 Apr 2002, I wrote: > > > ... > > This seems to be a bug in the fd driver. ls -F "works" the first time > > exist. fd0a and fd0c may need to exist for compatibility, but shouldn't. > > fd0b and fd0[d-h] just shouldn't exist. > > Bruce > As Bruce Evans wrote:

Re: disklabel(8) floppy panic

2002-04-03 Thread Bruce Evans
On Wed, 3 Apr 2002, I wrote: > ... > This seems to be a bug in the fd driver. ls -F "works" the first time > on nonexistent partitions. But it should only work on devices that oops: ^ on devices that go through the disk layer > exist. fd0a and fd0c may need to exist for co

Re: disklabel(8) floppy panic

2002-04-03 Thread Bruce Evans
On Tue, 2 Apr 2002, Joerg Wunsch wrote: > As Bruce Evans wrote: > > > BTW, device cloning seems to work wrong for fd: > > > > %%% > > Script started on Wed Apr 3 02:16:43 2002 > > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > > ls: /dev/fd0c: No such file or directory > > ttyp1:bde@besplex:/tmp> ls /de

Re: disklabel(8) floppy panic

2002-04-02 Thread Brandon S. Allbery
On Tue, 2002-04-02 at 13:35, Joerg Wunsch wrote: > j@uriah 92% ls -l /dev/fd1* (...) > lrwxr-xr-x 1 root wheel4 Apr 2 20:34 /dev/fd1c@ -> fd0 Uh? -- brandon s allbery [openafs/solaris/japh/freebsd] [EMAIL PROTECTED] system administrator [linux/heimdal/too many hats] [EMAIL PROTEC

Re: disklabel(8) floppy panic

2002-04-02 Thread Joerg Wunsch
As Bruce Evans wrote: > BTW, device cloning seems to work wrong for fd: > > %%% > Script started on Wed Apr 3 02:16:43 2002 > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > ls: /dev/fd0c: No such file or directory > ttyp1:bde@besplex:/tmp> ls /dev/fd0c > /dev/fd0c@ > ttyp1:bde@besplex:/tmp> exit I can

Re: disklabel(8) floppy panic

2002-04-02 Thread Bruce Evans
On Mon, 1 Apr 2002, Joerg Wunsch wrote: > fdioctl() historically attempted to determine the "raw" partition > (`c') of the device in order to read the label. However, the floppy > driver never really supported UFS-style partitions anyway. This ended > up in selecting the wrong device for readin

Re: disklabel(8) floppy panic

2002-04-01 Thread Joerg Wunsch
"Crist J. Clark" <[EMAIL PROTECTED]> wrote: > Have a crash box handy? > > $ disklabel fd0.1440 The patch below should fix that, thanks for the bug report. fdioctl() historically attempted to determine the "raw" partition (`c') of the device in order to read the label. However, the floppy dr