Difference between revisions of "Mount"

From Useful Things
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Common options ==
 
<code>noperm</code> client does not do permission checks
 
 
 
== Mount disk image ==
 
== Mount disk image ==
 
<source lang="bash">
 
<source lang="bash">
 
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 ==
 
== Mount CIFS network share ==
Line 11: Line 9:
 
mount -ousername=user,noperm //192.168.2.2/share /mnt/mountpoint
 
mount -ousername=user,noperm //192.168.2.2/share /mnt/mountpoint
 
</source>
 
</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