Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Jul 2015, 08:49
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Stoage device existance question
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count_1  
Author Message

Joined: 03 Apr 2007
Posts: 3422
Location: Oregon

PostPosted: Mon 02 Nov 2009, 20:28    Post_subject:  Stoage device existance question
Sub_title: How to icorporate check into GTKdialog script?

This is pertaining to internal floppy disks, but I imagine it could be used for other things.
I recently downloaded a new release of ufiformat-0.9.5 and found that it did not find any USB floppy drives attached to my system even though one was.
I reported the problem and a revised version, ufiformat-0.9.6 was made and soon to be released.

While I was emailing back and forth, I sent him the gtkdialog script I had made and asked his opinion.
He stated that 'killall xmessage' should not have been used as it could interfere with other xmessages, like one that would report arrival of new mail.
He also stated that my script was 'junk' since it did not check for or allow for more than one internal floppy drive or one USB floppy drive.
So if , God forbid, a user of Puppy Linux had a PC with a 3.5 and a 5.25 internal floppy, he could only format the one recognized as fd0.
I could incorporate further checking of the existence of more than one internal floppy by checking for it in /root/.pup-event directory.
I have no internal floppy drives so there is no fd0 listed in /root/.pup-event.
The question here is if I had two internal floppy drives, would both show up there?
I have already had the idea checking for the existence of the file representing said floppy devices and acting accordingly.
Is there really a need for going that far with a floppy formatter?
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0356s ][ Queries: 12 (0.0038s) ][ GZIP on ]