Floppy/Zip problems

This is a discussion on Floppy/Zip problems within the Linux Programming forums, part of the Platform Specific Boards category; I know this is a programming board but I've looked all over and asked all over and I couldn't find ...

  1. #1
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175

    Floppy/Zip problems

    I know this is a programming board but I've looked all over and asked all over and I couldn't find an answer to this problem. I thought I'd try the experts over here....

    I have Mandrake 8.2 installed and I am having the same problems with both my Zip drive and my floppy drive. They are both mounted fine and all but when I remove any files from either of them, the disk space the files took is not freed. So if I fill up a 100mb zip disk and then delete everything on it, it still says it contains 100/100mb of free space. I've searched everywhere for how do fix this but I haven't found anyone else with this problem.

    Thanks.

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    18
    Linux doesn't commit it's filesystem changes right away. This is very obvious when using removable media. You could try issuing the command "update" from a shell to force a filesystem flush. You can also unmount/remount the drive to force the flush.
    I doubt, therefore I might not be

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    you should ALWAYS unmount the drive before removing the media from the drive. This will force synchronization between the filesystem records, and what is actually contained on the disk. This goes for writeable media (like floppies) as well as for read only media (like a cdrom).

    Consequently, this is the same reason why you should use the shutdown command instead of turning the power off, as shutdown will unmount all of the mounted drives, including your hard drive, and make sure that everything is synced up.

    Just in case you don't know how, to unmount a floppy, issue the command:

    umount /mnt/floppy

    or whatever else your floppy mount point may be. The same goes for your zip drive. I think you can do this is GNOME by right-clicking on the floppy icon, but I'm not sure about that.

    starX
    www.axisoftime.com
    ---------------
    starX
    www.axisoftime.com

  4. #4
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Hmm.... I tried that and it didn't work. I did both 'update' and unmounted it and I've still got the same problem. I haven't tried it with a floppy yet, but I assume it would be the same.
    Last edited by JasonLikesJava; 06-12-2002 at 10:16 AM.
    OS: Linux Mandrake 9.0
    Compiler: gcc-3.2
    Languages: C, C++, Java

    If you go flying back through time and you see somebody else flying forward into the future, it's probably best to avoid eye contact.

  5. #5
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    I'll try it with a floppy and see what happens.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  2. C Pointers Problems
    By mhelal in forum C Programming
    Replies: 8
    Last Post: 01-10-2007, 05:35 AM
  3. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 04:48 PM
  4. contest problems on my site
    By DavidP in forum Contests Board
    Replies: 4
    Last Post: 01-10-2004, 08:19 PM
  5. DJGPP problems
    By stormswift in forum C Programming
    Replies: 2
    Last Post: 02-26-2002, 03:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21