/etc/sysconfig/mydsl madness.


Forum: Other Help Topics
Topic: /etc/sysconfig/mydsl madness.
started by: cvt

Posted by cvt on Mar. 28 2006,00:07
Hey guys,

I was hoping someone could help me understand something. We have a file call 'mydsl' in '/etc/sysconfig'. From what I can sus out, it records programs that were installed and mounted through cloop right? During halt, these loop filesystems are unmounted and the entries are removed from our file called 'mydsl', or rather replaced by the word 'free'. Now already I could have been talking absolute bollocks so far, but that's what I've been able to figure out so far.

Now, my 'mydsl' file was being filled with garbage, keeping the machine from shutting down by stalling on one of these loop unmounts with an error message in the region of, and I misqoute, "/dev/cloopX: no such file or directory." and something in the region there of putting some media so we can mount and unmount. I have to mention here that the X is an integer that increments by 64 every shutdown. To get passed it press <enter>.

So, I thought, easy one, some garbage was dumped in 'mydsl' clearing all that should solve the problem right?....erm....no.

Although the machine now halts normally, the word 'free' is still appended 64 timed at the end of 'mydsl' curtesy of '/etc/init.d/dsl-config lines 156-159.....

156 LIMIT=64
157 for (( c=1; c <= LIMIT; c++ )); do
158   echo "free" >> /etc/sysconfig/mydsl
159 done

Well, it's here where things fall apart for me, because, as you may have gathered, I know nothin' 'bout nothin'. So how does this all work? Will 'mydsl' just grow until I run out of disk space? Is there something else supposed to be in my 'mydsl' file? Should it even be there?

Well, if you've read this far, I really appreciate your patience, and I really hope I haven't babbled too much and confused things.

I won't bother with my hardware specs, guess it won't help, but it may help if I say I'm runnung DSL current.

Many, many, many thanks!

Posted by roberts on Mar. 28 2006,02:49
Must be the dreaded traditional hard drive install.
Which, quite honestly, is barely tested.

Easy fix, just add

> /etc/sysconfig/mydsl
Just before the section of code you mentioned.

Thanks for reporting, it will be fixed.

Posted by cvt on Mar. 28 2006,07:50
Mant thanks and keep up the good work!
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.