Good day all,
Please indulge me and tell me the answer which is eluding me, probably due to me not using the correct terms in search boxes.
I am content for staff to mount usb pen drives as a normal user,
mount /dev/da0p1
with the devfs rule
add path ‘da*’ mode 0660 group wheel.
What I would really like is to mount using it’s gpt label.
As root I can mount using
mount /dev/gpt/label mountpoint
So the issue would seem to be the rule. What should it be to allow a normal user to mount /dev/gpt/label mountpoint?
Is there more info required to arrive at the required answer?
tl;dr
We work off grid using the cli only. We are a forestry company specialising in Beyond Economic Recovery timber. We are very happy using the cli on refurb hardware and due to proximity to services, even 4g towers, the transfer of data using usb drives has become our norm to the degree that site cabin laptop shutdown scripts simply cp files and directories to mounted drives for the user to bring back to home base where they are mounted and copied onto the users space. Each pen drive has the users name OR work location written on it. The office admin wants to mount the drive by what is scribbled on it. Once a day they will put all 8 drives into a usb hub and process them. They are happy to mount them individually and in reality they are done 1 at a time, or sometimes more, as staff pass through the office. We are running FreeBSD 13 (various versions) on old Samsung nc10 netbooks. We use calcurse, sc and vim and our projects are managed using tree -info of a project directory. KISS.
Please indulge me and tell me the answer which is eluding me, probably due to me not using the correct terms in search boxes.
I am content for staff to mount usb pen drives as a normal user,
mount /dev/da0p1
with the devfs rule
add path ‘da*’ mode 0660 group wheel.
What I would really like is to mount using it’s gpt label.
As root I can mount using
mount /dev/gpt/label mountpoint
So the issue would seem to be the rule. What should it be to allow a normal user to mount /dev/gpt/label mountpoint?
Is there more info required to arrive at the required answer?
tl;dr
We work off grid using the cli only. We are a forestry company specialising in Beyond Economic Recovery timber. We are very happy using the cli on refurb hardware and due to proximity to services, even 4g towers, the transfer of data using usb drives has become our norm to the degree that site cabin laptop shutdown scripts simply cp files and directories to mounted drives for the user to bring back to home base where they are mounted and copied onto the users space. Each pen drive has the users name OR work location written on it. The office admin wants to mount the drive by what is scribbled on it. Once a day they will put all 8 drives into a usb hub and process them. They are happy to mount them individually and in reality they are done 1 at a time, or sometimes more, as staff pass through the office. We are running FreeBSD 13 (various versions) on old Samsung nc10 netbooks. We use calcurse, sc and vim and our projects are managed using tree -info of a project directory. KISS.