Date: Wed, 20 Jan 1999 14:03:21 -0500 (EST) From: John Baldwin <jobaldwi@vt.edu> To: freebsd-small@FreeBSD.ORG Subject: Works now... Message-ID: <XFMail.990120140321.jobaldwi@vt.edu>
next in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.3.p0.FreeBSD:990120134237:29183=_ Content-Type: text/plain; charset=us-ascii -----BEGIN PGP SIGNED MESSAGE----- Hi all, I added a few programs to my crunch and now write_mfs_in_kernel doesn't complain anymore. Since I've been rebuilding a custom floppy numerous times while testing, I wrote the attached patch that checks for an existing custom (it does assume it is a softlink to another directory) config and asks the user if they would like to use that instead of the other one. It also fixes an obscure bug where if you created the custom symlink when it already existed then a link consisting of the last part of the destination in the destination directory. Example: suppose ../custom is pointing at /blah/floppy, when ../custom is relinked with ln -sf.. ../custom stays the same, but in /blah/floppy, a link floppy is created that is a softlink to /blah/floppy. Anyways, this fixes that as well as adding the aforementioned functionality. - --- John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNqYjnbaE8XzBCodNAQEUbQP/WfEyPObSislbFHF7L0LZGNKHGL1i5hdi y48r7wzPajxc/DbJZd0VUH/sLdaE9j+9ioTfKnYdGvVyuZQFJSeGQZAU8DLrX2ce V5bjopqlgR/DnFLU4GzZw6Avqrg4dRH6hsGFcYnjWK/UpDS9o4xPIlsZ/kZ7Nv+W 39SQ/DOt/ww= =mX+9 -----END PGP SIGNATURE----- --_=XFMail.1.3.p0.FreeBSD:990120134237:29183=_ Content-Disposition: attachment; filename="build.patch" Content-Transfer-Encoding: base64 Content-Description: build.patch Content-Type: application/octet-stream; name=build.patch; SizeOnDisk=990 LS0tIGJ1aWxkLm9yaWcJV2VkIEphbiAyMCAxMzoyNzozNSAxOTk5CisrKyBidWlsZAlXZWQgSmFu IDIwIDEzOjQwOjM3IDE5OTkKQEAg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oY2QgLi47IGxuIC1zZiAke0NVU1RfRElS fSBjdXN0b20pCisJCWZpCiAJZmkKIAlpZiBbICJYJHtUWVBFfSIgPSAiWGRpYWwiIC1hICJYJHtJ TklUfSIgPSAiWCIgXQogCXRoZW4K --_=XFMail.1.3.p0.FreeBSD:990120134237:29183=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990120140321.jobaldwi>