https://www.slackwiki.com/index.php?title=USB_Memory_Stick&feed=atom&action=historyUSB Memory Stick - Revision history2024-03-29T06:14:50ZRevision history for this page on the wikiMediaWiki 1.40.0https://www.slackwiki.com/index.php?title=USB_Memory_Stick&diff=199&oldid=prevErik: Copy from old2009-06-06T23:34:15Z<p>Copy from old</p>
<p><b>New page</b></p><div>[[Category:Tips]]<br />
<br />
==IMPORTANT==<br />
<br />
This information primarily applies to Slackware 11.0 and older; if you're using Slackware 12.0 or newer, you probably want to use [[HAL]] instead.<br />
<br />
==Prerequisites==<br />
You must have USB support [[Compiling A Kernel|compiled into the kernel]] or [[Modules|loaded as modules]].<br />
<br />
<br />
==Mounting A USB Memory Stick==<br />
1)Pick/make a mountpoint. (e.g. <code>/mnt/memstick</code>)<br />
<br />
2)Mount the device-<br />
<br />
:If you have an [[fstab]] entry for it: <code>mount <i>mountpoint</i></code><br><br />
::EXAMPLE: <code>mount /mnt/memstick</code><br />
<br />
:Otherwise: <code>mount <i>device mountpoint</i></code><br><br />
::EXAMPLE: <code>mount /dev/sda1 /mnt/memstick</code><br><br />
:: <b>NOTE:</b> if you have multiple USB devices or Sata/SCSI disks, the device may not be <code>/dev/sda1</code>, it could be <code>/dev/sdb1</code>, <code>/dev/sdc1</code> or any <code>/dev/sd*</code>.<br />
<br />
* you can see which devfile (in /dev/*) some devices get assigned by tracking the /var/log/messages (dmesg) changes.<br />
$ su <br />
# tail -f /var/log/messages<br />
<br />
and plug the USB device in the computer. This can be used for any other plug'n'play device.<br />
<br />
<br />
==Unmounting a USB Memory Stick==<br />
<code>umount <i>mountpoint</i></code><br />
<br />
:EXAMPLE: <code>umount /mnt/memstick</code><br />
<br />
==Errors and Solutions==<br />
Error: <code>mount: special device /dev/sda<i>x</i> does not exist</code><br />
<br />
Solution: Check to see if <code>/dev/sda<i>x</i></code> exists-<br />
::::<code>ls /dev/sda*</code><br />
::if <code>/dev/sda<i>x</i></code> does not exist, create it:<br />
::::<code>mknod -m 666 /dev/sda<i>x</i> b 8 0</code></div>Erik