Re: merge setarch program into util-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 18 June 2007, Karel Zak wrote:
> On Thu, Jun 14, 2007 at 05:26:32AM -0400, Mike Frysinger wrote:
> > On Thursday 14 June 2007, Ludwig Nussel wrote:
> > > Karel Zak wrote:
> > > > On Thu, Jun 07, 2007 at 05:45:04PM +0200, Ludwig Nussel wrote:
> > > > > basically a wrapper for the 'personality' syscall renaming it to
> > > > > 'personality', 'setpers' or similar would probably make sense.
> > > >
> > > >  Well, you're right that 'setpers' is probably better name, but I
> > > >  think it's too late for this change. The command is already on many
> > > >  places (scripts, distributions, ...).
> > >
> > > You could add a compatability symlink where it's needed. SUSE Linux
> > > for example never had setarch, only 'linux32'.
> >
> > linux32 isnt the only one (ppc, sparc, and mips all have their own), ive
> > just been creating all of them in Gentoo
>
>  Why?

historical baggage

>  I think one generic command (setarch) is better than gang of 
>  small commands, especially if you duplicate almost all code in
>  linux32, ppc, sparc, and mips commands.

when i said "create" i meant "symlink" ... the only real thing there is 
setarch, plus it already handles this ... `setarch foo XXX` behaves the same 
as `foo XXX` due to argv scanning in it
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux