FIGURE 23.3 File Manager, showing a removable hard drive.
- Look at the File Manager address bar for the directory that contains the files. Record the
directory name for later use (The directory name in Figure 23.3 is /media/28BE-27DC). - Close the File Manager window.
- Open LXTerminal in the GUI and type in the command ls directory, where directory is the
name of the directory you recorded in step 3. Press Enter. You should see your picture files
(and any other files located there) on your removable hard drive. - Now type mount and press Enter. You should see results similar to those shown in Listing
23.1. When you use the mount command, you can see the device file name that will be used for
the removable drive when it is attached to the Raspberry Pi. (In Listing 23.1, the device file is
/dev/sda1.)
LISTING 23.1 Using mount to Display the Device File Names
Click here to view code image
1: pi@raspberrypi ~ $ mount
2: /dev/root on / type ext4 (rw,noatime,data=ordered)
3: ...
4: /dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,
5: codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
6: /dev/sda1 on /media/28BE-27DC type vfat (rw,nosuid,nodev,relatime,uid=1000,
7: ...
It looks like a bunch of just letters and numbers on the screen, but a couple clues show you the