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 Sat 02 Aug 2014, 02:54
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 [1 Post]  
Author Message
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Mon 02 Nov 2009, 20:28    Post subject:  Stoage device existance question
Subject description: 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.
But....
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 from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0344s ][ Queries: 11 (0.0031s) ][ GZIP on ]