Search found 852 matches

by MinHundHettePerro
Sat 06 Dec 2014, 00:12
Forum: Programming
Topic: Code not working in init script of initrd.gz. (Solved)
Replies: 21
Views: 7298

Perhaps jumping in a bit late ...
To just get rid of all the double-quotes in BB-ash (or in Bash)

Code: Select all

OLDWP2=${OLDWP//\"/}
FWIW :)/ MHHP
by MinHundHettePerro
Mon 10 Nov 2014, 22:57
Forum: Puppy Projects
Topic: A new (perfect) 3.17.0 kernel for Puppy
Replies: 15
Views: 7298

exton wrote:Got it. Here it is then - see encl.
Thanks! /MHHP
by MinHundHettePerro
Mon 10 Nov 2014, 01:28
Forum: Puppy Projects
Topic: A new (perfect) 3.17.0 kernel for Puppy
Replies: 15
Views: 7298

Arne,
is the .config-file included in your package?

Cheers /MHHP
by MinHundHettePerro
Tue 09 Sep 2014, 23:30
Forum: Programming
Topic: scripting using only shell built-ins
Replies: 2
Views: 1416

Hello :)! I'm at it again; this time I cannot avoid using tr . I want to read a file with NUL-separated strings to a variable, using only shell built-ins, e.g. /proc/1/cmdline # hexdump -C /proc/1/cmdline 00000000 2f 62 69 6e 2f 62 75 73 79 62 6f 78 00 69 6e 69 |/bin/busybox.ini| 00000010 74 00 |t.|...
by MinHundHettePerro
Thu 04 Sep 2014, 21:03
Forum: Programming
Topic: scripting using only shell built-ins
Replies: 2
Views: 1416

The tty -replacement is solved with only shell built-ins: #!/bin/sh # MHHP, 140811 MAJmin(){ INP=$7 # Major is contained in bits 8-15 # Minor (low bits of) is contained in bits 0-7 (( $7 >= 65536 )) && exit 1 # If >=65536, high bits of minor are contained in bits 20-31 (( MAJ = $INP/256 )) (...
by MinHundHettePerro
Thu 04 Sep 2014, 20:27
Forum: Programming
Topic: [Solved] Kernel loglevel
Replies: 4
Views: 1865

That's a very good question -I'm sure you'll have fun finding out! Yes, I did :). Nearly everything under /proc survives a remount -I think only references to the root device change. Yes, so it seems. I tried writing to a few (harmless) files in /proc and the values written survived. Cheers :)/MHHP
by MinHundHettePerro
Thu 04 Sep 2014, 11:40
Forum: Programming
Topic: [Solved] Kernel loglevel
Replies: 4
Views: 1865

Thanks, amigo! I have nothing against the patch at all, it's just me trying to learn more about procfs. A follow-up question then pops up (using printk as example): If, say, some loglevel values were written to /proc/sys/kernel/printk just after the mounting of proc in initrd_/init would they be car...
by MinHundHettePerro
Wed 03 Sep 2014, 23:42
Forum: Programming
Topic: [Solved] Kernel loglevel
Replies: 4
Views: 1865

[Solved] Kernel loglevel

In most puppies the kernel loglevel is set to: # cat /proc/sys/kernel/printk 3 4 1 3 due to (I think) compiling the kernel with the BK kernel printk.c.patch (or iguleder's lower_verbosity.patch): --- kernel/printk.c 2010-02-24 18:52:17.000000000 +0000 +++ kernel/printk.cNEW 2010-03-02 17:28:42.00000...
by MinHundHettePerro
Sat 09 Aug 2014, 23:43
Forum: Programming
Topic: scripting using only shell built-ins
Replies: 2
Views: 1416

scripting using only shell built-ins

Hello :)! I've been making a few replacements for standard utilities using only shell built-ins (don't ask why :) :roll: ). But, now I'm really stuck at this "tty"-replacement; I cannot find a way to avoid " ls " - is it at all possible? tty #!/bin/sh # Uses "ls" FILE=/...
by MinHundHettePerro
Wed 25 Jun 2014, 00:22
Forum: Puppy Projects
Topic: slacko-6.0 beta 2
Replies: 835
Views: 373407

Hello! I thought a bit about the posted ideas of keeping (extra-)sfs-loading out of init and leaving it to sfs_load ... So, if I may join the discussion, for a testing environment (leaving some _serious de-crufting_ for later) where loading of other files than savefile, pupsfs, adrv, ydrv and zdrv i...
by MinHundHettePerro
Sun 22 Jun 2014, 21:12
Forum: Puppy Projects
Topic: slacko-6.0 beta 2
Replies: 835
Views: 373407

Yes, I hope that small change is all that is needed.

Before, /dev/loop4 got mounted on /pup_z and the first EXTRASFS got losetup'ed on /dev/loop4 and then mounted on /pup_ro4 ...

Cheers /MHHP
by MinHundHettePerro
Sun 22 Jun 2014, 20:37
Forum: Puppy Projects
Topic: slacko-6.0 beta 2
Replies: 835
Views: 373407

Hello!

Changing line 1651 of initrd_/init from

Code: Select all

CNTLOOP=4 ; UMNTRO=""
to

Code: Select all

CNTLOOP=5 ; UMNTRO=""
solves the problem with kernel panic for BOOTCONFIGged sfs-files. (At least for me ...)

Cheers :)/ MHHP
by MinHundHettePerro
Fri 17 Jan 2014, 19:10
Forum: Puppy Projects
Topic: Fatdog64 630rc2 (24 December 2013) [CLOSED]
Replies: 139
Views: 72298

Hello :)! Silence might not always be preferred ... Strange bug encountered while trying to install lvm2 (tried both packages offered in the package manager). Just lvm2 out of the few packages I installed seems to be affected. The package manager hangs when installing the package, and the shell gets...
by MinHundHettePerro
Fri 17 Jan 2014, 14:22
Forum: Puppy Projects
Topic: Slacko64 - 64 bit Puppy - 6 Feb 2014
Replies: 261
Views: 120751

Re: Slacko64 - 64 bit Puppy - 15 Jan 2014

EDIT: @MHHP. It seems to me that chooselayout should actually be a symlink to quicksetup in /usr/sbin. If possible, can you try that and report your findings. Thanks in advance! :) We will get there! A symlink works, as well :) . (Yeah, should have opened the file chooselayout also, just saw the &q...
by MinHundHettePerro
Thu 16 Jan 2014, 23:40
Forum: Puppy Projects
Topic: Slacko64 - 64 bit Puppy - 6 Feb 2014
Replies: 261
Views: 120751

Keyboard layout

Hello :)! Yes, I know it's early alpha-stage ... ... But, this " oversight " (or BUG :P) pertains to alpha, beta, gamma, delta, epsilon, zeta, ... , omega , and especially the Swedish letters åäö , as well as to the placements of ?=`|()\ etc. on the kbd. Couldn't get my keyboard-setting to...
by MinHundHettePerro
Wed 15 Jan 2014, 01:23
Forum: Security
Topic: Why is this strange IP address in Network connections?
Replies: 213
Views: 79494

Still haven't got any network- or moral expertise ... :) Just playing around with my limited set-up. Connected: # time for i in a b c d e f g h i j k l m;do traceroute -m 5 ${i}.root-servers.net|head -n 1|grep -o '([0-9]*.[0-9]*.[0-9]*.[0-9]*)';[ $? == "0" ] && echo "Have conn...
by MinHundHettePerro
Tue 14 Jan 2014, 22:31
Forum: Security
Topic: Why is this strange IP address in Network connections?
Replies: 213
Views: 79494

@01micko I'm not a network expert, nor will I delve into the morality of your suggestion. That said, I'll oppose to the suggested am-I-alive-call from a more practical viewpoint; while still exiting with error-code 0, the time consumed in the execution of the command is extensive: # time traceroute...
by MinHundHettePerro
Thu 26 Dec 2013, 19:29
Forum: Puppy Derivatives
Topic: My report on Quirky 6.0
Replies: 955
Views: 446340

Running quirky-6.0.1 in a file system image

Hello! While BarryK has been busy de-crufting puppy-scripts, with respect to pupmodes, for his quirky project, I felt a severe tinkering-itch and re-crufted some. Anyway, just for my own amusement I made quirky-6.0.1 run in quirkmode=8, i.e. like a full install but, everything held in a file system ...
by MinHundHettePerro
Sun 18 Aug 2013, 15:28
Forum: HOWTO ( Solutions )
Topic: How to utilise pre-made, empty save-file in latest pups
Replies: 8
Views: 4462

Hello!

First two posts edited with improvements to the rc.update patch ...

Cheers :) /MHHP
by MinHundHettePerro
Sun 18 Aug 2013, 09:22
Forum: HOWTO ( Solutions )
Topic: How to utilise pre-made, empty save-file in latest pups
Replies: 8
Views: 4462

Interesting thing MHHP ! The initrd.gz /init tends to change unexpectedly . It writes all possible dirs and files into the savefile . My question is about that line : + [ ! -d /initrd"$SAVE_LAYER"/root ] && [ ! -d /initrd"$SAVE_LAYER"/usr ] && [ ! -d /initrd"...