Re: newfs and mount vs. half-baked disks

From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 11/13/03

  • Next message: Jacques A. Vidrine: "__TIME_MIN/__TIME_MAX"
    To: Peter Jeremy <PeterJeremy@optushome.com.au>
    Date: Thu, 13 Nov 2003 08:14:42 +0100
    
    

    In message <20031113064251.GB39616@cirb503493.alcatel.com.au>, Peter Jeremy wri
    tes:
    >On Wed, Nov 12, 2003 at 09:56:14AM +0100, Poul-Henning Kamp wrote:
    >>It might not be a bad idea to store the relevant magics in a
    >>/etc/ufs.conf file, but there are some details about device vs.
    >>media/filesystem identification in particular in context of dynanic
    >>devices to that must be worked out.
    >
    >How do you handle the situation when the master superblock on / is
    >hosed and you need to find the filesystem parameters (in
    >/etc/ufs.conf) before you can access /?

    I usually take great care to always newfs / with default parameters,
    because then I can use newfs -N /dev/ad0a to see where the superblocks
    are to be found.

    >If the BSD-style disklabels are going away, at least the root
    >parameters need to be in the boot blocks or somewhere similar.

    Sure, send a patch.

    -- 
    Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
    phk@FreeBSD.ORG         | TCP/IP since RFC 956
    FreeBSD committer       | BSD since 4.3-tahoe    
    Never attribute to malice what can adequately be explained by incompetence.
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Jacques A. Vidrine: "__TIME_MIN/__TIME_MAX"