Re: Is this normal floppy behavior?

2023-01-07 Thread Martin Husemann
On Sat, Jan 07, 2023 at 12:52:13PM +0100, Havard Eidnes wrote: > > Now, of course, wouldn't be nice if 'umount' said something like "hey > > dude! you're in the directory you're trying to umount." > > That's what e.g. "fstat /a" can tell you. Indeed, and that gives you full information - a

Re: Is this normal floppy behavior?

2023-01-07 Thread Havard Eidnes
> Now, of course, wouldn't be nice if 'umount' said something like "hey > dude! you're in the directory you're trying to umount." That's what e.g. "fstat /a" can tell you. Regards, - HÃ¥vard

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
> It could also be that some program is still running which has a file in > /a open. That would also explain why the space is still shown as > allocated. No other files were open; it was preceded by an "*rm -rf /a/**" cmd. But even after doing that, umounting it, and re-mounting it, I find:

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
>> *# umount /a >> umount: /a: Device busy* > Fascinating, from what you wrote you might still "be" in /a Whoops! Trying to minimize arguments, locations, attempts. Now, of course, wouldn't be nice if 'umount' said something like "hey dude! you're in the directory you're trying to umount."

Re: Is this normal floppy behavior?

2023-01-05 Thread gary
> On 1/5/23 21:32, Michael Cheponis wrote: >> fascinatingly, now, when I try to "umount" the filesystem: >> >> *# umount /a >> umount: /a: Device busy* > > Fascinating, from what you wrote you might still "be" in /a > > regards, > chris > It could also be that some program is still running

Re: Is this normal floppy behavior?

2023-01-05 Thread Christian Groessler
On 1/5/23 21:32, Michael Cheponis wrote: fascinatingly, now, when I try to "umount" the filesystem: *# umount /a umount: /a: Device busy* Fascinating, from what you wrote you might still "be" in /a regards, chris

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
> Did you type sync and wait? Not originally; but I just tried it, and doing "sync" and waiting 2 hours produces no difference. *# sync* *# echo wait 2 hours* *wait 2 hours* *# df -h /a Filesystem Size Used Avail %Cap Mounted on/dev/sd2a 1.4M 529K

Re: Is this normal floppy behavior?

2023-01-05 Thread Greg Troxel
Michael Cheponis writes: > There are a bunch of files on the floppy when mounted; I delete them all; > but then, there is a large amount of 'used' space! unmounting + > remounting 'fixes' this problem. Did you type sync and wait?

Is this normal floppy behavior?

2023-01-04 Thread Michael Cheponis
There are a bunch of files on the floppy when mounted; I delete them all; but then, there is a large amount of 'used' space! unmounting + remounting 'fixes' this problem. *# mount_msdos /dev/sd2a /a* *# ls -l /atotal 2drwxr-xr-x 1 root wheel512