Re: Most directories locked read-only: unlocked!

2006-01-19 Thread Almut Behrens
On Thu, Jan 19, 2006 at 10:04:17PM -0500, Ken Heard wrote: > > I then was able to amend /etc/fstab for the root directory mount by > fixing the typo. I also removed the "errors=remount-ro" option. > Apparently the Debian installer always adds this option to the fstab > mount line for the

Re: Most directories locked read-only: unlocked!

2006-01-19 Thread John Hasler
> I changed it back to sh. I discovered that /bin/sh is a link to > /bin/bash. I assume that for some (most? all?) scripts bash can be used > but the scripts application may be confused if it is called bash rather > than sh. No. When called as sh Bash goes into POSIX-compliant mode. When calle

Re: Most directories locked read-only: unlocked!

2006-01-19 Thread Ken Heard
Almut Behrens wrote: Because I used /var instead of /tmp I modified your script as follows: #!/bin/bash #You suggested /bin/sh FSTAB=/var/fstab# var changed from tmp LIBC=/lib/libc.so.6 perl -pe "s|/etc/fstab|$FSTAB|g" $LIBC >/var/libc.so.6 # var changed from tmp perl -pe