Difference between revisions of "Linux/command/mount"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Linux‎ | command
Jump to navigation Jump to search
m (→‎Reference: example - mounting a disk image)
m (→‎Examples: link to "accessing a disk image...")
Line 5: Line 5:
 
To mount a disk image file:
 
To mount a disk image file:
 
  [[sudo]] [[mount]] -o loop,offset=32256 <u>/path/to/image.img</u> <u>/path/to/mountpoint/directory/</u>
 
  [[sudo]] [[mount]] -o loop,offset=32256 <u>/path/to/image.img</u> <u>/path/to/mountpoint/directory/</u>
 +
See [[Accessing a disk image in Linux]] for the calculations necessary to arrive at "32256".

Revision as of 02:13, 22 February 2006

Template:linux shell commands

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

Reference

Examples

To mount a disk image file:

sudo mount -o loop,offset=32256 /path/to/image.img /path/to/mountpoint/directory/

See Accessing a disk image in Linux for the calculations necessary to arrive at "32256".