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

Bug#679128: useless (?) dichotomy: sysfs is located under /bin on kfreebsd systems, while /sbin on Linuxes



On Wed, 27 Jun 2012, Craig Small wrote:
> > is there any specific reason or could it be shipped under /sbin/ ?
> Ask the freebsd-utils people, after all it is their program and not
> mine. 

indeed:

debian/freebsd-utils.install:debian/local/scripts/bin/sysctl        /bin
debian/freebsd-utils.manpages:sbin/sysctl/sysctl.8
debian/freebsd-utils-udeb.install:sbin/sysctl/sysctl            /bin

.8 itself suggests /sbin isn't it? ;)

> dpkg -S `which sysctl` would of told you where sysctl comes from.

d'oh -- sad part that I have done that but on non-kfreebsd systems,
e.g.:

$> dpkg -S `which sysctl`
procps: /sbin/sysctl

and then I saw in procps's debian/rules explicit removal of /sbin/sysctl
so I just thought that it was for some reason installed under both /bin/ and
/sbin/... "it was late" would be my excuse

> Alternatively reportbug on the program name would of given the right
> package too.

I could not reportbug on porter boxes due to absent reportbug (tried that) :-P

> FWIW, procps won't be moving sysctl  to /bin (for non-freebsd platforms)

And please don't! ;) /sbin/ is the location for it (unless that
everything-in-one-bin movement wins)

> reassign 679128 freebsd-utils
> thankyou

thank you!

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



Reply to: