Hot answers tagged mount
Ophir, I don't know how to achieve what you are asking for, but I do have advice for you :) When you are preparing a mount point set its permissions to the strictest possible mask. Mount your filesystem to the mount point and set permissions on the mount point (with mounted filesystem) to the desired set. Let me illustrate: # mkdir -m0 /mnt/mountpoint # ...
I recommend you not try a design like this unless you are using a very recent Linux system which has completed the /usr move. You'll run into a variety of issues otherwise, the primary one being that packaged binaries are split between the shared filesystem and the unique per-machine filesystems. This completely negates any benefit you may have been aiming ...
If the disk image actually has a partition table, you can use kpartx to examine and/or mount it. To view: kpartx -l g5_boot.img To mount: kpartx -a g5_boot.img If the drive was GPT formatted, you may need to add the -g option.
Only top voted, non community-wiki answers of a minimum length are eligible