234 reputation
1211
bio website
location
age 30
visits member for 2 years, 1 month
seen Oct 13 at 8:20

Lucky those who have knowledge to help and assist others :)


Oct
8
awarded  Supporter
Oct
8
awarded  Editor
Oct
8
revised Create .img of a disk from command line?
added information
Oct
8
answered Create .img of a disk from command line?
Oct
8
comment Why bind-mount /var/tmp to /tmp?
@DevSolar Your suggestion about the option for an individual partition provokes an additional reason for the OP's question. /tmp might reside on a faster device as the / root filesystem (and by this also the /var directory) and the of the given fstab line wanted to have any temporary data using the same (i.e. faster) device as /tmp. Possibly there are still some other conceivable reasons we have not thought about. If you can find one that is in very closely linked to the /var/tmp and /tmp directories I'd be glad to learn.
Oct
8
comment Why bind-mount /var/tmp to /tmp?
@DevSolar Of course the answer is only one suggested motive for bind-mounting /var/tmp to tmp. The /etc/fstab code of the OP contained the nosuid,noexec and nodev flags and this suggested the motive which I presented as one potential reason. Consider that /tmp and /var/tmp are likely places where attackers might have write access. Therefore bind-mounting the directory can tighten security a bit more. This is why I used bind-mounts.
Sep
23
awarded  Teacher
Sep
23
answered Why bind-mount /var/tmp to /tmp?