In order to mount the device you need to know the path to the device node, there are at least two ways of finding out:

In order to mount the device you need to know the path to the device node, there are at least two ways of finding out:

−

*if the partition you want to mount has a label search in {{Filename|/dev/disk/by-label}}

+

*if the partition you want to mount has a label search in {{Filename|/dev/disk/by-label}}, if not look in {{Filename|/dev/disk/by-id/}} for devices starting with usb, the usable partitions will end with -part#

−

*look in {{Filename|/dev/disk/by-id/}} for devices starting with usb, the usable partitions will end with -part#

+

*running fdisk -l as root lists all available partition tables

*search in the output of {{Codeline|dmesg}} for the kernel device name, you can use {{Codeline|grep}} to help you find what you are looking for: {{Codeline|<nowiki>dmesg | grep -e "sd[a-z]"</nowiki>}}

*search in the output of {{Codeline|dmesg}} for the kernel device name, you can use {{Codeline|grep}} to help you find what you are looking for: {{Codeline|<nowiki>dmesg | grep -e "sd[a-z]"</nowiki>}}

{{Note|If you can't find your device you can use lsusb to verify that it is indeed recognized by the system.}}

{{Note|If you can't find your device you can use lsusb to verify that it is indeed recognized by the system.}}

Revision as of 17:48, 6 June 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Auto-mounting of USB devices

Manual mounting

Note: Before you decide that your Arch Linux doesn't mount your USB device, be sure to check all available ports. Since some might not share the same controller, and will then not be able to mount the device.

Getting a kernel that supports usb_storage

If you do not use a custom-made kernel, you are ready to go, for all Arch Linux stock kernels are properly configured. If you do use a custom-made kernel, ensure it is compiled with SCSI-Support, SCSI-Disk-Support and usb_storage. If you use the latest udev, you may just plug your device in and the system will automatically load all necessary kernel modules. Older releases of udev would need hotplug installed too. Otherwise, you can do the same thing manually:

# modprobe usb-storage
# modprobe sd_mod (only for non SCSI kernels)

Mounting USB memory

In order to mount the device you need to know the path to the device node, there are at least two ways of finding out:

if the partition you want to mount has a label search in Template:Filename, if not look in Template:Filename for devices starting with usb, the usable partitions will end with -part#

The flush option for mounting vfat has been added since kernel 2.6.19 as a replacement to async. It basically makes data to flush more often, thus making copy dialogs or progress bars to stays up until things are on the disk. [1]
If you would like to utilize the flush option, add the following line to your Template:Filename file: