Aloha,
I want to add a couple of more things to my Floppy creator. here is what I want it to do..
1.) Check if the floppy is mounted, and where, then pass that to the rest of the program. For example, sometimes it comes up at /dev/sde othertimes /dev/sdb etc...
2.) Unmount the floppy if it is mounted else, move on. If then structure..
3.) fdisk the floppy inside the program so no need to do prior to. Can you fdisk with one line instead of interactively? Echo out that it is done.
4.) Format the floppy ext2. Maybe put a label? Have to look into this. No need for vfat...I don't use windows anymore. Echo out that format is complete.
5.) Mount the floppy.
6.) Change the owner.
7.) Change the permissions. Echo out that floppy has been setup for me.
8.) Unmount the floppy.
9.) Echo a completion message.
Mahalo,
Edward
Monday, May 28, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment