On Sun, 16 Aug 2009, Igor Sobrado wrote:

Is it correct string for /etc/fstab? "/dev/wd2d /altroot ffs xx 0 0"

same device i am using here ("a" for root, "b" for swap, "c" entire
disk, "d" for /altroot, and so on...)

just two advices: (1) the /altroot filesystem must have the same size
He have.
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd2a      223M   58.3M    153M    28%    /
/dev/wd2d      223M   58.3M    153M    28%    /altroot

Wow, now I'm sure - backup happens here. But silencely...

as the root ("a") one (it may be slightly larger on architectures
where root does not start at the beginning of the disk, like i386);
(2) as Philip suggests you must read daily(8) to know how enabling
back up of the root filesystem. my personal choice is setting
ROOTBACKUP to "1" by hand and then run /etc/daily, this way /altroot
will survive in case a mistake in the root filesystem remains
unnoticed for more than twenty four hours.

Should "df" display the "/altroot"?

Only if you mount it yourself. It is not normally mounted and
therefore does not appear in 'df' output. (No point in displaying it,
what with it being a duplicate of the root filesystem)

indeed, filesystems with "xx" as mount option are never mounted on
boot.  it is a backup filesystem -- automatically mounting it is a bad
idea.

--
4625

Reply via email to