> The space issue... > I need to mount my HDD with execute permission. > (BTW, back in Win10 now) > I got as far as > 'sudo mount /dev/sdb2 -o exec,w' > ...but /dev/sdb2 isn't in etc/fstab or etc/mtab > ...until I mount it by clicking on it and mounting rather than using the terminal > ...at which point I can't mount it because it's mounted already > ...without the permissions it needs to have.
Unix is user friendly, it's just picky about who its friends are. It likes friends that actually try to read the docs. Like this one: The standard form of the mount command is:
mount -t type device dir
This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device.
If only the directory or the device is given, for example:
mount /dir
then mount looks for a mountpoint (and if not found then for a device) in the /etc/fstab file. It's possible to use the --target or --source options to avoid ambivalent interpretation of the given argument. For example:
mount --target /mountpoint
|