NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is this normal floppy behavior?



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       895K  37% /a


Some of the 529K is bad sectors  (like 1,024 bytes); but why is 529K  "used" when there are no files there:

# pwd 
/a
arm64# ls -la  
total 1
drwxr-xr-x   1 root  wheel  7168 Jan  1  1980 ./
drwxr-xr-x  32 root  wheel  1024 Dec 29 02:38 ../


fascinatingly, now, when I try to "umount" the filesystem:

# umount /a  
umount: /a: Device busy



This behavior seems incorrect.

On Thu, Jan 5, 2023 at 5:26 AM Greg Troxel <gdt%lexort.com@localhost> wrote:
Michael Cheponis <michael.cheponis%gmail.com@localhost> 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?


Home | Main Index | Thread Index | Old Index