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
> 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
> 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:
>> *# 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."
> 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
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
> 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
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?
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