Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: /etc/sysconfig/mydsl madness., That files getting bigger< Next Oldest | Next Newest >
cvt Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 28 2006,00:07 QUOTE

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!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 28 2006,02:49 QUOTE

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.
Back to top
Profile PM WEB 
cvt Offline





Group: Members
Posts: 2
Joined: Mar. 2006
Posted: Mar. 28 2006,07:50 QUOTE

Mant thanks and keep up the good work!
Back to top
Profile PM 
2 replies since Mar. 28 2006,00:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: /etc/sysconfig/mydsl madness.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code