NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/46743: newfs_msdos produces filesystems that fsck_msdos does not like
>Number: 46743
>Category: bin
>Synopsis: newfs_msdos produces filesystems that fsck_msdos does not like
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 24 20:35:00 +0000 2012
>Originator: Christos Zoulas
>Release: NetBSD 5.99.59
>Organization:
Entropists Anonymous
>Environment:
System: NetBSD rebar.astron.com 5.99.59 NetBSD 5.99.59 (GENERIC) #7: Fri Dec 30
15:19:49 EST 2011
christos%rebar.astron.com@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
amd64
Architecture: x86_64
Machine: amd64
>Description:
As mentioned on the command line
>How-To-Repeat:
[4:22pm] 2534>dd if=/dev/zero of=msdos seek=31259071 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.001 secs (512000 bytes/sec)
[4:22pm] 2535>su -m
[4:22pm] 2507#vnconfig vnd0 msdos
[4:22pm] 2508#newfs_msdos /dev/rvnd0d
/dev/rvnd0d: 31251392 sectors in 488303 FAT32 clusters (32768 bytes/cluster)
MBR type: 11
bps=512 spc=64 res=32 nft=2 mid=0xf0 spt=32 hds=64 hid=0 bsec=31259072
bspf=3815 rdcl=2 infs=1 bkbs=2
[4:23pm] 2509#fsck_msdos /dev/rvnd0d
** /dev/rvnd0d
** Phase 1 - Read and Compare FATs
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
Free space in FSInfo block (-1) not correct (488302)
fix? [yn] y
Next free cluster in FSInfo block (2) not free
fix? [yn] y
1 files, 3042752 free (488302 clusters)
[4:23pm] 2510#
>Fix:
?
Home |
Main Index |
Thread Index |
Old Index