Re: devfs support in ofpath: criteria for patches

2001-05-26 Thread Michael Shuey
> you don't need devfs to get static naming. see OpenBSD.=20 I never saw static bus/ID based naming in OpenBSD, but I'll take your word for it. However, devfs is still the only way to get such naming under Linux. -- Mike Shuey

Re: devfs support in ofpath: criteria for patches

2001-05-26 Thread Ethan Benson
On Sat, May 26, 2001 at 01:59:33AM -0500, Michael Shuey wrote: > > > > But how long will that last. What I want to know is, what question > > > > was devfs an answer to? There must have been one, right? Is it a > > > > > devfs is a solution in search of a problem. > > > > that's what I thought

Re: devfs support in ofpath: criteria for patches

2001-05-26 Thread Michael Shuey
> > > But how long will that last. What I want to know is, what question > > > was devfs an answer to? There must have been one, right? Is it a > > > devfs is a solution in search of a problem. > > that's what I thought. devfs is _great_. Solaris has had this sort of thing (albeit with short

Re: devfs support in ofpath: criteria for patches

2001-05-25 Thread Andrew Sharp
Ethan Benson wrote: > > On Thu, May 24, 2001 at 05:04:44PM -0700, Andrew Sharp wrote: > > I've been typing standard unix device names for almost 20 years, and > > I've gotten pretty fast and handy at it. The devfs thing is a major > > annoyance to me, and so far I have been successful in ignoring

Re: devfs support in ofpath: criteria for patches

2001-05-25 Thread Ethan Benson
On Thu, May 24, 2001 at 05:04:44PM -0700, Andrew Sharp wrote: > I've been typing standard unix device names for almost 20 years, and > I've gotten pretty fast and handy at it. The devfs thing is a major > annoyance to me, and so far I have been successful in ignoring it. you do know that devfs i

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Tom Rini
On Thu, May 24, 2001 at 04:03:04PM -0800, Ethan Benson wrote: > On Thu, May 24, 2001 at 12:22:03PM -0700, Tom Rini wrote: > > I'm not quite happy about how the translation for SCSI went, but that wasn't > > something I could fix (since unlike IDE, /dev/sdb could be anywhere.) > > just a thought on

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Ethan Benson
On Thu, May 24, 2001 at 05:19:34PM -0700, Andrew Sharp wrote: > That's correct. > > Scsibus0, id0, lun0 (if disk) == /dev/sda > Scsibus0, id0, lun1 (if disk) == /dev/sd[a+1] > . > . > Scsibus0, id1, lun0 (if disk) == /dev/sdN > . > . > scsibus1, id0, lun0 (if disk) == /dev/sdN+1 thought so. so a

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Andrew Sharp
That's correct. Scsibus0, id0, lun0 (if disk) == /dev/sda Scsibus0, id0, lun1 (if disk) == /dev/sd[a+1] . . Scsibus0, id1, lun0 (if disk) == /dev/sdN . . scsibus1, id0, lun0 (if disk) == /dev/sdN+1 and so on. If your external drive is on the same bus as your internal drive, and you set the id on

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Wilhelm Fitzpatrick
> But how long will that last. What I want to know is, what question > was devfs an answer to? There must have been one, right? I believe it is the answer to the question what with usb, and firewire, and pcmcia, and all the other hotplug technologies, how does my system deal with the fact that

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Andrew Sharp
I've been typing standard unix device names for almost 20 years, and I've gotten pretty fast and handy at it. The devfs thing is a major annoyance to me, and so far I have been successful in ignoring it. But how long will that last. What I want to know is, what question was devfs an answer to?

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Ethan Benson
On Thu, May 24, 2001 at 12:22:03PM -0700, Tom Rini wrote: > I'm not quite happy about how the translation for SCSI went, but that wasn't > something I could fix (since unlike IDE, /dev/sdb could be anywhere.) just a thought on this, you should be able to just assign scsi devices to sdX nodes dynam

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Ethan Benson
On Thu, May 24, 2001 at 11:12:35AM -0700, Tom Rini wrote: > > Er, what version of busybox? 0.51 seems to have cut and sed. I'm not sure > I'll need 'em tho.. busybox may have them, but boot-floppies don't compile them in. (well they may have sed now, im pretty sure they didn't when i first got

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Ethan Benson
On Thu, May 24, 2001 at 08:44:22AM -0600, Jason E. Stewart wrote: > > Hey Ethan, > > I take it that your not completely happy with devfs? Is this something > more than long path names? the long ugly names are a big part of it. also the lack of persistence sucks as well. i must be able to use c

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Tom Rini
On Wed, May 23, 2001 at 11:18:58PM -0800, Ethan Benson wrote: > On Wed, May 23, 2001 at 06:12:46PM -0700, Tom Rini wrote: > > > > Well, the problem is that my fstab has /dev/hda10, but df shows the > > devfs name. I've (almost) got something done which will turn > > /dev/ide/host0/bus0/target0/lu

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Tom Rini
On Wed, May 23, 2001 at 11:18:58PM -0800, Ethan Benson wrote: > 1) it must NOT damage, cripple, or remove standard, sane short > non-devfs name support. Got that. > 2) it must be pure posix /bin/sh code. read me lips, absolutly no bashisms. I think I got that (using pdksh's ksh to test righ

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Jason E. Stewart
"Ethan Benson" <[EMAIL PROTECTED]> writes: > 6) it must be a shell function say unfuckdevfs() that is called with > one argument: /dev/retarded/devfs/name and outputs a normal, unix > compliant terse name (eg: standard linux device name). i will almost > certainly not accept a huge patch reworking

Re: devfs support in ofpath: criteria for patches

2001-05-24 Thread Ethan Benson
On Wed, May 23, 2001 at 06:12:46PM -0700, Tom Rini wrote: > > Well, the problem is that my fstab has /dev/hda10, but df shows the > devfs name. I've (almost) got something done which will turn > /dev/ide/host0/bus0/target0/lun0/partX into /dev/hdaX and so on (at least > as much as we have OF alia