LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-09-2003, 11:26 PM   #1
mleschis
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
freeing up space on floppy disk


How do I free up disk space on a floppy after I have erased a file from the disk? For example, I erased a 500 Mb file from a floppy, which is now empty, but when I try to save a large file to the same disk, it states that it is full. Any help would be appreciated..

Mark
 
Old 12-09-2003, 11:39 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
k i might be missing something, but we have to get someting straight here, because otherwise i know i personally am unable to answer this without the solution to this question....how do you fit 500megs on a floppy?
 
Old 12-10-2003, 06:10 AM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
I have this problem too (?it might have something to do with supermount on Mandrake). Think it occasionally gets fixed by mkfsvfat?, i.e. making a new file system on the disk.

This is a real bugger of a problem and I too would greatly appreciate an answer.

Last edited by lugoteehalt; 12-10-2003 at 06:22 AM.
 
Old 12-10-2003, 08:12 AM   #4
mleschis
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Oops! Sorry, I meant 500k. Thanks for pointing this out!

Mark
 
Old 12-10-2003, 08:46 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,969

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
By what method are you deleting files? Have you tried using the rm command in a console window?
 
Old 12-11-2003, 08:35 AM   #6
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Hope am not hijacking this thread or something. Am only assuming mine is the same problem as mleschis.

Would normally delete by doing rm /mnt/floppy/filename at the black screen, I should think.

Problem is thing insists the disc is full and so won't put stuff in it. Had assumed it fault of cheap discs or iffy drive but if someone else has the problem then maybe not. It can make making multi-archive backups to floppies almost impossible. Incidentally mkfs?, make filesystem of some kind, often won't work properly.
 
Old 12-11-2003, 09:02 AM   #7
mleschis
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I am not good with all of the linux commands, so I don't use the console very much - I'm a recently converted MSWindows guy. This problem crops up primarily when I delete files using Konqueror (highlight on the file name and press the delete key, or right click on the mouse and select delete from the dialogue box). Can't linux reclaim the residual space left on the floppy after a file is erased? Is there a special command or process for accomplishing this, or is this just the way linux works?

Mark
 
Old 12-11-2003, 09:57 PM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
Linux is normally able to write to and delete files from a floppy the same as Windows, IE space is reclaimed after deletion.
While the floppy is mounted, run "df -h /dev/fd0" in a terminal to see the used and free space.
Occasional reformatting of a floppy is a good idea if it is used a lot.
 
Old 12-12-2003, 04:17 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
My experience with Konqueror suggests other possibilities, too . To avoid problems like these I do the following things (in the order of the desired results):

1. Never go on /mnt/floppy coming from a different device / mount point.

2. Open Konqueror by right-clicking on the floppy's symbol on the desktop and choosing mount (which openes an instance of Konqueror).

3. Do what you have to do .

4. umount

5. Then check results like described above (i.e. goto 2.).

6. Addendum: Konqueror has its surprises (dunno why).

7. Addendum-addendum: It would be nice if you used the User CP to show your distro and version, makes answering sometimes easier and more to the point ... .

Last edited by JZL240I-U; 12-12-2003 at 04:18 AM.
 
Old 12-12-2003, 11:30 PM   #10
mleschis
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for the suggestions so far......

The floppy problems I am encountering occurs with the two linux distributions I am experimenting with: ELX and Mandrake. I understand that both distributions employ “supermount” to access the floppy drive. Even after unmounting the floppy and then placing it into a windows floppy drive, it still shows the space formerly occupied by the deleted file as being unavailable. The only way I can reclaim the space is by formatting the floppy again. Anybody have ideas why this occurs?


Mark
 
Old 12-13-2003, 08:26 AM   #11
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
You might try going to the fstab, 'file system table', file as root and commenting out the supermount line; replacing this line with an ordinary /mnt/floppy line not using supermount, so that floppies would need to be mounted and unmounted with the mount and umount commands.

Does this fix the problem?

(Anyway, is supermount of much utility? It seems to be there solely to make things more Windowy.)

Regret cannot do this myself at present.
 
Old 12-16-2003, 07:49 PM   #12
mleschis
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
(Anyway, is supermount of much utility? It seems to be there solely to make things more Windowy.)

Well, I guess I prefer having the computer do the mounting / unmounting rather than doing it manually. Am I correct in assuming, then, that working with floppies in linux doesn't offer the same functionality as in windows (e.g., being able to simply pop floppies in and out of the drive & recover freed-up space, all in one motion)?

Mark
 
Old 12-17-2003, 02:17 AM   #13
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,674

Rep: Reputation: Disabled
Quote:
Originally posted by mleschis
Well, I guess I prefer having the computer do the mounting / unmounting rather than doing it manually.
Understandably so, after all, that's what the box is used and good for .

Quote:
Originally posted by mleschis
Am I correct in assuming, then, that working with floppies in linux doesn't offer the same functionality as in windows (e.g., being able to simply pop floppies in and out of the drive & recover freed-up space, all in one motion)?
No, the functionalities are the same, with the difference, that you have to umount before popping the floppy medium out (or type "synch" at a console), since you have to flush the write buffers.

Did you try my above suggestions (post #9)?
 
Old 12-17-2003, 04:18 AM   #14
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
It was my understanding that with supermount you could put the floppy in or remove it at whim without mounting or unmounting.

mleschis- when you delete a file the space should immediately be available for something else. If that is not happenening there is a malfunction.

Last edited by lugoteehalt; 12-17-2003 at 04:20 AM.
 
Old 12-17-2003, 04:26 AM   #15
dingding66
Member
 
Registered: Jan 2003
Location: Utah, USA
Distribution: Mandrake 9.2
Posts: 51

Rep: Reputation: 15
Piping in a bit late here... but is this happening with all floppies? Or just one? It could be a disk problem. I use mandrake with supermount and have not had this happen that i've noticed.

Last edited by dingding66; 12-17-2003 at 04:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeing up space hongman Linux - Newbie 7 06-27-2005 02:00 PM
Freeing up some space. How? Rutnut Linux - General 10 06-21-2005 01:00 AM
Boot Disk Floppy NO SPACE montyw47 Linux - Newbie 2 02-08-2004 05:47 AM
Freeing up Space stroudt Linux - General 2 08-28-2003 03:14 PM
Freeing up Space stroudt Red Hat 6 08-28-2003 02:45 PM


All times are GMT -5. The time now is 03:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration