Difference between revisions of "Mount"
From Useful Things
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
== 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/destinationoffset offset (to partition) in bytes
mount -ousername=user,noperm //192.168.2.2/share /mnt/mountpointnoperm client does not do permission checks