The following reply was made to PR system/6487; it has been noted by GNATS.

From: Stuart Henderson <[email protected]>
To: "Jiri B." <[email protected]>
Cc: [email protected]
Subject: Re: system/6487: fsck not accepting disklabel uid
Date: Thu, 14 Oct 2010 21:53:53 +0100

 On 2010/10/14 21:51, Jiri B. wrote:
 >     Architecture: OpenBSD.i386
 >     Machine     : i386
 > >Description:
 >     fsck doesn't accept disklabel uid although fsck_ffs does, this is problem
 >     for /etc/rc and other tools (upgrade via bsd.rd) which use fsck...
 
 This works iff you list the partition by uid in /etc/fstab, e.g.
 
 $ uid=d3f6b8c752d5141a.a
 $ grep $uid /etc/fstab
 d3f6b8c752d5141a.a / ffs rw 1 1
 $ fsck -f $uid
 ** /dev/wd0a (d3f6b8c752d5141a.a) (NO WRITE) 
 ** Last Mounted on /
 ** Root file system
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 4270 files, 57007 used, 21613 free (1093 frags, 2565 blocks, 1.4% 
fragmentation)
 
 If the fstab entry uses /dev/Xd0a format then it fails as reported.

Reply via email to