sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Jon Dowland
On Tue, Nov 27, 2012 at 11:30:20AM +0100, Ralf Mardorf wrote:
 Also very nice is the output of
 
 $ ls -l /bin/sh
 
 for Ubuntu it's not bash.

For modern Debian installations it's not bash either. Switching /bin/sh
to dash by default was done principally to make boot times quicker (dash
is smaller and faster to load than bash).

Are you actually running Debian, at the moment? I've seen a few statements
about you running Ubuntu, or Arch, or similar, and I often wonder why you are
posting to debian-user in that case… of course you may be using more than one,
in different places. Just curious.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121127120234.GE8359@debian



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Ralf Mardorf
On Tue, 2012-11-27 at 12:02 +, Jon Dowland wrote:
 On Tue, Nov 27, 2012 at 11:30:20AM +0100, Ralf Mardorf wrote:
  Also very nice is the output of
  
  $ ls -l /bin/sh
  
  for Ubuntu it's not bash.
 
 For modern Debian installations it's not bash either. Switching /bin/sh
 to dash by default was done principally to make boot times quicker (dash
 is smaller and faster to load than bash).

Does it really carry weight?

 Are you actually running Debian, at the moment? I've seen a few statements
 about you running Ubuntu, or Arch, or similar, and I often wonder why you are
 posting to debian-user in that case… of course you may be using more than one,
 in different places. Just curious.

I'm using the install that does work the best, this could change just by
one update. At the moment none of my Linux does fit to my needs. There's
no clean Debian, but AVlinux 5.0.3 on my machine
$ cat /media/spinymouse/avlinux/etc/issue
Debian GNU/Linux 6.0 \n \l
and it's really close to a clean Debian install.

Regards,
Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1354022955.2508.872.camel@q



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Morel Bérenger
Le Mar 27 novembre 2012 14:29, Ralf Mardorf a écrit :
 On Tue, 2012-11-27 at 12:02 +, Jon Dowland wrote:

 On Tue, Nov 27, 2012 at 11:30:20AM +0100, Ralf Mardorf wrote:

 Also very nice is the output of


 $ ls -l /bin/sh


 for Ubuntu it's not bash.

 For modern Debian installations it's not bash either. Switching /bin/sh
  to dash by default was done principally to make boot times quicker
 (dash
 is smaller and faster to load than bash).

 Does it really carry weight?

http://packages.debian.org/squeeze/dash
248k
http://packages.debian.org/squeeze/bash
3536k
Without dependencies, of course :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/12de9b2de027513074e21d6f15f135ed.squir...@www.sud-ouest.org



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Jon Dowland
On Tue, Nov 27, 2012 at 02:29:15PM +0100, Ralf Mardorf wrote:
 Does it really carry weight?

With sysvinit, which spawns a lot of sh instances, yes. With something like
systemd, no - it tries to solve the same problem in part by not spawning a
shell lots of times.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121127145900.GB15117@debian



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Lisi Reisz
On Tuesday 27 November 2012 12:02:34 Jon Dowland wrote:
 For modern Debian installations it's not bash either. Switching /bin/sh
 to dash by default was done principally to make boot times quicker (dash
 is smaller and faster to load than bash).

Thanks for the information, Jon.  I hadn't realised that!  I've merrily 
carried on using bash. :-/

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201211271511.54845.lisi.re...@gmail.com



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Kushal Kumaran
Lisi Reisz lisi.re...@gmail.com writes:

 On Tuesday 27 November 2012 12:02:34 Jon Dowland wrote:
 For modern Debian installations it's not bash either. Switching /bin/sh
 to dash by default was done principally to make boot times quicker (dash
 is smaller and faster to load than bash).

 Thanks for the information, Jon.  I hadn't realised that!  I've merrily 
 carried on using bash. :-/


One of the reasons dash is smaller is that it simply has fewer features
than bash.  I didn't bother to lookup the difference, but IIRC dash aims
for strict POSIX compliance and not much else.  If you like the extra
features you get with bash as your login shell, go ahead and continue
using it.

It does not really matter what you use for your personal scripts and as
your login shell.  If hundreds of scripts are being run at boot time, it
makes a difference that dash is quicker to start.

-- 
regards,
kushal


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50b4e596.aa54420a.2c7e.4...@mx.google.com



Re: sh (was Re: About standards Was: Re: Debian Installer 7.0 Beta4 release)

2012-11-27 Thread Jon Dowland
On Tue, Nov 27, 2012 at 03:11:54PM +, Lisi Reisz wrote:
 Thanks for the information, Jon.  I hadn't realised that!  I've merrily 
 carried on using bash. :-/

Bash is a lot friendlier and better suited as a login or interactive
shell. The startup time is not so important for that situation.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121127171838.GB17007@debian