Difference between revisions of "Mount"

From Useful Things
Jump to: navigation, search
(Created page with "== Mount disk image == <source lang="bash"> mount -oloop,offset=1048576 image.img /mnt/destination </source>")
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
mount -oloop,offset=1048576 image.img /mnt/destination
 
mount -oloop,offset=1048576 image.img /mnt/destination
 
</source>
 
</source>
 +
<code>offset</code> offset (to partition) in bytes
 +
 +
== Mount CIFS network share ==
 +
<source lang="bash">
 +
mount -ousername=user,noperm //192.168.2.2/share /mnt/mountpoint
 +
</source>
 +
<code>noperm</code> client does not do permission checks

Latest revision as of 14:50, 20 August 2014

Mount disk image

mount -oloop,offset=1048576 image.img /mnt/destination

offset offset (to partition) in bytes

Mount CIFS network share

mount -ousername=user,noperm //192.168.2.2/share /mnt/mountpoint

noperm client does not do permission checks