summaryrefslogtreecommitdiff
path: root/sysutils/mkmemstick/DESCR
diff options
context:
space:
mode:
authorgson <gson>2011-10-13 16:01:06 +0000
committergson <gson>2011-10-13 16:01:06 +0000
commitd2b41d600b9043ee4e719f7e3c197c1b55513a92 (patch)
tree95f522f6deec4c0155efde9835f1502ae8227d61 /sysutils/mkmemstick/DESCR
parent282393fe9ee7830461e5b0bcf2d03cb3cd01dfe1 (diff)
downloadpkgsrc-d2b41d600b9043ee4e719f7e3c197c1b55513a92.tar.gz
Preserve file permissions when copying files from the ISO to the
memory stick image, because otherwise recent NetBSD versions that use root on cd9660 instead of a ramdisk won't boot. This is currently implemented by using a vnd mount instead of isoinfo -x to extract the ISO contents. This solution is less than ideal since it requires root permissions and will fail if vnd0 is already in use. Still, it's better than not working at all. OK'd by agc.
Diffstat (limited to 'sysutils/mkmemstick/DESCR')
-rw-r--r--sysutils/mkmemstick/DESCR4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/mkmemstick/DESCR b/sysutils/mkmemstick/DESCR
index 128806aeedb..e611779c089 100644
--- a/sysutils/mkmemstick/DESCR
+++ b/sysutils/mkmemstick/DESCR
@@ -7,11 +7,11 @@ convert it to an image that can be written to a USB memory stick.
To use the script, simply feed it an ISO and tell it where to write
the resulting image:
-$ sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img
+# sh mkmemstick.sh i386cd-5.0.1.iso i386memstick-5.0.1.img
The resulting image can be written to a memory stick using dd(1):
-$ dd if=i386memstick-5.0.1.img of=/dev/sd0d
+# dd if=i386memstick-5.0.1.img of=/dev/sd0d
Please note that this script depends on the sysutils/cdrtools package
for extracting the contents of the release ISO.