Ubuntu Desktops transparently make available the files on a USB drive as a folder on the user's desktop. But with Ubuntu server and no GUI, the same can appear challenging. However, Ubuntu makes it really easy:
All you do is plug in the device as usual. Ubuntu may display some logging on the current console to indicate USB registration. Now if you want the files and folders in the drive to appear in folder called called '/test' under your home folder - simply do the following:
mount /usr/dev/sda1 /test (provided "/test" exists on your system.)
Another option is to try the following:
ls /media
If your USB hard drive had been correctly inserted and registered, you should see under media, a list of the currently inserted USB devices including the one you want to access, as folders. You can simply change directories and access files under the relevant folder
No comments:
Post a Comment