summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/msdosfsmount.h
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2003-08-12 20:06:56 +0000
committertrhodes <trhodes@FreeBSD.org>2003-08-12 20:06:56 +0000
commit0c5ae3a9aac8cffa88278be425a520abf7ccb5c4 (patch)
tree3c2fc714329283a20ad88a038c936261060715ba /sys/fs/msdosfs/msdosfsmount.h
parent4d5096698133f049690d975b46c1a8d74b319e25 (diff)
downloadFreeBSD-src-0c5ae3a9aac8cffa88278be425a520abf7ccb5c4.zip
FreeBSD-src-0c5ae3a9aac8cffa88278be425a520abf7ccb5c4.tar.gz
Add a '-M mask' option so that users can have different
masks for files and directories. This should make some of the Midnight Commander users happy. Remove an extra ')' in the manual page. PR: 35699 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> (original version) Tested by: simon
Diffstat (limited to 'sys/fs/msdosfs/msdosfsmount.h')
-rw-r--r--sys/fs/msdosfs/msdosfsmount.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/fs/msdosfs/msdosfsmount.h b/sys/fs/msdosfs/msdosfsmount.h
index a3bb34f..d525771 100644
--- a/sys/fs/msdosfs/msdosfsmount.h
+++ b/sys/fs/msdosfs/msdosfsmount.h
@@ -65,7 +65,10 @@ struct msdosfsmount {
dev_t pm_dev; /* block special device mounted */
uid_t pm_uid; /* uid to set as owner of the files */
gid_t pm_gid; /* gid to set as owner of the files */
- mode_t pm_mask; /* mask to and with file protection bits */
+ mode_t pm_mask; /* mask to and with file protection bits
+ for files */
+ mode_t pm_dirmask; /* mask to and with file protection bits
+ for directories */
struct vnode *pm_devvp; /* vnode for block device mntd */
struct bpb50 pm_bpb; /* BIOS parameter blk for this fs */
u_long pm_BlkPerSec; /* How many DEV_BSIZE blocks fit inside a physical sector */
@@ -210,7 +213,8 @@ struct msdosfs_args {
struct export_args export; /* network export information */
uid_t uid; /* uid that owns msdosfs files */
gid_t gid; /* gid that owns msdosfs files */
- mode_t mask; /* mask to be applied for msdosfs perms */
+ mode_t mask; /* file mask to be applied for msdosfs perms */
+ mode_t dirmask; /* dir mask to be applied for msdosfs perms */
int flags; /* see below */
int magic; /* version number */
u_int16_t u2w[128]; /* Local->Unicode table */
OpenPOWER on IntegriCloud