SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems that the "mount" command does not print all options used for a given mountpoint. Try the "findmnt" command or "cat /proc/mounts" to check options in use.
Last edited by lecho; 09-14-2018 at 07:21 AM.
Reason: typo
What is it that you want to do and why?
Do you want to set specific permissions or charset for one drive?
What functionality is it that you are missing
Thank you all very much for the replies. I was just curious about how to set this default rule. It may well be in udev, indeed. I know how to set the default options in fstab or on the command line as root, no problem with that. I would like to tweak my Slack o behave like that. I will search a bit further and check Leap 15 rules.
Didier, I would like to know it out of curiosity only. Suppose I want to set the default page to iso8859-15 with the euro sign. I would like to know how to do it. Just for the sake of knowing it.
Didier, I would like to know it out of curiosity only. Suppose I want to set the default page to iso8859-15 with the euro sign. I would like to know how to do it. Just for the sake of knowing it.
Some of them are set in the kernel. I don't have a modern config in front of me, but I was able to extract this from an old page at the ArchWiki (it has since been merged with other articles and that information no longer resides on the current article).
Leap might also have a script when calling mount.vfat to specify specific options (also found on that ArchWiki page).
Code:
/usr/bin/mount.vfat
#!/bin/bash
#mount VFAT with full rw (read-write) permissions for all users
#/usr/bin/mount -i -t vfat -oumask=0000,iocharset=utf8 "$@"
#The above is the same as
mount -i -t vfat -oiocharset=utf8,fmask=0000,dmask=0000 "$@"
Did you try the `findmnt' command as @lecho suggested?
If I do that I find that a vfat device is actually mounted with the same default options as Leap, it's just that the `mount' command doesn't show them by default.
Did you try the `findmnt' command as @lecho suggested?
If I do that I find that a vfat device is actually mounted with the same default options as Leap, it's just that the `mount' command doesn't show them by default.
I did it and in fact the options are there. Now I know that there are some places to set the default parameters. Thanks a lot !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.