Mario Charest
03/06/2009 11:33 AM
post23790
|
> -----Original Message-----
> From: Colin Burgess [mailto:community-noreply@qnx.com]
> Sent: March-06-09 11:31 AM
> To: technology-networking
> Subject: Re: Order in /net
>
> In that case I would write a netls util. Having QNET specific
> knowledge in ls seems like overkill...
I agree. Netls would be nice for an eventual inclusion in the OS, but for my use I'd rather have a resmgr.
>
> Mario Charest wrote:
> >
> >> -----Original Message-----
> >> From: Colin Burgess [mailto:community-noreply@qnx.com]
> >> Sent: March-06-09 10:48 AM
> >> To: technology-networking
> >> Subject: Re: Order in /net
> >>
> >> Since qnet handles readdir for /net why not have qnet sort it there?
> >
> > I think ls sort it alphabetically by default. Having qnet sort it
> wouldn't make any different. The name have to be presented formatted
> differently.
> >
> >> Is there any drawback to
> >> qnet sorting the readdir output?
> >>
> >> Mario Charest wrote:
> >>>> -----Original Message-----
> >>>> From: Colin Burgess [mailto:community-noreply@qnx.com]
> >>>> Sent: March-06-09 10:21 AM
> >>>> To: technology-networking
> >>>> Subject: Re: Order in /net
> >>>>
> >>>> Oh, you would probably have to talk to our lawyers about that! ;-P
> >>>>
> >>>> Perhaps you should do it the unix way, and put the domain sorter
> in
> >> a
> >>>> seperate util?
> >>> Nah, not just practical/robust. What if somebody does ls -l , the
> >> sorter would have to be pretty smart ;-)
> >>> I`m thinking of a resmgr that would map /net as, hum gotta come up
> >> with an name real quick, /net_sorted_by_domain. Unlike /net it would
> >> put the name domain first. That would be better than the Unix way
> that
> >> would be the QNX way!.
> >>> I see two challenges; find a better name then
> /net_sorted_by_domain,
> >> would probably left it up to the user, and not sure how I can
> reliably
> >> extra the hostname and domain name from the path.
> >>>> Mario Charest wrote:
> >>>>>> -----Original Message-----
> >>>>>> From: Colin Burgess [mailto:community-noreply@qnx.com]
> >>>>>> Sent: March-06-09 10:15 AM
> >>>>>> To: technology-networking
> >>>>>> Subject: Re: Order in /net
> >>>>>>
> >>>>>> ls is already available on F27
> >>>>> LOL!
> >>>>>
> >>>>> If I add an extra option `to sort by domain`, would QNX be
> >>>> ready/willing to put it in the official release?
> >>>>>> Andrew Boyd wrote:
> >>>>>>> I can try to get you the source to ls ... I might
> >>>>>>> be able to sneak it out past our lawyers :-)
> >>>>>>>
> >>>>>>> --
> >>>>>>> aboyd
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Technology
> >>>>>>> http://community.qnx.com/sf/go/post23771
> >>>>>>>
> >>>>>> --
> >>>>>> cburgess@qnx.com
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Technology
> >>>>>>...
|
|
|