trr
27 October 2023 16:49
1
hi
i want to mount a storage HDD into a specific folder. how to create this folder that files on HDD would be accessible for r/w through samba but specific folder itself would not be able to be deleted or edited. would that be a viable option?
folder would be in /home/“name of folder”/
thanks
Wollie
27 October 2023 16:52
2
You can create the folder, take ownership and then mount it, depending on the file system of the partition. /home/$USER sub-folder would be fine, for example. It’s worth to look into these tutorials as they contain a lot of valuable information.
Difficulty: ★★☆☆☆
1. INTRODUCTION
Microsoft Windows started its life as a graphical user interface on top of MS-DOS, a 16-bit single-user, single-tasking operating system that in turn originated as 86DOS, an unauthorized 16-bit rewrite (by Tim Paterson of Seattle Computer) of Digital Research’s originally 8-bit CP/M operating system. Both CP/M and MS-DOS were at the time developed for computers that did not support any other storage media than floppy disks.
Considering this legacy, Microso…
Make a permanent mountpoint.
Linux Foundation Refererence
The FHS document has a limited scope:
Local placement of local files is a local issue, so FHS does not attempt to usurp system administrators.
FHS addresses issues where file placements need to be coordinated between multiple parties such as local sites, distributions, applications, documentation, etc.
So for the sake of this article there is no standard as we are talking about Local placement of local files is a local issue and …
Difficulty: ★☆☆☆☆
Disk device recognition
Manjaro uses udev (see Arch Wiki ) to load devices at boot time. The loading of devices is arbitrary and therefore you cannot predict which device will be available at a given path.
But static device names do exist and you can assign specific locations to your device and thus ensure e.g. scripts will work as expected.
What to learn
Overview of system mount units
Structure and Content of a mount unit
Mount at boot (immediate mount)
Mount on demand (mou…
1 Like
system
Closed
29 October 2023 16:36
3
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.