On 06/26/2012 03:00 PM, Darrel wrote:
On OpenBSD50:
14:25:44 # cat /etc/fstab
bb128e900f20094a.b none swap sw
bb128e900f20094a.a / ffs rw 1 1
#bb128e900f20094a.d /altroot ffs xx 0 0
/dev/wd0d /altroot ffs xx 0 0
bb128e900f20094a.k /home ffs rw,nodev,nosuid 1 2
bb128e900f20094a.e /tmp ffs rw,nodev,nosuid 1 2
bb128e900f20094a.g /usr ffs rw,nodev 1 2
bb128e900f20094a.h /usr/local ffs rw,nodev 1 2
bb128e900f20094a.j /usr/obj ffs rw,nodev,nosuid 1 2
bb128e900f20094a.i /usr/src ffs rw,nodev,nosuid 1 2
bb128e900f20094a.f /var ffs rw,nodev,nosuid 1 2
14:25:48 # cat /etc/daily.local
ROOTBACKUP=1
- from daily output:
Backing up root=/dev/rwd0a to /dev/rwd0d:
51201+0 records in
51201+0 records out
419438592 bytes transferred in 39.258 secs (10684094 bytes/sec)
** /dev/rwd0d
** Last Mounted on /
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1868 files, 27880 used, 172839 free (151 frags, 21586 blocks, 0.1%
fragmentation
)
MARK FILE SYSTEM CLEAN? yes
***** FILE SYSTEM WAS MODIFIED *****
However:
14:29:38 # ls -a /altroot
. ..
right. its not mounted.
Perhaps I should have changed /etc/fstab?; like this:
no.
bb128e900f20094a.a / ffs rw 1 1
/dev/wd0a / ffs rw 1 1
#bb128e900f20094a.d /altroot ffs xx 0 0
/dev/wd0d /altroot ffs xx 0 0
Kind regards,
Darrel
definitely not.
All is working properly, do not "fix" it, you can only break it at this
point.
dd'ing a file system is very brute-force-ish. dd off a live file system
(as the ALTROOT process does) can give you some issues (hence the fsck
afterwards), dd'ing TO a live file system...well, let's just leave it at
"ick".
There's no problem here. IF you want something off /altroot, mount it
manually, extract it, and unmount it.
Nick.