On Mon, Apr 22, 2002 at 10:40:44AM +0300, Danny Braniss wrote:
> Since im very interested in diskless/dataless, and i've been at it for some
> time now, i made some changes to libstand/bootp.c and /etc/rc.diskless1
> which i wouldn't mind receiving commnets/suggestions, and if possible
> incorporated.
> 
> the stuff is in:
>       ftp://ftp.cs.huji.ac.il/users/danny/freebsd/diskless-boot/

I'll commit this to rc.diskless1

    +if [ -z "`hostname -s`" ]; then
    +        hostname=`kenv dhcp.host-name`
    +        hostname $hostname
    +        echo "Hostname is $hostname"
    +fi

BUT you've missed the point with this point:
    +else
    +        mount_md 4096 /conf/etc 0
    +        chkerr $? "MFS mount on /conf/etc"
    +        mount -t unionfs /conf/etc /etc
    +        /bin/chmod 755 /etc
    +        find /etc > /dev/null
    +        touch /etc/.sentinel

That being that some of us actually WANT /etc to be left the fsck alone.
We NFS mount / and that / has /etc as it should be.  I also cannot follow
what you are trying to do with /etc/conf.  Perhaps you could comment that
part?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to