cvs commit: src/etc rc.initdiskless
Luigi Rizzo
luigi at FreeBSD.org
Sun Dec 3 15:50:30 PST 2006
luigi 2006-12-03 23:50:29 UTC
FreeBSD src repository
Modified files:
etc rc.initdiskless
Log:
- put some common code in a function handle_remount();
- add better checks on non-existing directories to prevent error
messages at run time;
- introduce a function log() to help debugging diskless booting
when things don't work;
- modify the parsing of diskless_remount so you can add mount_nfs
options after the pathname. You could use 'remount' to do something
similar, but this way is more convenient because you don't have to
hardwire the server name in the command.
- document the above.
I have been running the above in a diskless lab since february on RELENG_6.
MFC after: 1 week
Revision Changes Path
1.52 +43 -38 src/etc/rc.initdiskless
More information about the cvs-src
mailing list